get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 64375,
    "url": "http://patches.dpdk.org/api/patches/64375/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200109153112.501282-5-bruce.richardson@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20200109153112.501282-5-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200109153112.501282-5-bruce.richardson@intel.com",
    "date": "2020-01-09T15:31:10",
    "name": "[v3,4/6] doc/guides: reduce whitespace in meson build file",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "a7d66eb358e08ceb3c127f1d5de0ce251dc3171c",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "http://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200109153112.501282-5-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 8039,
            "url": "http://patches.dpdk.org/api/series/8039/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8039",
            "date": "2020-01-09T15:31:06",
            "name": "meson build improvements",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/8039/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/64375/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/64375/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 83C95A046B;\n\tThu,  9 Jan 2020 16:32:16 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 23B3D1DEC3;\n\tThu,  9 Jan 2020 16:31:46 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by dpdk.org (Postfix) with ESMTP id 5548D1DEC2\n for <dev@dpdk.org>; Thu,  9 Jan 2020 16:31:45 +0100 (CET)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 09 Jan 2020 07:31:44 -0800",
            "from silpixa00399126.ir.intel.com (HELO\n silpixa00399126.ger.corp.intel.com) ([10.237.223.2])\n by orsmga008.jf.intel.com with ESMTP; 09 Jan 2020 07:31:43 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.69,414,1571727600\"; d=\"scan'208\";a=\"216333135\"",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "david.marchand@redhat.com,\n\tjohn.mcnamara@intel.com,\n\tbluca@debian.org",
        "Cc": "dev@dpdk.org, aconole@redhat.com, thomas@monjalon.net,\n Bruce Richardson <bruce.richardson@intel.com>",
        "Date": "Thu,  9 Jan 2020 15:31:10 +0000",
        "Message-Id": "<20200109153112.501282-5-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.24.1",
        "In-Reply-To": "<20200109153112.501282-1-bruce.richardson@intel.com>",
        "References": "<20200109115631.500056-1-bruce.richardson@intel.com>\n <20200109153112.501282-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v3 4/6] doc/guides: reduce whitespace in meson\n\tbuild file",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "For building the guides, we can make the meson.build easier to read by\nusing the subdir_done function to quit early.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nAcked-by: Aaron Conole <aconole@redhat.com>\n---\n doc/guides/meson.build | 44 ++++++++++++++++++++++--------------------\n 1 file changed, 23 insertions(+), 21 deletions(-)",
    "diff": "diff --git a/doc/guides/meson.build b/doc/guides/meson.build\nindex 7931ef3bb..80c21d168 100644\n--- a/doc/guides/meson.build\n+++ b/doc/guides/meson.build\n@@ -3,26 +3,28 @@\n \n sphinx = find_program('sphinx-build', required: get_option('enable_docs'))\n \n-if sphinx.found()\n-\thtmldir = join_paths('share', 'doc', 'dpdk')\n-\thtml_guides_build = custom_target('html_guides_build',\n-\t\tinput: meson.current_source_dir(),\n-\t\toutput: 'guides',\n-\t\tcommand: [sphinx, '-b', 'html',\n-\t\t\t'-d', meson.current_build_dir() + '/.doctrees',\n-\t\t\t'@INPUT@', meson.current_build_dir() + '/guides'],\n-\t\tbuild_by_default: get_option('enable_docs'),\n-\t\tinstall: get_option('enable_docs'),\n-\t\tinstall_dir: htmldir)\n+if not sphinx.found()\n+\tsubdir_done()\n+endif\n \n-\tdoc_targets += html_guides_build\n-\tdoc_target_names += 'HTML_Guides'\n+htmldir = join_paths('share', 'doc', 'dpdk')\n+html_guides = custom_target('html_guides',\n+\tinput: meson.current_source_dir(),\n+\toutput: 'guides',\n+\tcommand: [sphinx, '-b', 'html',\n+\t\t'-d', meson.current_build_dir() + '/.doctrees',\n+\t\t'@INPUT@', meson.current_build_dir() + '/guides'],\n+\tbuild_by_default: get_option('enable_docs'),\n+\tinstall: get_option('enable_docs'),\n+\tinstall_dir: htmldir)\n \n-\t# sphinx leaves a .buildinfo in the target directory, which we don't\n-\t# want to install. Note that sh -c has to be used, otherwise the\n-\t# env var does not get expanded if calling rm/install directly.\n-\tmeson.add_install_script('sh', '-c',\n-\t\t'rm -f $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/.buildinfo')\n-\tmeson.add_install_script('sh', '-c',\n-\t\t'install -D -m0644 $MESON_SOURCE_ROOT/doc/guides/custom.css $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/_static/css/custom.css')\n-endif\n+doc_targets += html_guides\n+doc_target_names += 'HTML_Guides'\n+\n+# sphinx leaves a .buildinfo in the target directory, which we don't\n+# want to install. Note that sh -c has to be used, otherwise the\n+# env var does not get expanded if calling rm/install directly.\n+meson.add_install_script('sh', '-c',\n+\t'rm -f $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/.buildinfo')\n+meson.add_install_script('sh', '-c',\n+\t'install -D -m0644 $MESON_SOURCE_ROOT/doc/guides/custom.css $MESON_INSTALL_DESTDIR_PREFIX/share/doc/dpdk/guides/_static/css/custom.css')\n",
    "prefixes": [
        "v3",
        "4/6"
    ]
}