Show a patch.

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

{
    "id": 8,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/8/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/8/",
    "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": "<20181122131010.22085-3-kieran.bingham@ideasonboard.com>",
    "date": "2018-11-22T13:10:09",
    "name": "[libcamera-devel,2/3] CI: Provide initial automated testing",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": false,
    "hash": "a26c6cfde5762617c33e249e380f62d49ac62a67",
    "submitter": {
        "id": 4,
        "url": "https://patchwork.libcamera.org/api/1.1/people/4/?format=api",
        "name": "Kieran Bingham",
        "email": "kieran.bingham@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/8/mbox/",
    "series": [
        {
            "id": 4,
            "url": "https://patchwork.libcamera.org/api/1.1/series/4/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=4",
            "date": "2018-11-22T13:10:07",
            "name": "sphinx-documentation and initial CI",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/4/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/8/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/8/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<kieran.bingham@ideasonboard.com>",
        "Received": [
            "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 0B57160B12\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 22 Nov 2018 14:10:16 +0100 (CET)",
            "from localhost.localdomain\n\t(cpc89242-aztw30-2-0-cust488.18-1.cable.virginm.net [86.31.129.233])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 9AA55594;\n\tThu, 22 Nov 2018 14:10:15 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1542892215;\n\tbh=FIb0GJKsnQ8QF5E0PXkBR9zz5nUVwCqEMcV9whKz/LQ=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=pzhlPdK7vkgB/UzpXqR2Ivk+RUAIsVJjRqyzNqMZqdRSXaC8cgkZVyMOdY7/dCgKp\n\tbi2m6LjeJSaksyio13XcHY9w1X+H+a5GeWTNXFEMvc7rZZFwzfQaQoT1e39IQpHt1A\n\tMnntMgECTZ/+faHlnp1QQAp8S2/QN//RESdlqogE=",
        "From": "Kieran Bingham <kieran.bingham@ideasonboard.com>",
        "To": "LibCamera Devel <libcamera-devel@lists.libcamera.org>",
        "Date": "Thu, 22 Nov 2018 13:10:09 +0000",
        "Message-Id": "<20181122131010.22085-3-kieran.bingham@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20181122131010.22085-1-kieran.bingham@ideasonboard.com>",
        "References": "<20181122131010.22085-1-kieran.bingham@ideasonboard.com>",
        "Subject": "[libcamera-devel] [PATCH 2/3] CI: Provide initial automated testing",
        "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 Nov 2018 13:10:16 -0000"
    },
    "content": "Integrate compile testing and the ninja test framework.\nAny unit tests registered with the Meson Build system will automatically\nbe run with 'ninja test'.\n\nSigned-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>\n---\n .gitlab-ci.yml | 14 ++++++++++++++\n 1 file changed, 14 insertions(+)\n create mode 100644 .gitlab-ci.yml",
    "diff": "diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml\nnew file mode 100644\nindex 000000000000..8b4b4b12d368\n--- /dev/null\n+++ b/.gitlab-ci.yml\n@@ -0,0 +1,14 @@\n+image: gcc\n+\n+build:\n+  stage: build\n+  before_script:\n+    - apt update && apt -y install meson\n+  script:\n+    - mkdir libcamera && cd libcamera && meson .. && ninja\n+    - ninja test\n+  artifacts:\n+    paths:\n+      - libcamera/lib/libcamera.so\n+      - libcamera/test/test_init\n+      - meson-logs/testlog.txt\n",
    "prefixes": [
        "libcamera-devel",
        "2/3"
    ]
}