Show a patch.

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

{
    "id": 26765,
    "url": "https://patchwork.libcamera.org/api/patches/26765/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26765/",
    "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": "<20260516202912.383234-3-laurent.pinchart@ideasonboard.com>",
    "date": "2026-05-16T20:29:12",
    "name": "[libcamera-ci,2/2] Move ssh configuration to deploy-libcamera-docs.sh script",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d809a27117fb85b57bdf60a06def104d422d8fb8",
    "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/26765/mbox/",
    "series": [
        {
            "id": 5950,
            "url": "https://patchwork.libcamera.org/api/series/5950/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5950",
            "date": "2026-05-16T20:29:10",
            "name": "Small improvements to documentation deployment",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/5950/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26765/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26765/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 DB3F7C32F7\n\tfor <parsemail@patchwork.libcamera.org>;\n\tSat, 16 May 2026 20:29:19 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 88DED63029;\n\tSat, 16 May 2026 22:29:18 +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 AB01A62E9D\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 16 May 2026 22:29:16 +0200 (CEST)",
            "from killaraus.ideasonboard.com\n\t(2001-14ba-70f3-e800--a06.rev.dnainternet.fi\n\t[IPv6:2001:14ba:70f3:e800::a06])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 912AB2F8\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 16 May 2026 22:29:05 +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=\"pftdyLj0\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1778963345;\n\tbh=p3KrQr4dSdW1K6qBDUqUA+vwo2qhf5SUZDRkdztKkMw=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=pftdyLj0U/QgQ3AGBIOh9qonyu5B26JDGCJjjLSTMwOXh9PHuBRvFLFxx1WVYVnHw\n\tpi+lxVpAPifvhgOnr8VYP0WLmqi7xiyw4jlY3BC4L+L2Dgvs/yYQSHKlMByOlhpqVc\n\tGaIHndB4uaW1NSkOQoGsWme2Cl6YyrgiW/h6Smxw=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Subject": "[libcamera-ci] [PATCH 2/2] Move ssh configuration to\n\tdeploy-libcamera-docs.sh script",
        "Date": "Sat, 16 May 2026 23:29:12 +0300",
        "Message-ID": "<20260516202912.383234-3-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.53.0",
        "In-Reply-To": "<20260516202912.383234-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20260516202912.383234-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": "Job definitions in .gitlab-ci.yml are stored by Gitlab in jobs. This\nmeans that a new full pipeline needs to be run when making a change to\nthe job, as re-running a failed job will not pick up changes to the job\ndefinition.\n\nTo avoid this and help with development, move the ssh configuration\nscript to the deploy-libcamera-docs.sh file. As the libcamera-ci\nrepository is cloned freshly every time a job is run, changes to the\nscript can be tested just by re-running the job.\n\nWhile at it, fix indentation in the rsync command.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n .gitlab-ci/deploy-libcamera-docs.sh | 16 +++++++++++-----\n gitlab-ci.yml                       |  7 -------\n 2 files changed, 11 insertions(+), 12 deletions(-)",
    "diff": "diff --git a/.gitlab-ci/deploy-libcamera-docs.sh b/.gitlab-ci/deploy-libcamera-docs.sh\nindex 639fdf748d07..d25c8275adf5 100755\n--- a/.gitlab-ci/deploy-libcamera-docs.sh\n+++ b/.gitlab-ci/deploy-libcamera-docs.sh\n@@ -12,12 +12,18 @@ source \"$(dirname \"$0\")/lib.sh\"\n libcamera_deploy_docs() {\n \techo \"Deploying libcamera docs for ${CI_COMMIT_REF_NAME}\"\n \n+\tmkdir -p ~/.ssh\n+\tchmod 700 ~/.ssh\n+\techo \"${DEPLOY_KNOWN_HOSTS}\" > ~/.ssh/known_hosts\n+\teval $(ssh-agent -s)\n+\techo \"${DEPLOY_SSH_KEY_BASE64}\" | base64 -d | ssh-add -\n+\n \trsync -rlz --delete --chmod=Do=rx,Fo=r \\\n-          --exclude .doctrees \\\n-          --exclude .buildinfo \\\n-          --exclude objects.inv \\\n-          docs/ \\\n-          \"${DEPLOY_DESTINATION}/${CI_COMMIT_REF_NAME}\"\n+\t\t--exclude .doctrees \\\n+\t\t--exclude .buildinfo \\\n+\t\t--exclude objects.inv \\\n+\t\tdocs/ \\\n+\t\t\"${DEPLOY_DESTINATION}/${CI_COMMIT_REF_NAME}\"\n }\n \n run libcamera_deploy_docs\ndiff --git a/gitlab-ci.yml b/gitlab-ci.yml\nindex e3274ca56e20..427f2d2516dc 100644\n--- a/gitlab-ci.yml\n+++ b/gitlab-ci.yml\n@@ -461,11 +461,4 @@ deploy-docs:\n   needs:\n     - job: build-docs\n   script:\n-    - |\n-      mkdir -p ~/.ssh\n-      chmod 700 ~/.ssh\n-      echo \"${DEPLOY_KNOWN_HOSTS}\" > ~/.ssh/known_hosts\n-      eval $(ssh-agent -s)\n-      echo \"${DEPLOY_SSH_KEY_BASE64}\" | base64 -d | ssh-add -\n-\n     - $CI_PROJECT_DIR/.gitlab-ci/deploy-libcamera-docs.sh\n",
    "prefixes": [
        "libcamera-ci",
        "2/2"
    ]
}