Show a patch.

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

{
    "id": 24007,
    "url": "https://patchwork.libcamera.org/api/patches/24007/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/24007/",
    "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": "<20250728153201.7843-2-laurent.pinchart@ideasonboard.com>",
    "date": "2025-07-28T15:31:59",
    "name": "[libcamera-ci,v2,1/3] Avoid duplicated documentation builds",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "ac9ef644c69b090d1f7ccfb1ca243e117e6a46f3",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/24007/mbox/",
    "series": [
        {
            "id": 5344,
            "url": "https://patchwork.libcamera.org/api/series/5344/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5344",
            "date": "2025-07-28T15:31:58",
            "name": "Prepare CI for Sphinx doxylink usage",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/5344/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/24007/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/24007/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 72BB9C3237\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon, 28 Jul 2025 15:32:16 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 2565A691C3;\n\tMon, 28 Jul 2025 17:32:16 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 303CE691B9\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Jul 2025 17:32:10 +0200 (CEST)",
            "from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi\n\t[81.175.209.231])\n\tby perceval.ideasonboard.com (Postfix) with UTF8SMTPSA id BF94D42B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 28 Jul 2025 17:31:27 +0200 (CEST)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"JPzZAmp2\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1753716688;\n\tbh=vluVAcZ8nSC+8W9SO9WpWmyINfs0wXFE3OmRrNq5m+s=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=JPzZAmp28jvHgtVPLRmua2otaCMIo7J53ynttU5NQqyF4vtWxe7GsxStD7VrgpMUA\n\t4Ysiigp1sRu0j/UCQuKi0CCe1+VUG5ZTuz3lfGfkx4IIL5/8KeZvug23GuC60BFB6D\n\tifmlqAWZmivVDbkppxFg5sseV+2MuwgEtF1WewXY=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[libcamera-ci] [PATCH v2 1/3] Avoid duplicated documentation builds",
        "Date": "Mon, 28 Jul 2025 18:31:59 +0300",
        "Message-ID": "<20250728153201.7843-2-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.49.1",
        "In-Reply-To": "<20250728153201.7843-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20250728153201.7843-1-laurent.pinchart@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": "The libcamera documentation is built as part of every build job. This\nwastes CPU cycles. Build it only in the gcc 12 debug job, chosen\nsemi-randomly.\n\nWe could also split the documentation build to a separate job, but\nshort-running jobs are discouraged as they waste significant amount of\nresources to spawn the container in the runner.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\nReviewed-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n---\n gitlab-ci.yml | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/gitlab-ci.yml b/gitlab-ci.yml\nindex cad4c2b0c445..03ea7795f3ff 100644\n--- a/gitlab-ci.yml\n+++ b/gitlab-ci.yml\n@@ -16,7 +16,7 @@ variables:\n     -D b_sanitize=address\n     -D cam=enabled\n     -D cpp_debugstl=true\n-    -D documentation=enabled\n+    -D documentation=disabled\n     -D gstreamer=enabled\n     -D lc-compliance=enabled\n     -D pipelines=['all']\n@@ -170,13 +170,16 @@ build-full:debian:12:\n   variables:\n     MESON_OPTIONS: >-\n       ${MESON_ALL_OPTIONS}\n-      -D doc_werror=true\n   parallel:\n     matrix:\n       - ARCH: amd64\n         BUILD_TYPE: debug\n         CC: gcc-12\n         CXX: g++-12\n+        MESON_OPTIONS: >-\n+          ${MESON_ALL_OPTIONS}\n+          -D documentation=enabled\n+          -D doc_werror=true\n       - ARCH: amd64\n         BUILD_TYPE: release\n         CC: gcc-12\n",
    "prefixes": [
        "libcamera-ci",
        "v2",
        "1/3"
    ]
}