Show a patch.

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

{
    "id": 20251,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/20251/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/20251/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20240610180855.1643125-2-mzamazal@redhat.com>",
    "date": "2024-06-10T18:08:49",
    "name": "[1/2] clang-format: Make Qt includes matching case sensitive",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d1587312083003ac7fabc05380544ee93d209d26",
    "submitter": {
        "id": 177,
        "url": "https://patchwork.libcamera.org/api/1.1/people/177/?format=api",
        "name": "Milan Zamazal",
        "email": "mzamazal@redhat.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/20251/mbox/",
    "series": [
        {
            "id": 4379,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4379/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4379",
            "date": "2024-06-10T18:08:48",
            "name": "Includes ordering fix",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4379/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/20251/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/20251/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 113C6C31E9\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 10 Jun 2024 18:09:27 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id A1A826545E;\n\tMon, 10 Jun 2024 20:09:26 +0200 (CEST)",
            "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 DC15C634D5\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 10 Jun 2024 20:09:24 +0200 (CEST)",
            "from mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com\n\t(ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63])\n\tby relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n\tcipher=TLS_AES_256_GCM_SHA384) id us-mta-265-qgsVXspvMpGSrt6h6P3uXQ-1;\n\tMon, 10 Jun 2024 14:09:20 -0400",
            "from mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com\n\t(mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com\n\t[10.30.177.15])\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 mx-prod-mc-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix)\n\twith ESMTPS id AACD11956096; Mon, 10 Jun 2024 18:09:19 +0000 (UTC)",
            "from nuthatch.redhat.com (unknown [10.45.224.30])\n\tby mx-prod-int-02.mail-002.prod.us-west-2.aws.redhat.com (Postfix)\n\twith ESMTP id 02D0C1955E80; Mon, 10 Jun 2024 18:09:17 +0000 (UTC)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=redhat.com header.i=@redhat.com\n\theader.b=\"UyXpr9p2\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n\ts=mimecast20190719; t=1718042964;\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\tin-reply-to:in-reply-to:references:references;\n\tbh=BAqUye6W7GCQPDtG6HzXsB2n5WDKgw+g6XfbXK8wuis=;\n\tb=UyXpr9p2yYu696p3a6iqApnWRDZ4140BBNhUN41SLXYVVdKfz+MgL+o/wer8nsfYJ69MCp\n\tccD8K7uB+gL16FaIWC/w95NP7YwuzU34tR7LfgX+yjGEYYjHvNjOyvHg6zhXPslalecSIK\n\t7mSkUNthBJegPWLmHkpVK1o8T3RIMKA=",
        "X-MC-Unique": "qgsVXspvMpGSrt6h6P3uXQ-1",
        "From": "Milan Zamazal <mzamazal@redhat.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Milan Zamazal <mzamazal@redhat.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "Subject": "[PATCH 1/2] clang-format: Make Qt includes matching case sensitive",
        "Date": "Mon, 10 Jun 2024 20:08:49 +0200",
        "Message-ID": "<20240610180855.1643125-2-mzamazal@redhat.com>",
        "In-Reply-To": "<20240610180855.1643125-1-mzamazal@redhat.com>",
        "References": "<20240610180855.1643125-1-mzamazal@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.0 on 10.30.177.15",
        "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": "This fixes the problem that includes like\n\n  #include <queue>\n\nare put near the end.\n\nSigned-off-by: Milan Zamazal <mzamazal@redhat.com>\n---\n .clang-format | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/.clang-format b/.clang-format\nindex cac7029f..b48d4e1e 100644\n--- a/.clang-format\n+++ b/.clang-format\n@@ -75,6 +75,7 @@ IncludeCategories:\n     Priority:        9\n   # Qt includes (match before C++ standard library)\n   - Regex:           '<Q([A-Za-z0-9\\-_])+>'\n+    CaseSensitive:   true\n     Priority:        9\n   # Headers in <> with an extension. (+system libraries)\n   - Regex:           '<([A-Za-z0-9\\-_])+\\.h>'\n",
    "prefixes": [
        "1/2"
    ]
}