get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2194309/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2194309,
    "url": "http://patchwork.ozlabs.org/api/patches/2194309/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/buildroot/patch/20260208143604.1477756-4-ju.o@free.fr/",
    "project": {
        "id": 27,
        "url": "http://patchwork.ozlabs.org/api/projects/27/?format=api",
        "name": "Buildroot development",
        "link_name": "buildroot",
        "list_id": "buildroot.buildroot.org",
        "list_email": "buildroot@buildroot.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260208143604.1477756-4-ju.o@free.fr>",
    "list_archive_url": null,
    "date": "2026-02-08T14:36:02",
    "name": "[RFC,3/5] Config.in: add BR2_HIDE_SECONDARY_TARGET_OPTIONS",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "94b15a862aa1baa2394402825a598072dd88e469",
    "submitter": {
        "id": 80537,
        "url": "http://patchwork.ozlabs.org/api/people/80537/?format=api",
        "name": "Julien Olivain",
        "email": "ju.o@free.fr"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/buildroot/patch/20260208143604.1477756-4-ju.o@free.fr/mbox/",
    "series": [
        {
            "id": 491421,
            "url": "http://patchwork.ozlabs.org/api/series/491421/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/buildroot/list/?series=491421",
            "date": "2026-02-08T14:35:59",
            "name": "Mark a set of target configurations as secondary",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/491421/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2194309/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2194309/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<buildroot-bounces@buildroot.org>",
        "X-Original-To": [
            "incoming-buildroot@patchwork.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Delivered-To": [
            "patchwork-incoming-buildroot@legolas.ozlabs.org",
            "buildroot@buildroot.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=buildroot.org header.i=@buildroot.org\n header.a=rsa-sha256 header.s=default header.b=K31LtWyt;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org\n (client-ip=2605:bc80:3010::136; helo=smtp3.osuosl.org;\n envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from smtp3.osuosl.org (smtp3.osuosl.org [IPv6:2605:bc80:3010::136])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f89Pn3L1qz1xvc\n\tfor <incoming-buildroot@patchwork.ozlabs.org>;\n Mon, 09 Feb 2026 01:36:45 +1100 (AEDT)",
            "from localhost (localhost [127.0.0.1])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id D9A86607FF;\n\tSun,  8 Feb 2026 14:36:43 +0000 (UTC)",
            "from smtp3.osuosl.org ([127.0.0.1])\n by localhost (smtp3.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id lTN9zAeEe0HL; Sun,  8 Feb 2026 14:36:41 +0000 (UTC)",
            "from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142])\n\tby smtp3.osuosl.org (Postfix) with ESMTP id B8085607D1;\n\tSun,  8 Feb 2026 14:36:41 +0000 (UTC)",
            "from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138])\n by lists1.osuosl.org (Postfix) with ESMTP id 858431A9\n for <buildroot@buildroot.org>; Sun,  8 Feb 2026 14:36:39 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n by smtp1.osuosl.org (Postfix) with ESMTP id 66C288222B\n for <buildroot@buildroot.org>; Sun,  8 Feb 2026 14:36:39 +0000 (UTC)",
            "from smtp1.osuosl.org ([127.0.0.1])\n by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP\n id NONUaHnzQ-jj for <buildroot@buildroot.org>;\n Sun,  8 Feb 2026 14:36:38 +0000 (UTC)",
            "from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4])\n by smtp1.osuosl.org (Postfix) with ESMTPS id 5C30682231\n for <buildroot@buildroot.org>; Sun,  8 Feb 2026 14:36:38 +0000 (UTC)",
            "from home.juju.sh (unknown\n [IPv6:2a01:e0a:1065:2100:52d9:65fe:2df3:c492])\n (Authenticated sender: ju.o@free.fr)\n by smtp4-g21.free.fr (Postfix) with ESMTPSA id 20C8619F5C6;\n Sun,  8 Feb 2026 15:36:31 +0100 (CET)"
        ],
        "X-Virus-Scanned": [
            "amavis at osuosl.org",
            "amavis at osuosl.org"
        ],
        "X-Comment": "SPF check N/A for local connections - client-ip=140.211.166.142;\n helo=lists1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org;\n receiver=<UNKNOWN> ",
        "DKIM-Filter": [
            "OpenDKIM Filter v2.11.0 smtp3.osuosl.org B8085607D1",
            "OpenDKIM Filter v2.11.0 smtp1.osuosl.org 5C30682231"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=buildroot.org;\n\ts=default; t=1770561401;\n\tbh=WcvpqadHvN2u+91Jpdgqri9tOHJL4WPaT+Yz06gQKfU=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\t List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\t From;\n\tb=K31LtWytBWob+eBVUE0YdB7OJyzSWChw/1F/bocifA+Y/rdviiZhcHUsaRLCx55K5\n\t YWdkD3H9/+KhA+TSqxXhOq4ATaq/4sTAHGWQbfZjt+bcI1KbMa0/hlZR57ONE3YH1b\n\t XIdCiUeg6mUnIzFM21MoYjRkmKhXpbj/08bcPKRc5lnswKlKPG9c99QAde2m5wtzDk\n\t vWoX5Ifn7yNF7HkvrBsCj8QnrhJzhTxPmKz5mOcDIB5WveWrvOnmw7QJ0eTfIYGbXz\n\t ljBRoUHtOlgDnt7z10+CWUUPGAem3eWY23LVleK17Y9GU3Aa5Khsw+dOSBmwzB7/EN\n\t qRg2wn52Jd5Qg==",
        "Received-SPF": "Pass (mailfrom) identity=mailfrom; client-ip=212.27.42.4;\n helo=smtp4-g21.free.fr; envelope-from=ju.o@free.fr; receiver=<UNKNOWN>",
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 smtp1.osuosl.org 5C30682231",
        "To": "buildroot@buildroot.org",
        "Date": "Sun,  8 Feb 2026 15:36:02 +0100",
        "Message-ID": "<20260208143604.1477756-4-ju.o@free.fr>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260208143604.1477756-1-ju.o@free.fr>",
        "References": "<20260208143604.1477756-1-ju.o@free.fr>",
        "MIME-Version": "1.0",
        "X-Mailman-Original-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=free.fr; s=smtp-20201208; t=1770561396;\n bh=VmN7tN7Q2YIJPAoyUNnoIkoAz7sKPqq9IEPEl/gEt1Q=;\n h=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n b=RU7ypM/WHddW6LHvTKP3S9LDCCFld9389MqtEMmxZaQI7ieTGCsWyCL27rIt5ct9D\n G/NAlMCbwTCa/WpsiFXP0gUbF1SmohCJqE4WA88wUB1NUZ8d+7EVmIyGLGD9XCdI9t\n 6IKYjdqJXjtubLA6xhfxfXe2zo7iaAvRZxskb8v3D97lYPj73FDKJoA38TS9wY84+s\n B7KxhTOwCOOyXgsbdq7Flv23nB8mDgpTyECmChalNT8JLZoLbxy85bzNXsfltw28OO\n Q4Tk3I+ILxP+zIJmtcwTBQcFONrBsWMUH4cHfIYKmewuAujHfOIL2RHrTMGw4DG/xA\n 3XEeiQqKIi72A==",
        "X-Mailman-Original-Authentication-Results": [
            "smtp1.osuosl.org;\n dmarc=pass (p=quarantine dis=none)\n header.from=free.fr",
            "smtp1.osuosl.org;\n dkim=pass (2048-bit key) header.d=free.fr header.i=@free.fr\n header.a=rsa-sha256 header.s=smtp-20201208 header.b=RU7ypM/W"
        ],
        "Subject": "[Buildroot] [PATCH RFC 3/5] Config.in: add\n BR2_HIDE_SECONDARY_TARGET_OPTIONS",
        "X-BeenThere": "buildroot@buildroot.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Discussion and development of buildroot <buildroot.buildroot.org>",
        "List-Unsubscribe": "<https://lists.buildroot.org/mailman/options/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.buildroot.org/pipermail/buildroot/>",
        "List-Post": "<mailto:buildroot@buildroot.org>",
        "List-Help": "<mailto:buildroot-request@buildroot.org?subject=help>",
        "List-Subscribe": "<https://lists.buildroot.org/mailman/listinfo/buildroot>,\n <mailto:buildroot-request@buildroot.org?subject=subscribe>",
        "From": "Julien Olivain via buildroot <buildroot@buildroot.org>",
        "Reply-To": "Julien Olivain <ju.o@free.fr>",
        "Cc": "Julien Olivain <ju.o@free.fr>, Mark Corbin <mark@dibsco.co.uk>,\n Thomas Petazzoni <thomas.petazzoni@bootlin.com>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "buildroot-bounces@buildroot.org",
        "Sender": "\"buildroot\" <buildroot-bounces@buildroot.org>"
    },
    "content": "This patch is needed with the current kconfig version in Buildroot.\nIf kconfig get updated with the series proposed in:\nhttps://patchwork.ozlabs.org/project/buildroot/list/?series=490997\nthe current patch might not be needed.\n\nSuggested-by: Arnout Vandecappelle <arnout@rnout.be>\nSigned-off-by: Julien Olivain <ju.o@free.fr>\n---\n Config.in | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/Config.in b/Config.in\nindex d730f2034b..71120e0d7c 100644\n--- a/Config.in\n+++ b/Config.in\n@@ -15,6 +15,10 @@ config BR2_HAVE_DOT_CONFIG\n config BR2_BROKEN\n \tbool\n \n+config BR2_HIDE_SECONDARY_TARGET_OPTIONS\n+\tstring\n+\toption env=\"BR2_HIDE_SECONDARY_TARGET_OPTIONS\"\n+\n config BR2_VERSION\n \tstring\n \toption env=\"BR2_VERSION_FULL\"\n",
    "prefixes": [
        "RFC",
        "3/5"
    ]
}