Show a patch.

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

{
    "id": 23621,
    "url": "https://patchwork.libcamera.org/api/patches/23621/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/23621/",
    "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": "<20250620-add_b4_config-v1-1-bc183e48e886@foss.st.com>",
    "date": "2025-06-20T15:32:52",
    "name": "b4: Add .b4-config",
    "commit_ref": "9c082483f435421fe9ae8f899cdef55c81c35ca8",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "30678c4e4d3fc798c52a106f219eb2fbf982b83e",
    "submitter": {
        "id": 227,
        "url": "https://patchwork.libcamera.org/api/people/227/?format=api",
        "name": "Benjamin Mugnier",
        "email": "benjamin.mugnier@foss.st.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/23621/mbox/",
    "series": [
        {
            "id": 5237,
            "url": "https://patchwork.libcamera.org/api/series/5237/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5237",
            "date": "2025-06-20T15:32:52",
            "name": "b4: Add .b4-config",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5237/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/23621/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/23621/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 5EC34BDE6B\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 20 Jun 2025 15:33:37 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 3FBF668DD0;\n\tFri, 20 Jun 2025 17:33:36 +0200 (CEST)",
            "from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com\n\t[91.207.212.93])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id AF3FD61535\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Jun 2025 17:33:33 +0200 (CEST)",
            "from pps.filterd (m0046660.ppops.net [127.0.0.1])\n\tby mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id\n\t55KD6VbF008345 for <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Jun 2025 17:33:33 +0200",
            "from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35])\n\tby mx07-00178001.pphosted.com (PPS) with ESMTPS id 478x7af3xk-1\n\t(version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256\n\tverify=NOT) for <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Jun 2025 17:33:33 +0200 (MEST)",
            "from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20])\n\tby beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id BB5BA40049\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Jun 2025 17:33:06 +0200 (CEST)",
            "from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69])\n\tby euls16034.sgp.st.com (STMicroelectronics) with ESMTP id\n\t6D4B2B268A2 for <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Jun 2025 17:33:01 +0200 (CEST)",
            "from localhost (10.130.73.167) by SHFDAG1NODE1.st.com\n\t(10.75.129.69) with Microsoft SMTP Server (version=TLS1_2,\n\tcipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39;\n\tFri, 20 Jun 2025 17:33:01 +0200"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (2048-bit key;\n\tunprotected) header.d=foss.st.com header.i=@foss.st.com\n\theader.b=\"iq/+U5CS\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=\n\tcc:content-transfer-encoding:content-type:date:from:message-id\n\t:mime-version:subject:to; s=selector1; bh=X1Nup4y0ygh2lqMlAb3uPz\n\tW4Cfjyfl7vIJAXJnZUykQ=; b=iq/+U5CSiTF+EWfhFWydWNyTpb3PaRP+AYzKh5\n\tgl0Hk9NyJFBg7g+jYeoF+rSVGQfqclIAhGuRUT9No87m0OcJshOFc1BYlXjm06Ze\n\tj3s6oykVfgcf9mHEofsZSLrxRbZBV8j2un74BPwx2lHyHObnYwBLYic1LuVmAhsl\n\tHG0nbYUn2IDowRp804HkKXUF3A1tCX+yL3zzhFISzgtjc5sAm5T4KphaSYvYGVwq\n\tw1lHhAUyRglEciuYxY8dK9OIlGbHAZRo8bm/qY15aZIYUpGmr2Zl7KEZajADGLjK\n\tNLSPvZmk8mhaX0MBriP0i/M/laDrZSqRYVsFZCeumnNfjMYw==",
        "From": "Benjamin Mugnier <benjamin.mugnier@foss.st.com>",
        "Date": "Fri, 20 Jun 2025 17:32:52 +0200",
        "Subject": "[PATCH] b4: Add .b4-config",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=\"utf-8\"",
        "Content-Transfer-Encoding": "7bit",
        "Message-ID": "<20250620-add_b4_config-v1-1-bc183e48e886@foss.st.com>",
        "X-B4-Tracking": "v=1; b=H4sIACN/VWgC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE\n\tvPSU3UzU4B8JSMDI1MDMyMD3cSUlPgkk/jk/Ly0zHRdSzNTcxODNFMjyzQLJaCegqLUtMwKsHn\n\tRsbW1AA5MYq5fAAAA",
        "X-Change-ID": "20250620-add_b4_config-965740f529f8",
        "To": "<libcamera-devel@lists.libcamera.org>",
        "CC": "Benjamin Mugnier <benjamin.mugnier@foss.st.com>",
        "X-Mailer": "b4 0.14.2",
        "X-Originating-IP": "[10.130.73.167]",
        "X-ClientProxiedBy": "SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com\n\t(10.75.129.69)",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n\tengine=ICAP:2.0.293, Aquarius:18.0.1099, Hydra:6.0.736,\n\tFMLib:17.12.80.40\n\tdefinitions=2025-06-20_06,2025-06-20_01,2025-03-28_01",
        "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": "Per the b4 documentation: B4 is a tool created to make it easier for\nproject developers and maintainers to use a distributed development\nworkflow that relies on patches and distribution lists for code\ncontributions and review.\n\nB4 is now a common tool used by developers for Linux kernel workflows.\n\nWhile the Linux kernel support is handled inside b4, other projects can\nrely on a .b4-config file to achieve the same thing.\n\nAdd a .b4-config file to instruct b4 to send patches to the\nlibcamera-devel mailing list. This allows the command b4 prep\n--auto-to-cc to automatically add the mailing to its To: list.\n\nCommand output without .b4-config :\n\n$ b4 prep --auto-to-cc\nCollecting To/Cc addresses\nNo new addresses to add.\n\nWith .b4-config :\n\n$ b4 prep --auto-to-cc\nCollecting To/Cc addresses\n    + To: libcamera-devel@lists.libcamera.org\n\n---\nSigned-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>\n---\nYou can trim/expand this list with: b4 prep --edit-cover\nInvoking git-filter-repo to update the cover letter.\nNew history written in 0.02 seconds...\nCompletely finished after 0.04 seconds.\n\nSigned-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>\n---\n .b4-config | 2 ++\n 1 file changed, 2 insertions(+)\n\n\n---\nbase-commit: b3ff75d7589a263412ad63008b3c8518d40e6316\nchange-id: 20250620-add_b4_config-965740f529f8\n\nBest regards,",
    "diff": "diff --git a/.b4-config b/.b4-config\nnew file mode 100644\nindex 0000000000000000000000000000000000000000..371e3e9c2485a4e2cb0ff48ccbfa5f4b246f29ee\n--- /dev/null\n+++ b/.b4-config\n@@ -0,0 +1,2 @@\n+[b4]\n+  send-series-to = libcamera-devel@lists.libcamera.org\n",
    "prefixes": []
}