Show a patch.

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

{
    "id": 1124,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/1124/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/1124/",
    "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": "<20190428231238.30547-2-laurent.pinchart@ideasonboard.com>",
    "date": "2019-04-28T23:12:38",
    "name": "[libcamera-devel,2/2] libcamera: Use compile optimisation by default",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "bf496c7e1c394422e59d75a77fe94bed0ee7b1a1",
    "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/1124/mbox/",
    "series": [
        {
            "id": 280,
            "url": "https://patchwork.libcamera.org/api/1.1/series/280/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=280",
            "date": "2019-04-28T23:12:37",
            "name": "[libcamera-devel,1/2] libcamera: Don't ignore the return value of read() and write()",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/280/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/1124/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/1124/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 9E7C5600EE\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Apr 2019 01:12:57 +0200 (CEST)",
            "from pendragon.station (net-37-182-44-227.cust.vodafonedsl.it\n\t[37.182.44.227])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 3988A2DF\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tMon, 29 Apr 2019 01:12:57 +0200 (CEST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1556493177;\n\tbh=PWez/3Rqpyn8PNwBUDhIyo8JwZkYMNT6QDU3kq6HlzM=;\n\th=From:To:Subject:Date:In-Reply-To:References:From;\n\tb=uQ8AsPydsCIR6EwuLdPK369gRZcvk5s5spRUckf/J5FhjIOar09BFeaqPxEag67xi\n\tlh8Z1QxCbnEth3auqkOl49UVDGcWmrV0NLmcug+PAIkn3GB7yn97uc9hgQLU9ugbob\n\t/EsulHBu7j9xs41BHHZqoBiQeTdZoO7SLXgszWug=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Mon, 29 Apr 2019 02:12:38 +0300",
        "Message-Id": "<20190428231238.30547-2-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190428231238.30547-1-laurent.pinchart@ideasonboard.com>",
        "References": "<20190428231238.30547-1-laurent.pinchart@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH 2/2] libcamera: Use compile optimisation\n\tby default",
        "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": "Sun, 28 Apr 2019 23:12:57 -0000"
    },
    "content": "Set the compiler optimisation level to 2 by default.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n meson.build | 1 +\n 1 file changed, 1 insertion(+)",
    "diff": "diff --git a/meson.build b/meson.build\nindex d272ff33b100..a11a1e4c238e 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -5,6 +5,7 @@ project('libcamera', 'c', 'cpp',\n     'werror=true',\n     'warning_level=2',\n     'cpp_std=c++11',\n+    'optimization=2',\n   ],\n   license : 'LGPL 2.1+')\n \n",
    "prefixes": [
        "libcamera-devel",
        "2/2"
    ]
}