get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2219905,
    "url": "http://patchwork.ozlabs.org/api/1.2/patches/2219905/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260405111206.945185-2-sjg@chromium.org/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/1.2/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": "<20260405111206.945185-2-sjg@chromium.org>",
    "list_archive_url": null,
    "date": "2026-04-05T11:11:46",
    "name": "[v2,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/1.2/people/6170/?format=api",
        "name": "Simon Glass",
        "email": "sjg@chromium.org"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260405111206.945185-2-sjg@chromium.org/mbox/",
    "series": [
        {
            "id": 498774,
            "url": "http://patchwork.ozlabs.org/api/1.2/series/498774/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=498774",
            "date": "2026-04-05T11:11:45",
            "name": "test: Refactor FIT test for clarity and extensibility",
            "version": 2,
            "mbox": "http://patchwork.ozlabs.org/series/498774/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219905/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219905/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=Lg4Ps7QL;\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=\"Lg4Ps7QL\";\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 4fpVDJ2JbBz1yD3\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 05 Apr 2026 21:12:32 +1000 (AEST)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id C912A83D17;\n\tSun,  5 Apr 2026 13:12:27 +0200 (CEST)",
            "by phobos.denx.de (Postfix, from userid 109)\n id D274383D17; Sun,  5 Apr 2026 13:12:24 +0200 (CEST)",
            "from mail-oi1-x22e.google.com (mail-oi1-x22e.google.com\n [IPv6:2607:f8b0:4864:20::22e])\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 02B3B83C5E\n for <u-boot@lists.denx.de>; Sun,  5 Apr 2026 13:12:22 +0200 (CEST)",
            "by mail-oi1-x22e.google.com with SMTP id\n 5614622812f47-463a0e14abfso1773171b6e.2\n for <u-boot@lists.denx.de>; Sun, 05 Apr 2026 04:12:21 -0700 (PDT)",
            "from chromium.org ([73.34.74.121]) by smtp.gmail.com with ESMTPSA id\n 5614622812f47-46d8d109b69sm6414382b6e.0.2026.04.05.04.12.18\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 05 Apr 2026 04:12:19 -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=1775387540; x=1775992340; 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=eY4f2OVMBsEq3II0CxgNsIflLhjFFekoCas/zpOE3mM=;\n b=Lg4Ps7QLi2QXnhHVMNGRCyNvQ5LXqiYfcHwYoth/h7cEc9IvCdFCfKNzE69wyyu+3X\n Cy7SlIJkZudLSrnNKmqfVY4n4OgbFUXjSsmyX4skwz1AvX6X6U2cE3V3srhwsR2FXzAt\n wlSa9M6bd/4mh1hC3VF69YW520Cilj/JTzwU0=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1775387540; x=1775992340;\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=eY4f2OVMBsEq3II0CxgNsIflLhjFFekoCas/zpOE3mM=;\n b=ojw+IODH+ITk20xdR1E2WQ437tArDNcxuvax4NNRjVMdJwJ2xPuJ45x2wP5H0dXviB\n xdHdT8xsWEF2vf9mE5QEuuBy7vWQtqKUuV55cqSDlefKQoX0ojYcXYm3C9D4o734idY/\n cDdBIJce1lj+E+jNWVzKhz24zEqUbWt7jGRM5Nyjf+g/Y9sONgBAlbKDMDh1SM7NOLrp\n B5lli0BZBsgn/EBwr95+zoGt7MHu9ewY7pFl4j3yvb3mlJBfQXZqfYr777K7YOzjFA3Q\n ZUApV8cJAZVCjsc1TQKytNOUhXPOxKGE8Jnkcjtpr75esPiGcS2l4Ny05pCp4J74vzu5\n uUSQ==",
        "X-Gm-Message-State": "AOJu0YxCT3HspNlSvZl7ItP5eK20RpJvvFMr2keRk1HJ46x4A8zRE+Qw\n 6pHf6dYTG6YHcAoRSa3Pa+df5ljZxKq6nJyn4EmDBMdR5T7Q9nwre5lmMaPMgFSaHjY7pKhbsD+\n 7EIm0IA==",
        "X-Gm-Gg": "AeBDieuOBloXTrkD8yLDJEAD/YW+ent09BBLerVcAsvnyzu7LLZXt/3QP0TFnBlty49\n 5CbA6qAUmE1DLetLFw9Fhn7elWlGm8xiCwe6R7z2TMFy6mpvVAwiFPLw6VcdNBgZStn6uBDovus\n kfk0rZ/kMoxTrHQUGd0aYGsLZSxePHohv1mTnIyrSyFv91LE1lg2STrtGq/XzV4MKLcDoolUGlh\n vdYi7EbSSN2TQopSYNzSwb/SDpWr61nxPbVvBOY8+EwsVrjSIqO8GKzJGs5vX51fCIS/qQjtVYG\n YbOuEve2Tws+3+RX6nuxMHC2YYX5pQIXnOvovHWBnhDC1uiFFBJB5nWwmJt3Q8L2mcqHgCJkfUj\n uCdKGA3nf5+ZJRWdbWg1PuYepjywIWhjCgqIFlzciWLgLbKPIXDU18AhLQFdzyF72RS5tfscHmE\n 1UhyDO/SFp3tUzNyM1zA==",
        "X-Received": "by 2002:a05:6808:1b90:b0:467:de9:3eaf with SMTP id\n 5614622812f47-46ef56fb08fmr4104652b6e.10.1775387540202;\n Sun, 05 Apr 2026 04:12:20 -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 v2 1/8] test: fit: Drop the fit_signature buildconfigspec",
        "Date": "Sun,  5 Apr 2026 05:11:46 -0600",
        "Message-ID": "<20260405111206.945185-2-sjg@chromium.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20260405111206.945185-1-sjg@chromium.org>",
        "References": "<20260405111206.945185-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\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": [
        "v2",
        "1/8"
    ]
}