Show a patch.

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

{
    "id": 19662,
    "url": "https://patchwork.libcamera.org/api/patches/19662/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/19662/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20240311132451.182317-1-kieran.bingham@ideasonboard.com>",
    "date": "2024-03-11T13:24:51",
    "name": "utils: checkstyle.py: Fix known_trailers sort order",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "4cff456f0a73623fe5c570cbb5b0172fe930ef9f",
    "submitter": {
        "id": 4,
        "url": "https://patchwork.libcamera.org/api/people/4/?format=api",
        "name": "Kieran Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/19662/mbox/",
    "series": [
        {
            "id": 4213,
            "url": "https://patchwork.libcamera.org/api/series/4213/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4213",
            "date": "2024-03-11T13:24:51",
            "name": "utils: checkstyle.py: Fix known_trailers sort order",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4213/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/19662/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/19662/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id 7E3C3BD160\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 11 Mar 2024 13:24:57 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E79A462C80;\n\tMon, 11 Mar 2024 14:24:56 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id B099961C7C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 11 Mar 2024 14:24:55 +0100 (CET)",
            "from Monstersaurus.local\n\t(aztw-30-b2-v4wan-166917-cust845.vm26.cable.virginm.net\n\t[82.37.23.78])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 77871C85;\n\tMon, 11 Mar 2024 14:24:34 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"lnKw8m/1\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1710163474;\n\tbh=sYBFuL4F4HBMREJah1jycPjKimx5XBPaok3TX4D68Es=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=lnKw8m/1T55XXmF+gJnWJLXwN8WoHd+18/L071npHuHlUOCFLaTovENH5ilFmSGHr\n\tvArWTg5olbqiJ6r8W0N1crJ+INIeC01yb8LMvkEWn4h5uegEC/wi2VMM61J1ztVV0g\n\t3p/W+Elh3H58L8uD2KUmojZ3WqhvN5SvcpLV3qC0=",
        "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "To": "libcamera devel <libcamera-devel@lists.libcamera.org>",
        "Subject": "[PATCH] utils: checkstyle.py: Fix known_trailers sort order",
        "Date": "Mon, 11 Mar 2024 13:24:51 +0000",
        "Message-Id": "<20240311132451.182317-1-kieran.bingham@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "From: Hans de Goede <hdegoede@redhat.com>\n\nAn unruly libcamera maintainer merged the wrong patch adding the\nCo-developed-by: tag to the known_trailers.\n\nFix the sort order alphabetically to match the version which should have\nbeen merged.\n\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n utils/checkstyle.py | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/utils/checkstyle.py b/utils/checkstyle.py\nindex 52cf770c9da3..c0a8bdfe10d5 100755\n--- a/utils/checkstyle.py\n+++ b/utils/checkstyle.py\n@@ -471,6 +471,7 @@ class TrailersChecker(CommitChecker):\n     known_trailers = {\n         'Acked-by': email_regex,\n         'Bug': link_regex,\n+        'Co-developed-by': email_regex,\n         'Fixes': commit_regex,\n         'Link': link_regex,\n         'Reported-by': validate_reported_by,\n",
    "prefixes": []
}