Show a patch.

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

{
    "id": 19655,
    "url": "https://patchwork.libcamera.org/api/patches/19655/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/19655/",
    "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": "<20240311120102.13235-1-hdegoede@redhat.com>",
    "date": "2024-03-11T12:01:02",
    "name": "utils: checkstyle.py: Add Co-developed-by to known_trailers",
    "commit_ref": "60f6e71cc4f904181099e0366d6385d3b1461f2d",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "97d2a1f16d8b1df31a7b84b24e59bbc9f9a87a33",
    "submitter": {
        "id": 102,
        "url": "https://patchwork.libcamera.org/api/people/102/?format=api",
        "name": "Hans de Goede",
        "email": "hdegoede@redhat.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/19655/mbox/",
    "series": [
        {
            "id": 4210,
            "url": "https://patchwork.libcamera.org/api/series/4210/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4210",
            "date": "2024-03-11T12:01:02",
            "name": "utils: checkstyle.py: Add Co-developed-by to known_trailers",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4210/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/19655/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/19655/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 1FC5BBD160\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 11 Mar 2024 12:01:10 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 4298A62C80;\n\tMon, 11 Mar 2024 13:01:09 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.133.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7A12561C7C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 11 Mar 2024 13:01:08 +0100 (CET)",
            "from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com\n\t[66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS\n\t(version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n\tus-mta-632-GIJlGnsMORWfqByRkCBuoQ-1; Mon, 11 Mar 2024 08:01:04 -0400",
            "from smtp.corp.redhat.com\n\t(int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange X25519 server-signature RSA-PSS (2048 bits)\n\tserver-digest SHA256) (No client certificate requested)\n\tby mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2720E84FA93\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 11 Mar 2024 12:01:04 +0000 (UTC)",
            "from x1.localdomain.com (unknown [10.39.195.37])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id AE4B210E4B;\n\tMon, 11 Mar 2024 12:01:03 +0000 (UTC)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=redhat.com header.i=@redhat.com\n\theader.b=\"g3UKGUMv\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1710158467;\n\th=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n\tto:to:cc:cc:mime-version:mime-version:content-type:content-type:\n\tcontent-transfer-encoding:content-transfer-encoding;\n\tbh=+v51hW20yLjry9Dn6Y5KTk0fOMWzq3sP+XbHrsTxP3E=;\n\tb=g3UKGUMvjmO8XKgkff51m2TcbOAr/Bt7ceL3eVTziYFnnsP/6ebDUvfAqCzOnNoDPoSIBs\n\t3uyaIV/z8GVp4Z2HUYMI/EOSKY8dNazRE6fQP4mAwZBzttnjLHyzXzUG2DD2N/MsyYe0ea\n\tyGf/fc3gOssLLcJapwP4gJYqqwXw63Q=",
        "X-MC-Unique": "GIJlGnsMORWfqByRkCBuoQ-1",
        "From": "Hans de Goede <hdegoede@redhat.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH] utils: checkstyle.py: Add Co-developed-by to known_trailers",
        "Date": "Mon, 11 Mar 2024 13:01:02 +0100",
        "Message-ID": "<20240311120102.13235-1-hdegoede@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.11.54.5",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"; x-default=true",
        "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": "Add Co-developed-by to known_trailers to silence false positive\n\"Invalid commit trailer key 'Co-developed-by'\" warnings.\n\nSigned-off-by: Hans de Goede <hdegoede@redhat.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 fb03dc34..52cf770c 100755\n--- a/utils/checkstyle.py\n+++ b/utils/checkstyle.py\n@@ -478,6 +478,7 @@ class TrailersChecker(CommitChecker):\n         'Signed-off-by': email_regex,\n         'Suggested-by': email_regex,\n         'Tested-by': email_regex,\n+        'Co-developed-by': email_regex,\n     }\n \n     trailer_regex = re.compile(r'([A-Z][a-zA-Z-]*)\\s*:\\s*(.*)')\n",
    "prefixes": []
}