Show a patch.

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

{
    "id": 21705,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/21705/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/21705/",
    "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": "<20241020133307.180885-1-robert.mader@collabora.com>",
    "date": "2024-10-20T13:33:07",
    "name": "[v2] Add .editorconfig file",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "7445b6873c68ff0d59e410e887ebe13c2f3312f6",
    "submitter": {
        "id": 140,
        "url": "https://patchwork.libcamera.org/api/1.1/people/140/?format=api",
        "name": "Robert Mader",
        "email": "robert.mader@collabora.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/21705/mbox/",
    "series": [
        {
            "id": 4727,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4727/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4727",
            "date": "2024-10-20T13:33:07",
            "name": "[v2] Add .editorconfig file",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/4727/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/21705/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/21705/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 4A994C3306\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 20 Oct 2024 13:33:32 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 162686538C;\n\tSun, 20 Oct 2024 15:33:31 +0200 (CEST)",
            "from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com\n\t[136.143.188.112])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A06B565379\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 20 Oct 2024 15:33:28 +0200 (CEST)",
            "by mx.zohomail.com with SMTPS id 1729431204566689.7348530481421;\n\tSun, 20 Oct 2024 06:33:24 -0700 (PDT)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=collabora.com\n\theader.i=robert.mader@collabora.com header.b=\"IdqCl01x\"; \n\tdkim-atps=neutral",
        "ARC-Seal": "i=1; a=rsa-sha256; t=1729431205; cv=none; \n\td=zohomail.com; s=zohoarc; \n\tb=iqM+yOpvPmwz2vsqkq0wP+35XKio7e69y5jgsKuOwPpSZhrhUNNcdtTkZz0c6Ftd0jA+ttHqpsZuxNE2wmEeJ2Z0lNMx8C4WJc9HCT4O3o7IobqmbAXRNtQURMAEdE+ktPxeMf7hy7qZmgdEp/iZwVwSKMSWZqZ2BRNzMFSPDz0=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; \n\ts=zohoarc; t=1729431205;\n\th=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To;\n\tbh=XONJZtwE7vXWbpicA4mJzxs3x8b1nYlp0RxqSAG+gls=; \n\tb=Z8uQT2b4T1w0MwqypNJEa0KdcFCJc3pfeLWCu479ziRFgARMDbJHONynNsoXusl4lmYhJf1OElsBO8Yi5MXSfqXpbWFZ6oqHy2bFt+KG8MO2AeVTKSr7+3axhTFScY3cqQRLVetbNOW4s8QyJUuojVoZcxXmQPEP/IPPMw5PU94=",
        "ARC-Authentication-Results": "i=1; mx.zohomail.com;\n\tdkim=pass  header.i=collabora.com;\n\tspf=pass  smtp.mailfrom=robert.mader@collabora.com;\n\tdmarc=pass header.from=<robert.mader@collabora.com>",
        "DKIM-Signature": "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1729431205;\n\ts=zohomail; d=collabora.com; i=robert.mader@collabora.com;\n\th=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Transfer-Encoding:Message-Id:Reply-To;\n\tbh=XONJZtwE7vXWbpicA4mJzxs3x8b1nYlp0RxqSAG+gls=;\n\tb=IdqCl01xit1SSCsX6MrmJcHsWP4pQEOrxUvPv4bGGTyi/P6vxynaUgUPWGsR1612\n\tcFArPpyPDy3aKMpls44wj2imHJvOU0dCuZaL7YZTY+tZWLhb0vmnigElPc1legWAUbr\n\tqjxNGHYbBa8mHU9trIHbYOLrfM83pem8rSpmqHIw=",
        "From": "Robert Mader <robert.mader@collabora.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Robert Mader <robert.mader@collabora.com>",
        "Subject": "[PATCH v2] Add .editorconfig file",
        "Date": "Sun, 20 Oct 2024 15:33:07 +0200",
        "Message-ID": "<20241020133307.180885-1-robert.mader@collabora.com>",
        "X-Mailer": "git-send-email 2.47.0",
        "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": "To make contributing to libcamera more fun, see\nhttps://editorconfig.org/\n\nSigned-off-by: Robert Mader <robert.mader@collabora.com>\n\n---\n\nChanges in version 2:\n - require insert_final_newline for all files, including the file added here\n - add python config\n - add more meson file types\n---\n .editorconfig | 25 +++++++++++++++++++++++++\n 1 file changed, 25 insertions(+)\n create mode 100644 .editorconfig",
    "diff": "diff --git a/.editorconfig b/.editorconfig\nnew file mode 100644\nindex 00000000..9d60c29f\n--- /dev/null\n+++ b/.editorconfig\n@@ -0,0 +1,25 @@\n+# SPDX-License-Identifier: CC0-1.0\n+\n+root = true\n+\n+[*]\n+charset = utf-8\n+end_of_line = lf\n+insert_final_newline = true\n+trim_trailing_whitespace = true\n+\n+[*.{cpp,h}]\n+indent_size = 8\n+indent_style = tab\n+\n+[*.py]\n+indent_size = 4\n+indent_style = space\n+\n+[*.xml]\n+indent_size = 2\n+indent_style = space\n+\n+[{meson.build,meson.options,meson_options.txt}]\n+indent_size = 2\n+indent_style = space\n",
    "prefixes": [
        "v2"
    ]
}