get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 54444,
    "url": "http://patches.dpdk.org/api/patches/54444/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190605202248.394-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": "<20190605202248.394-5-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190605202248.394-5-bruce.richardson@intel.com",
    "date": "2019-06-05T20:22:42",
    "name": "[04/10] drivers/common: add reasons for components being disabled",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b61ae682e0184a416a3457759055429ddd55e0ca",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190605202248.394-5-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 4915,
            "url": "http://patches.dpdk.org/api/series/4915/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4915",
            "date": "2019-06-05T20:22:38",
            "name": "enhance meson summary - list disabled components",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/4915/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/54444/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/54444/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 6FE541B9CF;\n\tWed,  5 Jun 2019 22:23:15 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 628D81B9C9\n\tfor <dev@dpdk.org>; Wed,  5 Jun 2019 22:23:13 +0200 (CEST)",
            "from orsmga008.jf.intel.com ([10.7.209.65])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Jun 2019 13:23:13 -0700",
            "from silpixa00399126.ir.intel.com (HELO\n\tsilpixa00399126.ger.corp.intel.com) ([10.237.223.2])\n\tby orsmga008.jf.intel.com with ESMTP; 05 Jun 2019 13:23:11 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "bluca@debian.org,\n\tthomas@monjalon.net",
        "Cc": "dev@dpdk.org, john.mcnamara@intel.com,\n\tBruce Richardson <bruce.richardson@intel.com>",
        "Date": "Wed,  5 Jun 2019 21:22:42 +0100",
        "Message-Id": "<20190605202248.394-5-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190605202248.394-1-bruce.richardson@intel.com>",
        "References": "<20190605202248.394-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 04/10] drivers/common: add reasons for components\n\tbeing disabled",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "For each driver where we optionally disable it, add in the reason why it's\nbeing disabled, so the user knows how to fix it.\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n drivers/common/dpaax/meson.build | 3 ++-\n drivers/common/mvep/meson.build  | 1 +\n drivers/common/qat/meson.build   | 1 +\n 3 files changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/common/dpaax/meson.build b/drivers/common/dpaax/meson.build\nindex 78378e2a6..a315e7786 100644\n--- a/drivers/common/dpaax/meson.build\n+++ b/drivers/common/dpaax/meson.build\n@@ -4,7 +4,8 @@\n allow_experimental_apis = true\n \n if not is_linux\n-        build = false\n+\tbuild = false\n+\treason = 'only supported on linux'\n endif\n \n sources = files('dpaax_iova_table.c')\ndiff --git a/drivers/common/mvep/meson.build b/drivers/common/mvep/meson.build\nindex 8ccfacb3f..8df4bc6e0 100644\n--- a/drivers/common/mvep/meson.build\n+++ b/drivers/common/mvep/meson.build\n@@ -10,6 +10,7 @@ inc_dir = path + '/include'\n lib = cc.find_library('libmusdk', dirs: [lib_dir], required: false)\n if not lib.found()\n \tbuild = false\n+\treason = 'missing dependency, \"libmusdk\"'\n else\n \text_deps += lib\n \tincludes += include_directories(inc_dir)\ndiff --git a/drivers/common/qat/meson.build b/drivers/common/qat/meson.build\nindex 80b6b25a8..8de249289 100644\n--- a/drivers/common/qat/meson.build\n+++ b/drivers/common/qat/meson.build\n@@ -4,6 +4,7 @@\n # This does not build a driver, but instead holds common files for\n # the crypto and compression drivers.\n build = false\n+reason = '' # sentinal value to suppress printout\n qat_deps = ['bus_pci']\n qat_sources = files('qat_common.c',\n \t\t'qat_qp.c',\n",
    "prefixes": [
        "04/10"
    ]
}