Show a patch.

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

{
    "id": 2838,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/2838/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/2838/",
    "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": "<20200216221350.26681-1-laurent.pinchart@ideasonboard.com>",
    "date": "2020-02-16T22:13:50",
    "name": "[libcamera-devel] test: camera: buffer_import: Don't include <random>",
    "commit_ref": "475f9b9b02d42318b8cdf17505fb2f5d546c04b5",
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "41c0c3f33cddaeae603d26f2ced88678514c4ae3",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/2838/mbox/",
    "series": [
        {
            "id": 677,
            "url": "https://patchwork.libcamera.org/api/1.1/series/677/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=677",
            "date": "2020-02-16T22:13:50",
            "name": "[libcamera-devel] test: camera: buffer_import: Don't include <random>",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/677/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/2838/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/2838/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 1C67560438\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 16 Feb 2020 23:14:15 +0100 (CET)",
            "from pendragon.bb.dnainternet.fi (81-175-216-236.bb.dnainternet.fi\n\t[81.175.216.236])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 2E2A92AF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSun, 16 Feb 2020 23:14:13 +0100 (CET)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1581891254;\n\tbh=xm+7RyvAEe96r199tGVIyLlNlBdN6aNpGb3NOuJu+Ms=;\n\th=From:To:Subject:Date:From;\n\tb=R0WZkzhLowMaDCvVMXN2VabYpq/sF46Ke/o/qR8D8kY1TbmPlDB21NlMSkO2kcL/8\n\t/bQEnDunEX27nJbu5yMfoKudnhYRVdVrjSSvDFdL4LXmoejdgTHxHNhokyUmow/okp\n\tgh2dnEiwZzD8J3h5wcJfaEgDawYz/sINORnGRCrw=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon, 17 Feb 2020 00:13:50 +0200",
        "Message-Id": "<20200216221350.26681-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.24.1",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] test: camera: buffer_import: Don't\n\tinclude <random>",
        "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>",
        "X-List-Received-Date": "Sun, 16 Feb 2020 22:14:15 -0000"
    },
    "content": "The <random> header isn't needed since commit 6e1e847753fd (\"test:\ncamera: buffer_import: Update to FrameBuffer restrictions\"). Don't\ninclude it.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n test/camera/buffer_import.cpp | 1 -\n 1 file changed, 1 deletion(-)",
    "diff": "diff --git a/test/camera/buffer_import.cpp b/test/camera/buffer_import.cpp\nindex 7c9cfafc2a47..ab6e74bd1671 100644\n--- a/test/camera/buffer_import.cpp\n+++ b/test/camera/buffer_import.cpp\n@@ -10,7 +10,6 @@\n #include <algorithm>\n #include <iostream>\n #include <numeric>\n-#include <random>\n #include <vector>\n \n #include \"device_enumerator.h\"\n",
    "prefixes": [
        "libcamera-devel"
    ]
}