Show a patch.

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

{
    "id": 74581,
    "url": "https://patches.dpdk.org/api/patches/74581/",
    "web_url": "https://patches.dpdk.org/patch/74581/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20200721153950.748927-1-bruce.richardson@intel.com>",
    "date": "2020-07-21T15:39:50",
    "name": "doc/guides: remove dependency on make build system",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "23db6236415215cbe7de51ea856a9496f807ed29",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/patch/74581/mbox/",
    "series": [
        {
            "id": 11218,
            "url": "https://patches.dpdk.org/api/series/11218/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11218",
            "date": "2020-07-21T15:39:50",
            "name": "doc/guides: remove dependency on make build system",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11218/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74581/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74581/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9689\"; a=\"130231795\"",
            "E=Sophos;i=\"5.75,379,1589266800\"; d=\"scan'208\";a=\"130231795\"",
            "E=Sophos;i=\"5.75,379,1589266800\"; d=\"scan'208\";a=\"270470455\""
        ],
        "IronPort-SDR": [
            "\n +bd/FHa/tFuSIaZSaR0RMXAZqXfFsSKUZv9jzt5qtiBw/S77T++invAaPrf/pu9edHjEPgUZo2\n EyP99Z8Om6cA==",
            "\n ykEQ2Ho6dab6R3FqFtUJvkdqqa2B8sXbD9L8y7DF65fTT8+lSiG+fjxZgySexy5P90GQiGRMrR\n 7LsQUjpcb2fg=="
        ],
        "X-Amp-File-Uploaded": "False",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "MIME-Version": "1.0",
        "X-BeenThere": "dev@dpdk.org",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "Subject": "[dpdk-dev] [PATCH] doc/guides: remove dependency on make build\n\tsystem",
        "Sender": "\"dev\" <dev-bounces@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 223F8A0526;\n\tTue, 21 Jul 2020 17:40:07 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CA6411BFE9;\n\tTue, 21 Jul 2020 17:40:06 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n by dpdk.org (Postfix) with ESMTP id 1A29E1BFE7\n for <dev@dpdk.org>; Tue, 21 Jul 2020 17:40:04 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Jul 2020 08:40:04 -0700",
            "from silpixa00399126.ir.intel.com ([10.237.222.36])\n by fmsmga007.fm.intel.com with ESMTP; 21 Jul 2020 08:40:03 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.25.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-ExtLoop1": "1",
        "Date": "Tue, 21 Jul 2020 16:39:50 +0100",
        "Content-Transfer-Encoding": "8bit",
        "To": "John McNamara <john.mcnamara@intel.com>,\n Marko Kovacevic <marko.kovacevic@intel.com>",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Cc": "dev@dpdk.org,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Message-Id": "<20200721153950.748927-1-bruce.richardson@intel.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "When building the DPDK guide documents, the DPDK version information was\npulled using \"make showversion\", which meant there was a dependency on\nthe DPDK make-based build system. Change this to just read the data from\nthe VERSION file in the root directory.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\nNOTE: When make build system is completed removed, we can change the\nrelative path to the VERSION file i.e. \"../../\", to instead pull the\npath from \"MESON_SOURCE_ROOT\" in the environment, which should be more\nrobust.\n---\n doc/guides/conf.py | 7 ++-----\n 1 file changed, 2 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/doc/guides/conf.py b/doc/guides/conf.py\nindex 700e05e17..ff8ddc7e7 100644\n--- a/doc/guides/conf.py\n+++ b/doc/guides/conf.py\n@@ -2,7 +2,6 @@\n # Copyright(c) 2010-2015 Intel Corporation\n \n from __future__ import print_function\n-import subprocess\n from docutils import nodes\n from distutils.version import LooseVersion\n from sphinx import __version__ as sphinx_version\n@@ -38,10 +37,8 @@\n html_show_copyright = False\n highlight_language = 'none'\n \n-# If MAKEFLAGS is exported by the user, garbage text might end up in version\n-version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion'],\n-                                  env=dict(environ, MAKEFLAGS=\"\"))\n-version = version.decode('utf-8').rstrip()\n+with open('../../VERSION') as verfile:\n+    version = verfile.readline().rstrip()\n release = version\n \n master_doc = 'index'\n",
    "prefixes": []
}