Show a patch.

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

{
    "id": 2227,
    "url": "https://patchwork.libcamera.org/api/1.1/patches/2227/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/2227/",
    "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": "<20191026163950.8910-1-laurent.pinchart@ideasonboard.com>",
    "date": "2019-10-26T16:39:50",
    "name": "[libcamera-devel] meson: Add target to generate tags with ctags",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": false,
    "hash": "3c2d25961f2dc9433a6e18c3347444fa7e7b3e5f",
    "submitter": {
        "id": 2,
        "url": "https://patchwork.libcamera.org/api/1.1/people/2/?format=api",
        "name": "Laurent Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "delegate": {
        "id": 14,
        "url": "https://patchwork.libcamera.org/api/1.1/users/14/?format=api",
        "username": "pinchartl",
        "first_name": "Laurent",
        "last_name": "Pinchart",
        "email": "laurent.pinchart@ideasonboard.com"
    },
    "mbox": "https://patchwork.libcamera.org/patch/2227/mbox/",
    "series": [
        {
            "id": 554,
            "url": "https://patchwork.libcamera.org/api/1.1/series/554/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=554",
            "date": "2019-10-26T16:39:50",
            "name": "[libcamera-devel] meson: Add target to generate tags with ctags",
            "version": 1,
            "mbox": "https://patchwork.libcamera.org/series/554/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/2227/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/2227/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<laurent.pinchart@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 4AF9E61376\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 26 Oct 2019 18:40:05 +0200 (CEST)",
            "from pendragon.ideasonboard.com (143.121.2.93.rev.sfr.net\n\t[93.2.121.143])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id C6D38325\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tSat, 26 Oct 2019 18:40:04 +0200 (CEST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1572108004;\n\tbh=r4zjNMGpjPN26Wn+AzsjOjZDNONwIyBMKzkstjUsLmM=;\n\th=From:To:Subject:Date:From;\n\tb=MLYR7K550BaQdlBReOmQtMjYxUx2wAz7Q/UmG6kXMtxPx2Nx8KinlhttGtF+4Yr+s\n\tKcqVMjX5/hIRSULscFZfWAJNprrhk9leesQa2rqJxNm6LXnX54U/vpYMXtRj4OZCT5\n\tPo/hIvmKypkT/tvhfYS0P61LkEZYxYFf8yt12mN4=",
        "From": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Date": "Sat, 26 Oct 2019 19:39:50 +0300",
        "Message-Id": "<20191026163950.8910-1-laurent.pinchart@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.23.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[libcamera-devel] [PATCH] meson: Add target to generate tags with\n\tctags",
        "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": "Sat, 26 Oct 2019 16:40:05 -0000"
    },
    "content": "This should be useful for ctags users. The tags file will be placed at\nthe root of the source tree, and is added to .gitignore.\n\nSigned-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>\n---\n .gitignore  |  1 +\n meson.build | 11 +++++++++++\n 2 files changed, 12 insertions(+)",
    "diff": "diff --git a/.gitignore b/.gitignore\nindex e00516aaa716..0eefb058a8ef 100644\n--- a/.gitignore\n+++ b/.gitignore\n@@ -1,3 +1,4 @@\n build/\n patches/\n *.patch\n+tags\ndiff --git a/meson.build b/meson.build\nindex 72ad7c8b493b..e1997ed414f2 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -85,3 +85,14 @@ pkg_mod.generate(libraries : libcamera,\n                  name : 'libcamera',\n                  filebase : 'camera',\n                  description : 'Complex Camera Support Library')\n+\n+run_target('ctags',\n+           command : [\n+               'ctags',\n+               '-o', '@0@/tags'.format(meson.current_source_dir()),\n+           ] + [\n+               libcamera_api,\n+               libcamera_ipa_api,\n+               libcamera_headers,\n+               libcamera_sources,\n+           ])\n",
    "prefixes": [
        "libcamera-devel"
    ]
}