Show a patch.

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

{
    "id": 15951,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/15951/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/15951/",
    "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": "<20220518131329.66994-2-tomi.valkeinen@ideasonboard.com>",
    "date": "2022-05-18T13:13:12",
    "name": "[libcamera-devel,v3,01/18] py: meson: use files() for custom_target input files",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "319d5fb4647010eb0ccc01afb263d542994d45e9",
    "submitter": {
        "id": 109,
        "url": "https://patchwork.libcamera.org/api/1.1/people/109/?format=api",
        "name": "Tomi Valkeinen",
        "email": "tomi.valkeinen@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/15951/mbox/",
    "series": [
        {
            "id": 3122,
            "url": "https://patchwork.libcamera.org/api/1.1/series/3122/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=3122",
            "date": "2022-05-18T13:13:11",
            "name": "Misc Python bindings patches",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/3122/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/15951/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/15951/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 289A3C3256\n\tfor <parsemail@patchwork.libcamera.org>;\n\tWed, 18 May 2022 13:13:53 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 5C4EF65663;\n\tWed, 18 May 2022 15:13:50 +0200 (CEST)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id D5FD565656\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tWed, 18 May 2022 15:13:46 +0200 (CEST)",
            "from deskari.lan (91-156-85-209.elisa-laajakaista.fi\n\t[91.156.85.209])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 4DBCF1027;\n\tWed, 18 May 2022 15:13:46 +0200 (CEST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/simple; d=libcamera.org;\n\ts=mail; t=1652879630;\n\tbh=ZZ3IDxHSC+qdd3HzZK6lk4fjRtDB/Dtp8IClxoFVDOQ=;\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:\n\tFrom;\n\tb=NS2PPiSUeoQggmgth1rorET1Ta8e+GBGRk8Njmp9kgsvtReqJHjU5O5q+OxPSWO++\n\t7qprC3Ikbve4Cw8skXfaOoy2KS6dVNOvjVHfOPbsK8oPOG9+QFgPumUzZ1O4Asje5T\n\t5c8EbF3ZzmgKsKcB0LjuzSHks2xSacb7pMEEG+coFPqZax/5qqyRa4IL5pdQEODgEv\n\tFXfMQUIfky4lNxQiIR3a81hYJFiWG6kDQcDs5yd98VA37A5ysyNqMQy4SmBlVHc0Q9\n\tiMzbxxvc6MtI4vD+8tG3wvQGpphuK4c4BfaMmBe0V70v+Bw1JjxulNPCsVwMVCnyZI\n\teFNDgyIQCuE7Q==",
            "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1652879626;\n\tbh=ZZ3IDxHSC+qdd3HzZK6lk4fjRtDB/Dtp8IClxoFVDOQ=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=tQbOtn8rw+p0jSEeCEJGNDu8DVZBwonnG/c6vVV1yFPSGhZye2MCvN0F5/QsJyO/L\n\tkIhKGCptC0J5SoZAhVEoRjcQmWuNIeoyacFaoaN/7UUjCoTeGv/7tlKvMqTPN0DtY4\n\tfm+I2kKSzrK6sAP9hrZK+pxb0Yi/7M/P35TDnITc="
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key; \n\tunprotected) header.d=ideasonboard.com\n\theader.i=@ideasonboard.com\n\theader.b=\"tQbOtn8r\"; dkim-atps=neutral",
        "To": "libcamera-devel@lists.libcamera.org,\n\tDavid Plowman <david.plowman@raspberrypi.com>,\n\tKieran Bingham <kieran.bingham@ideasonboard.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>,\n\tJacopo Mondi <jacopo@jmondi.org>",
        "Date": "Wed, 18 May 2022 16:13:12 +0300",
        "Message-Id": "<20220518131329.66994-2-tomi.valkeinen@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.34.1",
        "In-Reply-To": "<20220518131329.66994-1-tomi.valkeinen@ideasonboard.com>",
        "References": "<20220518131329.66994-1-tomi.valkeinen@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH v3 01/18] py: meson: use files() for\n\tcustom_target input files",
        "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": "Tomi Valkeinen via libcamera-devel\n\t<libcamera-devel@lists.libcamera.org>",
        "Reply-To": "Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Use files() for the input files for the custom_target(). I believe the\ncurrent code works, but perhaps it is safer to use files() here.\n\nSigned-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>\nReviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n src/py/libcamera/meson.build | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/src/py/libcamera/meson.build b/src/py/libcamera/meson.build\nindex 2fc2eaec..cd20bb00 100644\n--- a/src/py/libcamera/meson.build\n+++ b/src/py/libcamera/meson.build\n@@ -17,10 +17,10 @@ pycamera_sources = files([\n     'pymain.cpp',\n ])\n \n-gen_input_files = [\n-    meson.project_source_root() / 'src' / 'libcamera' / 'control_ids.yaml',\n+gen_input_files = files([\n+    '../../libcamera/control_ids.yaml',\n     'pyenums_generated.cpp.in',\n-]\n+])\n \n gen_py_control_enums = files('gen-py-control-enums.py')\n \n",
    "prefixes": [
        "libcamera-devel",
        "v3",
        "01/18"
    ]
}