Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/64835/?format=api
https://patches.dpdk.org/api/patches/64835/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200117112236.5225-3-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": "<20200117112236.5225-3-bruce.richardson@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200117112236.5225-3-bruce.richardson@intel.com", "date": "2020-01-17T11:22:36", "name": "[2/2] doc/api: track header files to rebuild docs on change", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "91a6ea26c0c87cbc4ca8de88b2b1c18080c7b2f2", "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/20200117112236.5225-3-bruce.richardson@intel.com/mbox/", "series": [ { "id": 8193, "url": "https://patches.dpdk.org/api/series/8193/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=8193", "date": "2020-01-17T11:22:34", "name": "Do proper dependency tracking for doxygen", "version": 1, "mbox": "https://patches.dpdk.org/series/8193/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/64835/comments/", "check": "warning", "checks": "https://patches.dpdk.org/api/patches/64835/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 D0FCDA051A;\n\tFri, 17 Jan 2020 12:25:46 +0100 (CET)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id BF5772A6C;\n\tFri, 17 Jan 2020 12:25:37 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by dpdk.org (Postfix) with ESMTP id 1E2352AB\n for <dev@dpdk.org>; Fri, 17 Jan 2020 12:25:32 +0100 (CET)", "from fmsmga008.fm.intel.com ([10.253.24.58])\n by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 17 Jan 2020 03:25:32 -0800", "from silpixa00399126.ir.intel.com ([10.237.222.218])\n by fmsmga008.fm.intel.com with ESMTP; 17 Jan 2020 03:25:32 -0800" ], "X-Amp-Result": "SKIPPED(no attachment in message)", "X-Amp-File-Uploaded": "False", "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.70,330,1574150400\"; d=\"scan'208\";a=\"220706535\"", "From": "Bruce Richardson <bruce.richardson@intel.com>", "To": "dev@dpdk.org", "Cc": "Bruce Richardson <bruce.richardson@intel.com>", "Date": "Fri, 17 Jan 2020 11:22:36 +0000", "Message-Id": "<20200117112236.5225-3-bruce.richardson@intel.com>", "X-Mailer": "git-send-email 2.20.1", "In-Reply-To": "<20200117112236.5225-1-bruce.richardson@intel.com>", "References": "<20200117112236.5225-1-bruce.richardson@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH 2/2] doc/api: track header files to rebuild docs\n\ton change", "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": "Generate a dependency file for the header files used in the API guide\nso that the docs can be rebuilt if a header changes.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n doc/api/generate_doxygen.sh | 5 ++++-\n doc/api/meson.build | 3 ++-\n 2 files changed, 6 insertions(+), 2 deletions(-)", "diff": "diff --git a/doc/api/generate_doxygen.sh b/doc/api/generate_doxygen.sh\nindex ab5766095..ee509e896 100755\n--- a/doc/api/generate_doxygen.sh\n+++ b/doc/api/generate_doxygen.sh\n@@ -6,5 +6,8 @@ DOXYCONF=$1\n OUTDIR=$2\n SCRIPTCSS=$3\n \n-doxygen \"${DOXYCONF}\"\n+# run doxygen, capturing all the header files it processed\n+doxygen \"${DOXYCONF}\" | tee doxygen.out\n+echo \"$OUTDIR: $(awk '/Preprocessing/ {printf(\"%s \", substr($2, 1, length($2) - 3))}' doxygen.out)\" > $OUTDIR.d\n+\n \"${SCRIPTCSS}\" \"${OUTDIR}\"/doxygen.css\ndiff --git a/doc/api/meson.build b/doc/api/meson.build\nindex 899e930fa..49d5b9a15 100644\n--- a/doc/api/meson.build\n+++ b/doc/api/meson.build\n@@ -15,7 +15,7 @@ generate_doxygen = find_program('generate_doxygen.sh')\n generate_examples = find_program('generate_examples.sh')\n generate_css = find_program('doxy-html-custom.sh')\n \n-htmldir = join_paths('share', 'doc', 'dpdk')\n+htmldir = join_paths(get_option('datadir'), 'doc', 'dpdk')\n \n # due to the following bug: https://github.com/mesonbuild/meson/issues/4107\n # if install is set to true it will override build_by_default and it will\n@@ -46,6 +46,7 @@ doxy_build = custom_target('doxygen',\n \tdepends: example,\n \tinput: doxy_conf,\n \toutput: 'api',\n+\tdepfile: 'api.d',\n \tcommand: [generate_doxygen, '@INPUT@', '@OUTPUT@', generate_css],\n \tinstall: get_option('enable_docs'),\n \tinstall_dir: htmldir,\n", "prefixes": [ "2/2" ] }{ "id": 64835, "url": "