Show a patch.

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

{
    "id": 10596,
    "url": "https://patchwork.libcamera.org/api/patches/10596/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/10596/",
    "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": "<20201207150737.307692-5-kieran.bingham@ideasonboard.com>",
    "date": "2020-12-07T15:07:37",
    "name": "[libcamera-devel,4/4] meson: test: Simplify top level meson",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "1a917ceecedb67a2f70f62642f5cf3282e1fd1c0",
    "submitter": {
        "id": 4,
        "url": "https://patchwork.libcamera.org/api/people/4/?format=api",
        "name": "Kieran Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "delegate": {
        "id": 11,
        "url": "https://patchwork.libcamera.org/api/users/11/?format=api",
        "username": "kbingham",
        "first_name": "Kieran",
        "last_name": "Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "mbox": "https://patchwork.libcamera.org/patch/10596/mbox/",
    "series": [
        {
            "id": 1510,
            "url": "https://patchwork.libcamera.org/api/series/1510/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=1510",
            "date": "2020-12-07T15:07:33",
            "name": "libcamera: Small meson-fixes",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/1510/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/10596/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/10596/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 E9F85BDB21\n\tfor <parsemail@patchwork.libcamera.org>;\n\tMon,  7 Dec 2020 15:07:47 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 8B30467E5E;\n\tMon,  7 Dec 2020 16:07:47 +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 A1B7863546\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon,  7 Dec 2020 16:07:44 +0100 (CET)",
            "from Q.local (cpc89244-aztw30-2-0-cust3082.18-1.cable.virginm.net\n\t[86.31.172.11])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 3BFC445D;\n\tMon,  7 Dec 2020 16:07:44 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"OMT9VakQ\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1607353664;\n\tbh=kXqBwv+RjoCiRWGFQXhlBOEdFxJ26KRvzlJCKTtJpmI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=OMT9VakQnD4+7yDQsURSZvW/OaTgHsTleDlqgQdHBrMa1AYNL+lW2aYBzYgiE1x89\n\tzrFttAxyecUcUK0G4L0ld/KyuNE+pfPNSoztmswClvbsimm7cu9ebMKVcZiL2WszKn\n\tc9m2ynB/b87MwXeqjy7WeFvTlL9oaJokufUdlRLE=",
        "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "To": "libcamera devel <libcamera-devel@lists.libcamera.org>",
        "Date": "Mon,  7 Dec 2020 15:07:37 +0000",
        "Message-Id": "<20201207150737.307692-5-kieran.bingham@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20201207150737.307692-1-kieran.bingham@ideasonboard.com>",
        "References": "<20201207150737.307692-1-kieran.bingham@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Subject": "[libcamera-devel] [PATCH 4/4] meson: test: Simplify top level meson",
        "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>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "Utilise the subdir_done() functionality as is used with other optional components\nto simplify the top level meson file.\n\nSuggested-by: Jacopo Mondi <jacopo@jmondi.org>\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n meson.build      | 5 +----\n test/meson.build | 4 ++++\n 2 files changed, 5 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/meson.build b/meson.build\nindex 55cf36e15f57..c47eb420f4db 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -121,10 +121,7 @@ subdir('src')\n # through configuration values. They are enabled by default.\n \n subdir('Documentation')\n-\n-if get_option('test')\n-    subdir('test')\n-endif\n+subdir('test')\n \n if not meson.is_cross_build()\n     kernel_version_req = '>= 5.0.0'\ndiff --git a/test/meson.build b/test/meson.build\nindex 0a1d434e3996..7f0682ad9efe 100644\n--- a/test/meson.build\n+++ b/test/meson.build\n@@ -1,5 +1,9 @@\n # SPDX-License-Identifier: CC0-1.0\n \n+if not get_option('test')\n+    subdir_done()\n+endif\n+\n subdir('libtest')\n \n subdir('camera')\n",
    "prefixes": [
        "libcamera-devel",
        "4/4"
    ]
}