Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/74581/?format=api
https://patches.dpdk.org/api/patches/74581/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200721153950.748927-1-bruce.richardson@intel.com/", "project": { "id": 1, "url": "https://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": "<20200721153950.748927-1-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/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": true, "hash": "23db6236415215cbe7de51ea856a9496f807ed29", "submitter": { "id": 20, "url": "https://patches.dpdk.org/api/people/20/?format=api", "name": "Bruce Richardson", "email": "bruce.richardson@intel.com" }, "delegate": { "id": 1, "url": "https://patches.dpdk.org/api/users/1/?format=api", "username": "tmonjalo", "first_name": "Thomas", "last_name": "Monjalon", "email": "thomas@monjalon.net" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20200721153950.748927-1-bruce.richardson@intel.com/mbox/", "series": [ { "id": 11218, "url": "https://patches.dpdk.org/api/series/11218/?format=api", "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": {}, "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 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" ], "IronPort-SDR": [ "\n +bd/FHa/tFuSIaZSaR0RMXAZqXfFsSKUZv9jzt5qtiBw/S77T++invAaPrf/pu9edHjEPgUZo2\n EyP99Z8Om6cA==", "\n ykEQ2Ho6dab6R3FqFtUJvkdqqa2B8sXbD9L8y7DF65fTT8+lSiG+fjxZgySexy5P90GQiGRMrR\n 7LsQUjpcb2fg==" ], "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\"" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "John McNamara <john.mcnamara@intel.com>,\n Marko Kovacevic <marko.kovacevic@intel.com>", "Cc": "dev@dpdk.org,\n\tBruce Richardson <bruce.richardson@intel.com>", "Date": "Tue, 21 Jul 2020 16:39:50 +0100", "Message-Id": "<20200721153950.748927-1-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.25.1", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH] doc/guides: remove dependency on make build\n\tsystem", "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": "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": [] }{ "id": 74581, "url": "