Show a patch.

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

{
    "id": 19366,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/19366/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/19366/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/1.1/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": "<20240104151548.2589-6-laurent.pinchart@ideasonboard.com>",
    "date": "2024-01-04T15:15:45",
    "name": "[libcamera-devel,5/8] utils: update-mojo.sh: Commit the mojo update",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "6dd698636b3d91778557243e6113e1792931ae24",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/19366/mbox/",
    "series": [
        {
            "id": 4132,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4132/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4132",
            "date": "2024-01-04T15:15:40",
            "name": "libcamera: Update mojo and mojo updater",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4132/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/19366/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/19366/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 63CADC32BD\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu,  4 Jan 2024 15:15:50 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 063FE62B5F;\n\tThu,  4 Jan 2024 16:15:50 +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 B68F062B53\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu,  4 Jan 2024 16:15:46 +0100 (CET)",
            "from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi\n\t[213.243.189.158])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id ED51422DD;\n\tThu,  4 Jan 2024 16:14:45 +0100 (CET)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1704381350;\n\tbh=tloJI7DMzwxrMhk3T+hAoksjDG26kkj+nSQQCn5+deI=;\n\th=To:Date:In-Reply-To:References:Subject:List-Id:List-Unsubscribe:\n\tList-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:\n\tFrom;\n\tb=Nouxh/8nlif9ge3k/I3iFaqcl68qVtVdAIz647ysJ/+d+W4vn9rWvl9iCm7/MK/qt\n\tIaT8i27wE3l0z7kw23SOBqBbIzdxJB6/wb4SPdt9y95j0KlqckbaTrUCzZAdB9M5kE\n\twYRtSDel2DSqfMC8GhxaR2pq6hQ2FIbG54JvjgooLJ7uEUIep8sQOy5RWkSY0pGv3U\n\tqsd2FYMQxVU65bIiSQUiQUYxY7e9Qessrwm7Aa0K+4URNQx5m1/+DYbuV6ByTmNaZ5\n\tXYuCQJTIxnFsf+ntjV2Q1TPYSIGRedRSE6WrjFqZETgTCHKPy6vEOcbkzVmxF+D7WW\n\tKheeEbh/88iSg==",
            "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1704381286;\n\tbh=tloJI7DMzwxrMhk3T+hAoksjDG26kkj+nSQQCn5+deI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=sSqA+7mOPsT1ZFZ+SnFDXTTep5Zjh4HbCCU4Rbi46qTIsq6PFoR1inDCuRwSuny3N\n\tiCzG+IFvH0I4eDL2h5kFbX6nOevHuY54C7dUoLh0WVmoLHzlA017+GEIkH+59RFoCt\n\tM6GQqGbrxuYGr1Uw7i8pvDNCifcSUZzoGfnXEmko="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"sSqA+7mO\"; dkim-atps=neutral",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu,  4 Jan 2024 17:15:45 +0200",
        "Message-ID": "<20240104151548.2589-6-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.41.0",
        "In-Reply-To": "<20240104151548.2589-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20240104151548.2589-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 5/8] utils: update-mojo.sh: Commit the\n\tmojo update",
        "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>",
        "From": "Laurent Pinchart via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "Cc": "Khem Raj <raj.khem@gmail.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Commit the mojo update with a standardized commit message. As mojo is\nimported as-is without local modifications, this simplifies usage of the\nupdate script.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n utils/update-mojo.sh | 20 ++++++++++++++------\n 1 file changed, 14 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/utils/update-mojo.sh b/utils/update-mojo.sh\nindex 25a280e04331..bb0f078e5b3f 100755\n--- a/utils/update-mojo.sh\n+++ b/utils/update-mojo.sh\n@@ -72,9 +72,17 @@ EOF\n echo \"$readme\" > utils/ipc/mojo/README\n echo \"$readme\" > utils/ipc/tools/README\n \n-cat <<EOF\n-------------------------------------------------------------\n-mojo updated. Please review and up-port local changes before\n-committing.\n-------------------------------------------------------------\n-EOF\n+# Commit the update.\n+git add utils/ipc/mojo/\n+git add utils/ipc/tools/\n+\n+echo \"utils: ipc: Update mojo\n+\n+Update mojo from commit\n+\n+$(git -C \"${chromium_dir}\" show --pretty='%H \"%s\"' --no-patch)\n+\n+from the Chromium repository.\n+\n+The update-mojo.sh script was used for this update.\" | \\\n+git commit -n -s -F -\n",
    "prefixes": [
        "libcamera-devel",
        "5/8"
    ]
}