Show a patch.

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

{
    "id": 19661,
    "url": "https://patchwork.libcamera.org/api/patches/19661/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/19661/",
    "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": "<20240311125803.16708-1-hdegoede@redhat.com>",
    "date": "2024-03-11T12:58:03",
    "name": "[v2] utils: checkstyle.py: Add Co-developed-by to known_trailers",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "4cff456f0a73623fe5c570cbb5b0172fe930ef9f",
    "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/19661/mbox/",
    "series": [
        {
            "id": 4212,
            "url": "https://patchwork.libcamera.org/api/series/4212/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4212",
            "date": "2024-03-11T12:58:03",
            "name": "[v2] utils: checkstyle.py: Add Co-developed-by to known_trailers",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/4212/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/19661/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/19661/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 2033FBD160\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 11 Mar 2024 12:58:14 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 328296286F;\n\tMon, 11 Mar 2024 13:58:13 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n\t(us-smtp-delivery-124.mimecast.com [170.10.129.124])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 7D26D61C7C\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 11 Mar 2024 13:58:11 +0100 (CET)",
            "from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73])\n\tby relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n\tcipher=TLS_AES_256_GCM_SHA384) id us-mta-563-vjrvJ0YuN2-UYP7RLrcauQ-1;\n\tMon, 11 Mar 2024 08:58:06 -0400",
            "from smtp.corp.redhat.com\n\t(int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4])\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 28756383CD77;\n\tMon, 11 Mar 2024 12:58:06 +0000 (UTC)",
            "from x1.localdomain.com (unknown [10.39.195.37])\n\tby smtp.corp.redhat.com (Postfix) with ESMTP id 479232022EDB;\n\tMon, 11 Mar 2024 12:58:04 +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=\"VLW/2o0f\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1710161890;\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=HB3dQsdehvMz0eWSr0P32cRk/WKoWrRWhj7rDbfllGY=;\n\tb=VLW/2o0fbXbc+KNCWdU93QInvOSstd8XYdhdtIbufwK2MZ9wsx6bNgXxCyfcXnFD8wYRxw\n\t2WwH5ZyDxfnmuAphEUUyZbFaPJauTg/uW6osdR94P3STyA/8b4aBWpXlusxknh/dr5xo+X\n\t9Djp7ZsTIJ+yvMNqtL13ZHGAQpoq0vU=",
        "X-MC-Unique": "vjrvJ0YuN2-UYP7RLrcauQ-1",
        "From": "Hans de Goede <hdegoede@redhat.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[PATCH v2] utils: checkstyle.py: Add Co-developed-by to\n\tknown_trailers",
        "Date": "Mon, 11 Mar 2024 13:58:03 +0100",
        "Message-ID": "<20240311125803.16708-1-hdegoede@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.11.54.4",
        "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>",
        "Cc": "Jacopo Mondi <jacopo.mondi@ideasonboard.com>",
        "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\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>\nSigned-off-by: Hans de Goede <hdegoede@redhat.com>\n---\nChanges in v2:\n- Keep known_trailers entries sorted alphabetically\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..db5a550d 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": [
        "v2"
    ]
}