Show a patch.

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

{
    "id": 26071,
    "url": "https://patchwork.libcamera.org/api/patches/26071/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26071/",
    "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": "<20260202112511.640320-2-barnabas.pocze@ideasonboard.com>",
    "date": "2026-02-02T11:25:09",
    "name": "[RFC,v1,1/3] meson: Add `meson.format` file",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "fdb7453a6d47d63ad2020e47a2ac97ac182f9f23",
    "submitter": {
        "id": 216,
        "url": "https://patchwork.libcamera.org/api/people/216/?format=api",
        "name": "Barnabás Pőcze",
        "email": "barnabas.pocze@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26071/mbox/",
    "series": [
        {
            "id": 5765,
            "url": "https://patchwork.libcamera.org/api/series/5765/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5765",
            "date": "2026-02-02T11:25:09",
            "name": "meson: Add `meson.format` file",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5765/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26071/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26071/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 CF314C3226\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  2 Feb 2026 11:25:30 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id E0AFA61FFC;\n\tMon,  2 Feb 2026 12:25:29 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 16DC361F61\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  2 Feb 2026 12:25:28 +0100 (CET)",
            "from pb-laptop.local (185.221.142.123.nat.pool.zt.hu\n\t[185.221.142.123])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 67FFE874\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  2 Feb 2026 12:24:47 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"MJax8T7m\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1770031487;\n\tbh=t9oJzcoQz1RyqWxUCjT5NlTVd/fWxQBYA66hUvkVuXo=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=MJax8T7mrYVE9J+ZA6ehNk0vuGlICrgOW1fZEmytNSd4S9xXt+inavuwD82K49Fjv\n\tNtQ3ONlPzy3noNtJK1SkgONvFssjtzcci4aj3RTEvrBatgky9DBj3lWMCsxT29q64R\n\tbEW94YORMEUga0wpSuV+DLKkMYYa8st6u2bkei4Q=",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[RFC PATCH v1 1/3] meson: Add `meson.format` file",
        "Date": "Mon,  2 Feb 2026 12:25:09 +0100",
        "Message-ID": "<20260202112511.640320-2-barnabas.pocze@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260202112511.640320-1-barnabas.pocze@ideasonboard.com>",
        "References": "<20260202112511.640320-1-barnabas.pocze@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "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": "Since meson 1.5.0, `meson format` subcommand is available for\nformatting meson.build files[0]. This formatter uses the `meson.format`\nfile to store options. So add one, mostly instructing it to follow\nthe existing .editorconfig settings.\n\n[0]: https://mesonbuild.com/Commands.html#format\n\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n---\nI tried to match the current formatting, but only changed those options\nthat have different defaults.\n\nThere does not seem to be an option that matches the current formatting\nof long lines. So I'm afraid those need to change if `meson format` is\nto be used. I quite like `kwargs_force_multiline=true` personally,\nso wouldn't mind too much.\n---\n meson.format | 2 ++\n 1 file changed, 2 insertions(+)\n create mode 100644 meson.format\n\n--\n2.52.0",
    "diff": "diff --git a/meson.format b/meson.format\nnew file mode 100644\nindex 000000000..c50ca9b0a\n--- /dev/null\n+++ b/meson.format\n@@ -0,0 +1,2 @@\n+use_editor_config = true\n+wide_colon = true\n",
    "prefixes": [
        "RFC",
        "v1",
        "1/3"
    ]
}