get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 28631,
    "url": "https://patches.dpdk.org/api/patches/28631/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20170912103809.140473-16-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": "<20170912103809.140473-16-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170912103809.140473-16-bruce.richardson@intel.com",
    "date": "2017-09-12T10:38:07",
    "name": "[dpdk-dev,v2,15/17] usertools: add usertools installation to meson build",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ba8e503d2fee9401bd667d8e758c28b7ca1c79c1",
    "submitter": {
        "id": 20,
        "url": "https://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20170912103809.140473-16-bruce.richardson@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/28631/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/28631/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id CCC721B202;\n\tTue, 12 Sep 2017 13:30:29 +0200 (CEST)",
            "from mga11.intel.com (mga11.intel.com [192.55.52.93])\n\tby dpdk.org (Postfix) with ESMTP id A7DA51B19F\n\tfor <dev@dpdk.org>; Tue, 12 Sep 2017 13:30:14 +0200 (CEST)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t12 Sep 2017 04:30:14 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.223])\n\tby fmsmga001.fm.intel.com with ESMTP; 12 Sep 2017 04:30:13 -0700"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.42,382,1500966000\"; d=\"scan'208\";\n\ta=\"1194186188\"",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "nhorman@tuxdriver.com, luca.boccassi@gmail.com,\n\tharry.van.haaren@intel.com, \n\tBruce Richardson <bruce.richardson@intel.com>",
        "Date": "Tue, 12 Sep 2017 11:38:07 +0100",
        "Message-Id": "<20170912103809.140473-16-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.13.5",
        "In-Reply-To": "<20170912103809.140473-1-bruce.richardson@intel.com>",
        "References": "<20170901100416.80264-1-bruce.richardson@intel.com>\n\t<20170912103809.140473-1-bruce.richardson@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2 15/17] usertools: add usertools installation\n\tto meson build",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Have the \"usertools\" scripts installed when doing a DPDK install using\nninja. They will be copies to $prefix/bin, generally /usr/local/bin,\nalongside testpmd.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\nReviewed-by: Harry van Haaren <harry.van.haaren@intel.com>\n---\n meson.build           |  3 ++-\n usertools/meson.build | 32 ++++++++++++++++++++++++++++++++\n 2 files changed, 34 insertions(+), 1 deletion(-)\n create mode 100644 usertools/meson.build",
    "diff": "diff --git a/meson.build b/meson.build\nindex 098d97cd3..9e4e9e809 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -62,7 +62,8 @@ subdir('lib')\n subdir('buildtools')\n subdir('drivers')\n \n-# build binaries and (TODO) installable tools\n+# build binaries and installable tools\n+subdir('usertools')\n subdir('app')\n \n # write the build config\ndiff --git a/usertools/meson.build b/usertools/meson.build\nnew file mode 100644\nindex 000000000..c5452e3fc\n--- /dev/null\n+++ b/usertools/meson.build\n@@ -0,0 +1,32 @@\n+#   BSD LICENSE\n+#\n+#   Copyright(c) 2017 Intel Corporation.\n+#   All rights reserved.\n+#\n+#   Redistribution and use in source and binary forms, with or without\n+#   modification, are permitted provided that the following conditions\n+#   are met:\n+#\n+#     * Redistributions of source code must retain the above copyright\n+#       notice, this list of conditions and the following disclaimer.\n+#     * Redistributions in binary form must reproduce the above copyright\n+#       notice, this list of conditions and the following disclaimer in\n+#       the documentation and/or other materials provided with the\n+#       distribution.\n+#     * Neither the name of Intel Corporation nor the names of its\n+#       contributors may be used to endorse or promote products derived\n+#       from this software without specific prior written permission.\n+#\n+#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n+#   \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n+#   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n+#   A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n+#   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n+#   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n+#   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n+#   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n+#   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n+#   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n+#   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n+\n+install_data(['dpdk-devbind.py', 'dpdk-pmdinfo.py'], install_dir: 'bin')\n",
    "prefixes": [
        "dpdk-dev",
        "v2",
        "15/17"
    ]
}