Show a patch.

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

{
    "id": 1855,
    "url": "https://patchwork.libcamera.org/api/patches/1855/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/1855/",
    "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": "<20190822090950.7632-1-laurent.pinchart@ideasonboard.com>",
    "date": "2019-08-22T09:09:50",
    "name": "[libcamera-devel] meson: Rename 'tests' option to 'test'",
    "commit_ref": "8a92e6fc72a0d226bbf9ae6932386b08926b471e",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "be0746a36c555cb86fee686c78d221f3064850a6",
    "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/1855/mbox/",
    "series": [
        {
            "id": 467,
            "url": "https://patchwork.libcamera.org/api/series/467/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=467",
            "date": "2019-08-22T09:09:50",
            "name": "[libcamera-devel] meson: Rename 'tests' option to 'test'",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/467/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/1855/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/1855/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<laurent.pinchart@ideasonboard.com>",
        "Received": [
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[213.167.242.64])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id F100F60C05\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 22 Aug 2019 11:10:01 +0200 (CEST)",
            "from pendragon.bb.dnainternet.fi\n\t(dfj612yhrgyx302h3jwwy-3.rev.dnainternet.fi\n\t[IPv6:2001:14ba:21f5:5b00:ce28:277f:58d7:3ca4])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 6E2A352B\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 22 Aug 2019 11:10:01 +0200 (CEST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1566465001;\n\tbh=hGpn5as2kicoYnkYzuQ8gY3QOq1Ha10zPmKvjewjTtM=;\n\th=From:To:Subject:Date:From;\n\tb=E4CqmgYsqqy7/lVfXbgTnxsWnYgBSd0GvCrZXOv77tMwleuelUjRBv8Gah4uclZpZ\n\tNdpHsjVYMOdxSXFrKT9Eo9/V14PI+DblG5RO2aggMbQAlEkCvxP6vZsnUjQ79nyOAU\n\tek8qEi97bo91qOXhK0X/DpevgYm3Y/YIuZPh/miw=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Thu, 22 Aug 2019 12:09:50 +0300",
        "Message-Id": "<20190822090950.7632-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] meson: Rename 'tests' option to 'test'",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.23",
        "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>",
        "X-List-Received-Date": "Thu, 22 Aug 2019 09:10:02 -0000"
    },
    "content": "The 'tests' option enables compilation of tests. On Gentoo and Chrome\nOS, the corresponding package USE flag is named 'test'. Rename the\noption to 'test' to bring it in line.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\nWe could also handle this in the libcamera ebuilds, but I think bringing\nthe option name in line with common practices is a good idea. Any\npreference from anyone ?\n\n meson.build       | 2 +-\n meson_options.txt | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/meson.build b/meson.build\nindex 5201a2f5d78b..72ad7c8b493b 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -73,7 +73,7 @@ if get_option('documentation')\n     subdir('Documentation')\n endif\n \n-if get_option('tests')\n+if get_option('test')\n     subdir('test')\n endif\n \ndiff --git a/meson_options.txt b/meson_options.txt\nindex 2d78b8d91f9c..1a328045306c 100644\n--- a/meson_options.txt\n+++ b/meson_options.txt\n@@ -7,6 +7,6 @@ option('documentation',\n         type : 'boolean',\n         description : 'Generate the project documentation')\n \n-option('tests',\n+option('test',\n         type : 'boolean',\n         description: 'Compile and include the tests')\n",
    "prefixes": [
        "libcamera-devel"
    ]
}