Show a patch.

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

{
    "id": 21711,
    "url": "https://patchwork.libcamera.org/api/patches/21711/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/21711/",
    "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": "<20241020164926.255457-1-robert.mader@collabora.com>",
    "date": "2024-10-20T16:49:26",
    "name": "[v3] Add .editorconfig file",
    "commit_ref": "83c5ad0facdbd0173da2bb9ac0f0adc74c3db5ba",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "12511de1d094ff0ac104767006b2366663625740",
    "submitter": {
        "id": 140,
        "url": "https://patchwork.libcamera.org/api/people/140/?format=api",
        "name": "Robert Mader",
        "email": "robert.mader@collabora.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/21711/mbox/",
    "series": [
        {
            "id": 4729,
            "url": "https://patchwork.libcamera.org/api/series/4729/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4729",
            "date": "2024-10-20T16:49:26",
            "name": "[v3] Add .editorconfig file",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/4729/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/21711/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/21711/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 CE53FC3306\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 20 Oct 2024 16:49:52 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 74F5B65392;\n\tSun, 20 Oct 2024 18:49:52 +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 5B02E6538B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 20 Oct 2024 18:49:50 +0200 (CEST)",
            "by mx.zohomail.com with SMTPS id 1729442986620144.72450156166678; \n\tSun, 20 Oct 2024 09:49:46 -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=\"a2O89V3T\"; \n\tdkim-atps=neutral",
        "ARC-Seal": "i=1; a=rsa-sha256; t=1729442988; cv=none; \n\td=zohomail.com; s=zohoarc; \n\tb=W1LO5B7qDBFnQIQqUXzf6u9AhNsMkJoorCY6QpwQXZRQfwAfUkBbAeJcHpTVyDLLG2EPsi8rRoPa0DZdSG5Q9yqfo0Uzp19NWwjrR25Na5ZShrzT+CLPmMdEFexbQT1XrofJHYqIDl8bVaaVsjmOamNuJgMy5VE0R1TgFsQtfl4=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; \n\ts=zohoarc; t=1729442988;\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=nZVIdBidLDbx7sjV/ZeCvn6pxb1L8RKjFIZXm7ZdWJc=; \n\tb=SgbJ6o0H9Go1PX4F8hx2r6FNhjqgrxw/+rRCZQiajstdXWr/d3RykXZhMBzwnCZz95KlQxQt4PQLEBLSF9B5tYXye2zrO3I343SIryt12EtXRoSLSK/deuSbcrt1Gi3Akq/I/+ltthgHVDDzSfOc40sokjbjsa5Wq/dELrLEfTg=",
        "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=1729442988;\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=nZVIdBidLDbx7sjV/ZeCvn6pxb1L8RKjFIZXm7ZdWJc=;\n\tb=a2O89V3TfDGcaCIa+3m6PIHL3La8KTA527bew7zfEiZo+wati9ubbW2Y4Dr3jdun\n\tKUe7wUgV8IDLjQ3c/T83ojuYYawqay1Tt9wIoFc28819idnyb/QyDxG8b7QAZVsPpNP\n\t8evOnuCR26A6aLSq3E4OGW6BUoAYe9WcKHtv4nRQ=",
        "From": "Robert Mader <robert.mader@collabora.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Robert Mader <robert.mader@collabora.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>",
        "Subject": "[PATCH v3] Add .editorconfig file",
        "Date": "Sun, 20 Oct 2024 18:49:26 +0200",
        "Message-ID": "<20241020164926.255457-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>\nAcked-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n\n---\n\nChanges in version 3:\n - changed indent_size for meson files to 4\n - dropped meson.options from v2 again\n - added sections for .json and .yaml\n - dropped section for .xml\n - collected Acked-by\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 | 29 +++++++++++++++++++++++++++++\n 1 file changed, 29 insertions(+)\n create mode 100644 .editorconfig",
    "diff": "diff --git a/.editorconfig b/.editorconfig\nnew file mode 100644\nindex 00000000..a76b36a7\n--- /dev/null\n+++ b/.editorconfig\n@@ -0,0 +1,29 @@\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+[*.json]\n+indent_size = 4\n+indent_style = space\n+\n+[*.py]\n+indent_size = 4\n+indent_style = space\n+\n+[*.yaml]\n+indent_size = 2\n+indent_style = space\n+\n+[{meson.build,meson_options.txt}]\n+indent_size = 4\n+indent_style = space\n",
    "prefixes": [
        "v3"
    ]
}