Show a patch.

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

{
    "id": 22424,
    "url": "https://patchwork.libcamera.org/api/patches/22424/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/22424/",
    "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": "<20241220135420.694142-1-pobrn@protonmail.com>",
    "date": "2024-12-20T13:54:24",
    "name": "[v2] libcamera: virtual: Install configuration file",
    "commit_ref": "8b35ce475364f91909492d7bbaf9ec89b15c2511",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "b9d6f37783fac11a71a6fe65274aad2aeba28d17",
    "submitter": {
        "id": 133,
        "url": "https://patchwork.libcamera.org/api/people/133/?format=api",
        "name": "Pőcze Barnabás",
        "email": "pobrn@protonmail.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/22424/mbox/",
    "series": [
        {
            "id": 4921,
            "url": "https://patchwork.libcamera.org/api/series/4921/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4921",
            "date": "2024-12-20T13:54:24",
            "name": "[v2] libcamera: virtual: Install configuration file",
            "version": 2,
            "mbox": "https://patchwork.libcamera.org/series/4921/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/22424/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/22424/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 314FFC32A3\n\tfor <parsemail@patchwork.libcamera.org>;\n\tFri, 20 Dec 2024 13:54:35 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id EF99F68498;\n\tFri, 20 Dec 2024 14:54:33 +0100 (CET)",
            "from mail-4322.protonmail.ch (mail-4322.protonmail.ch\n\t[185.70.43.22])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id A043367F24\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tFri, 20 Dec 2024 14:54:30 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=protonmail.com header.i=@protonmail.com\n\theader.b=\"aoR90YUW\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com;\n\ts=protonmail3; t=1734702870; x=1734962070;\n\tbh=/+9ZrBZy4C3cUqfMDEdaDbJsFBvDvczbb3+moU2EGUY=;\n\th=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date:\n\tSubject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector:\n\tList-Unsubscribe:List-Unsubscribe-Post;\n\tb=aoR90YUWPnQs+WvFhK6ElCn0UHAvIkYPIH2VLZ+r2oaQQ1iLdErk598s6ScqxugrD\n\t4pQyEWWk4UoLrZb/aMEMzf46PGGnLqaddXF6l/kpyefla2k35UYhOmkfxd7ctgCsSY\n\thIcR48OtO5XQ4ZUeJ9hVKPlGT6EIQhv/wt/JqENKJOi/0E1cziHawv2aKoxYrLuK4S\n\tnK/TEpJKwdFzZ4XfStjUqnMdiGi7SAo7cynTw7XquDZVQq1ucoTua/vn46wuvAf6Vd\n\t8P1TvhzURu6IGCN4OHpd7HfnqSjPM5D13F+XEhbHjDXsaXwNgWF1ED4pSnBIjJ2p4R\n\t06sIi2BuWSs6w==",
        "Date": "Fri, 20 Dec 2024 13:54:24 +0000",
        "To": "libcamera-devel@lists.libcamera.org",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <pobrn@protonmail.com>",
        "Cc": "Kieran Bingham <kieran.bingham@ideasonboard.com>,\n\tHarvey Yang <chenghaoyang@chromium.org>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "Subject": "[PATCH v2] libcamera: virtual: Install configuration file",
        "Message-ID": "<20241220135420.694142-1-pobrn@protonmail.com>",
        "Feedback-ID": "20568564:user:proton",
        "X-Pm-Message-ID": "4a4f3eda078032bf2aedde1946aad33232c03ed8",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=utf-8",
        "Content-Transfer-Encoding": "quoted-printable",
        "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": "Install the example configuration file of the virtual pipeline\nhandler as it serves documentation purposes, and to make the\nvirtual pipeline handler easily usable in CI.\n\nNonetheless, the file is installed with the \".example\" suffix\nso that it will not be used by default, to avoid cluttering\nthe camera lists of users whose distributions decide to\nenable the virtual pipeline handler.\n\nThe file is installed in the proper location for convenience:\n  (1) is is easier to use it in the CI;\n  (2) users need not browse documentation to determine where\n      they should place the file.\n\nSigned-off-by: Barnabás Pőcze <pobrn@protonmail.com>\nReviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\nReviewed-by: Harvey Yang <chenghaoyang@chromium.org>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/libcamera/pipeline/virtual/data/meson.build | 4 ++++\n src/libcamera/pipeline/virtual/meson.build      | 2 ++\n 2 files changed, 6 insertions(+)\n create mode 100644 src/libcamera/pipeline/virtual/data/meson.build",
    "diff": "diff --git a/src/libcamera/pipeline/virtual/data/meson.build b/src/libcamera/pipeline/virtual/data/meson.build\nnew file mode 100644\nindex 000000000..ce63f9a27\n--- /dev/null\n+++ b/src/libcamera/pipeline/virtual/data/meson.build\n@@ -0,0 +1,4 @@\n+install_data('virtual.yaml',\n+             install_dir : pipeline_data_dir / 'virtual',\n+             install_tag : 'runtime',\n+             rename: 'virtual.yaml.example')\ndiff --git a/src/libcamera/pipeline/virtual/meson.build b/src/libcamera/pipeline/virtual/meson.build\nindex 4786fe2e0..c84345936 100644\n--- a/src/libcamera/pipeline/virtual/meson.build\n+++ b/src/libcamera/pipeline/virtual/meson.build\n@@ -11,3 +11,5 @@ libjpeg = dependency('libjpeg', required : true)\n \n libcamera_deps += [libyuv_dep]\n libcamera_deps += [libjpeg]\n+\n+subdir('data')\n",
    "prefixes": [
        "v2"
    ]
}