Show a patch.

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

{
    "id": 21080,
    "url": "https://patchwork.libcamera.org/api/patches/21080/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/21080/",
    "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": "<20240830125311.1702053-2-stefan.klug@ideasonboard.com>",
    "date": "2024-08-30T12:52:58",
    "name": "[1/3] utils: checkstyle: Remove leading colon from pycodestyle messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "4878453164135300f4a59383c11a203cbfb37082",
    "submitter": {
        "id": 184,
        "url": "https://patchwork.libcamera.org/api/people/184/?format=api",
        "name": "Stefan Klug",
        "email": "stefan.klug@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/21080/mbox/",
    "series": [
        {
            "id": 4550,
            "url": "https://patchwork.libcamera.org/api/series/4550/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4550",
            "date": "2024-08-30T12:52:57",
            "name": "Python improvements to checkstyle.py",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4550/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/21080/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/21080/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 45CD2C32C2\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 30 Aug 2024 12:53:25 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id C36A9634A6;\n\tFri, 30 Aug 2024 14:53:24 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A8C116341E\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 30 Aug 2024 14:53:22 +0200 (CEST)",
            "from ideasonboard.com (unknown\n\t[IPv6:2a00:6020:448c:6c00:cdac:b850:c793:ea45])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 1A867227;\n\tFri, 30 Aug 2024 14:52:13 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"WzongnjJ\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1725022333;\n\tbh=pcQZTivq0JBKn9uoUS3oM5Kz0vJmUBmw3oxGp7TlPi0=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=WzongnjJixxOhZNB2b3hbwOMpqzJv+DorqOxMBIzKUxYiDgZkPrd0st9gM8PrUCQA\n\ttMG+HnrL9w2Pekq5E8kL5TEKUHRp9fdP69EB3KE7Ig+T0d1WcJ8VixVj/OqGuqMDV0\n\teHCowdhYYUrIKZBBB1oBNOatw8PMpv0CvlJZckE0=",
        "From": "Stefan Klug <stefan.klug@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Stefan Klug <stefan.klug@ideasonboard.com>",
        "Subject": "[PATCH 1/3] utils: checkstyle: Remove leading colon from pycodestyle\n\tmessages",
        "Date": "Fri, 30 Aug 2024 14:52:58 +0200",
        "Message-ID": "<20240830125311.1702053-2-stefan.klug@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240830125311.1702053-1-stefan.klug@ideasonboard.com>",
        "References": "<20240830125311.1702053-1-stefan.klug@ideasonboard.com>",
        "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": "The pycodestyle messages contain a leading ': ' which is not nice to look at.\nIgnore it.\n\nSigned-off-by: Stefan Klug <stefan.klug@ideasonboard.com>\n---\n utils/checkstyle.py | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/utils/checkstyle.py b/utils/checkstyle.py\nindex c9e41d4149f7..c6016f60a446 100755\n--- a/utils/checkstyle.py\n+++ b/utils/checkstyle.py\n@@ -711,7 +711,7 @@ class MesonChecker(StyleChecker):\n \n class Pep8Checker(StyleChecker):\n     patterns = ('*.py',)\n-    results_regex = re.compile(r'stdin:([0-9]+):([0-9]+)(.*)')\n+    results_regex = re.compile(r'stdin:([0-9]+):([0-9]+): (.*)')\n \n     def __init__(self, content):\n         super().__init__()\n",
    "prefixes": [
        "1/3"
    ]
}