Show a patch.

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

{
    "id": 23977,
    "url": "https://patchwork.libcamera.org/api/patches/23977/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/23977/",
    "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": "<20250727011123.31634-2-laurent.pinchart@ideasonboard.com>",
    "date": "2025-07-27T01:11:21",
    "name": "[libcamera-ci,1/3] Avoid duplicated documentation builds",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "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/23977/mbox/",
    "series": [
        {
            "id": 5339,
            "url": "https://patchwork.libcamera.org/api/series/5339/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5339",
            "date": "2025-07-27T01:11:20",
            "name": "Prepare CI for Sphinx doxylink usage",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5339/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/23977/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/23977/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 90DDFBDCC1\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSun, 27 Jul 2025 01:11:38 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 53DA469121;\n\tSun, 27 Jul 2025 03:11:38 +0200 (CEST)",
            "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 35D46614B6\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 27 Jul 2025 03:11:31 +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 3FE666A8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 27 Jul 2025 03:10:50 +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=\"jUKEhck8\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1753578650;\n\tbh=UPyo88ZteCZkjUI+TwVLzP3ucVIVGR/WcQtaNA3XZSA=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=jUKEhck8z/0TYSj/6gp/rNIq+3jr7+Kq0MjHVolAuMmPTS7hp2IaUbzD0SLgnjKD6\n\tJBdbLatiKCGOCG3/WNjbU05ezk/K/ir/W9sOZr68FHE4UMSYlV6AOw4ZX4POgdXrlB\n\telvdvCbfiDDHpNRSxQEAZ1D1jfj2ilSIzwxfiKW4=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[libcamera-ci] [PATCH 1/3] Avoid duplicated documentation builds",
        "Date": "Sun, 27 Jul 2025 04:11:21 +0300",
        "Message-ID": "<20250727011123.31634-2-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.49.1",
        "In-Reply-To": "<20250727011123.31634-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20250727011123.31634-1-laurent.pinchart@ideasonboard.com>",
        "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": "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>\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",
        "1/3"
    ]
}