get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2222687,
    "url": "http://patchwork.ozlabs.org/api/patches/2222687/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260413130007.1987326-2-sjg@chromium.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260413130007.1987326-2-sjg@chromium.org>",
    "list_archive_url": null,
    "date": "2026-04-13T12:59:52",
    "name": "[v3,1/8] test: fit: Drop the fit_signature buildconfigspec",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "b442a1049610211fa57fae28a3345975af4dc252",
    "submitter": {
        "id": 6170,
        "url": "http://patchwork.ozlabs.org/api/people/6170/?format=api",
        "name": "Simon Glass",
        "email": "sjg@chromium.org"
    },
    "delegate": {
        "id": 3651,
        "url": "http://patchwork.ozlabs.org/api/users/3651/?format=api",
        "username": "trini",
        "first_name": "Tom",
        "last_name": "Rini",
        "email": "trini@ti.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260413130007.1987326-2-sjg@chromium.org/mbox/",
    "series": [
        {
            "id": 499699,
            "url": "http://patchwork.ozlabs.org/api/series/499699/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=499699",
            "date": "2026-04-13T12:59:52",
            "name": "test: Refactor FIT test for clarity and extensibility",
            "version": 3,
            "mbox": "http://patchwork.ozlabs.org/series/499699/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2222687/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2222687/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256\n header.s=google header.b=WnWeLCDY;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=chromium.org header.i=@chromium.org\n header.b=\"WnWeLCDY\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=none dis=none) header.from=chromium.org",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=sjg@chromium.org"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fvSGV6Rtyz1xtJ\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 13 Apr 2026 23:01:38 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 277E3839DF;\n\tMon, 13 Apr 2026 15:01:31 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id D12568419E; Mon, 13 Apr 2026 15:01:29 +0200 (CEST)",
            "from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com\n [IPv6:2607:f8b0:4864:20::32f])\n (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 75E5C839D5\n for <u-boot@lists.denx.de>; Mon, 13 Apr 2026 15:01:27 +0200 (CEST)",
            "by mail-ot1-x32f.google.com with SMTP id\n 46e09a7af769-7dbd2a0211bso3198664a34.0\n for <u-boot@lists.denx.de>; Mon, 13 Apr 2026 06:01:27 -0700 (PDT)",
            "from chromium.org ([73.34.74.121]) by smtp.gmail.com with ESMTPSA id\n 46e09a7af769-7dc2696532bsm8369144a34.21.2026.04.13.06.01.24\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 13 Apr 2026 06:01:24 -0700 (PDT)"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=chromium.org; s=google; t=1776085285; x=1776690085; darn=lists.denx.de;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=8zWHXxI6Zwno0IDaWAd4itCTOKFu/oIP2UFfoAnQSB4=;\n b=WnWeLCDYe7m1L3GDX+r/g93wevHDqRBRZmv7GodQQP8o2clHUZr0TINj3BEGrGOkDX\n rlE8YRlZ1uZgkmBImN3gZIisr1T5B39+JViAc3lj6nfTYqfda3xmhPg5uYyIXoRCujyI\n 9Jb0V3Jqk5Lrgmm65VOAYm0O/bn8VgiVavsqw=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776085285; x=1776690085;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=8zWHXxI6Zwno0IDaWAd4itCTOKFu/oIP2UFfoAnQSB4=;\n b=HJjWmu5GEBVEp9IFvH64Tb6HZczzYFnBUbOKQVI2uk+dMGIFR/QoEIXTSvqUcenhJO\n Ti4i7OYgW2bun8Yhvaw72rk1B6t+v7xqkfN56kYHUI2j6IJXiYAdRTqDiPw0eLmQyHV+\n 01V4PpNKnAqik8FkzXgbVxxQq84C01JWahfTy31KKB3miqgUD7NT5LNJNlA6ZNfBLMWD\n q/ouqauhVteovo27V6i0IHwl0pSR0wPcTxtC7/uvM0ZU3rMra3xpVpAI/do/TtAWofdF\n Q4jFreXesEgnEfZcFyH9Ob9tpK0i+Pnsh9zxhEGEo6xznVgT4heiNMG8U6Laxq8zUZT0\n IEQg==",
        "X-Gm-Message-State": "AOJu0YwCPai4lWUvM1pRS2c0r+mX99StONou7NqKskoOevFh3c6A/Mug\n Jq4Edbesk9hc90CjKMlmNlgHqljwEilrgxBLjyuXAN/prnN61vXi38a5OFAaLFz9My/RdiAUFCx\n a/g1tdQ==",
        "X-Gm-Gg": "AeBDieuTT9nbMI0aVY40KRZ7U+sA3KzDSkD7J4pdyxLOeAsyACdAxQvhxge2DaT0geK\n UzPei9spweThKo+euJX1jiaP0P13ehF91okS+kHlWmYyPATmqLbmmxgQ+CtP+R30d+X648R1y2T\n 7AOlFcHVtZO/QrOobYsm1qAWSrQSUKa4PHZ+HZY5NSB52kJEzvEG8l7DVTteA1DSwHY2puT72kq\n 0FeaLafu2CM1sGXWPwwhvdZTTnDlbATwNPUFttIqVBz+DFC1cjzXJgRY0VS2uJHI0nd61DUBI0V\n oyG4LsW/RTbDFovPbJt5pdIzgzllvoRSZcDbVLybXlmLRJC97R4QsCG+LKPo/LWpWtjABG3A74R\n P3Bwg8VhDRdq1wKX27iFiV6dTit1qH4jH3JV7fgO+SX59lJ5dtmDtHmE78YdKcWrO3jR7hgQtTX\n 4t/blBMyAIeCRf5M1KdQ==",
        "X-Received": "by 2002:a05:6830:34a3:b0:7d7:f13a:762c with SMTP id\n 46e09a7af769-7dc27f60e59mr7812167a34.27.1776085285060;\n Mon, 13 Apr 2026 06:01:25 -0700 (PDT)",
        "From": "Simon Glass <sjg@chromium.org>",
        "To": "u-boot@lists.denx.de",
        "Cc": "Simon Glass <sjg@chromium.org>,\n\tTom Rini <trini@konsulko.com>",
        "Subject": "[PATCH v3 1/8] test: fit: Drop the fit_signature buildconfigspec",
        "Date": "Mon, 13 Apr 2026 06:59:52 -0600",
        "Message-ID": "<20260413130007.1987326-2-sjg@chromium.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260413130007.1987326-1-sjg@chromium.org>",
        "References": "<20260413130007.1987326-1-sjg@chromium.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "The test_fit test requires buildconfigspec('fit_signature') but does\nnot exercise signature verification. The ITS template includes a\nsignature-1 node, but mkimage only needs TOOLS_FIT_SIGNATURE (a host\ntool option) to handle it, not CONFIG_FIT_SIGNATURE in the U-Boot\nbinary.\n\nSince sandbox does not enable CONFIG_FIT_SIGNATURE, the test is silently\nskipped on every run. Change the marker to buildconfigspec('fit') which\nis all the test actually needs.\n\nSigned-off-by: Simon Glass <sjg@chromium.org>\n---\n\n(no changes since v2)\n\nChanges in v2:\n- Add new patch to fix the buildconfigspec marker\n\n test/py/tests/test_fit.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/test/py/tests/test_fit.py b/test/py/tests/test_fit.py\nindex 619f73153a0..71c98be27cf 100755\n--- a/test/py/tests/test_fit.py\n+++ b/test/py/tests/test_fit.py\n@@ -116,7 +116,7 @@ host save hostfs 0 %(loadables2_addr)x %(loadables2_out)s %(loadables2_size)x\n '''\n \n @pytest.mark.boardspec('sandbox')\n-@pytest.mark.buildconfigspec('fit_signature')\n+@pytest.mark.buildconfigspec('fit')\n @pytest.mark.requiredtool('dtc')\n def test_fit(ubman):\n     def make_fname(leaf):\n",
    "prefixes": [
        "v3",
        "1/8"
    ]
}