get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84051,
    "url": "http://patches.dpdk.org/api/patches/84051/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201112094142.1781861-3-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": "<20201112094142.1781861-3-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201112094142.1781861-3-bruce.richardson@intel.com",
    "date": "2020-11-12T09:41:40",
    "name": "[v4,2/4] examples/l2fwd-keepalive: skip build when no librt",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "047278d90bb59b424449c71ed8ef796832779464",
    "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/20201112094142.1781861-3-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 13835,
            "url": "http://patches.dpdk.org/api/series/13835/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13835",
            "date": "2020-11-12T09:41:38",
            "name": "improve examples installation",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/13835/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/84051/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/84051/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 CC2B8A09D3;\n\tThu, 12 Nov 2020 10:42:46 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C71A47CAE;\n\tThu, 12 Nov 2020 10:42:22 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id D5031592B;\n Thu, 12 Nov 2020 10:42:19 +0100 (CET)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Nov 2020 01:42:17 -0800",
            "from silpixa00399126.ir.intel.com ([10.237.222.4])\n by orsmga002.jf.intel.com with ESMTP; 12 Nov 2020 01:42:16 -0800"
        ],
        "IronPort-SDR": [
            "\n wfEmMvEeu9vQULMZUgowbkIQYrOdvsNDS+0Y31sygCvsk7GduwNVqjlVbUsSUIyXWi1FDIYF8R\n ACbCEnTxafyw==",
            "\n daSq2moQn1UrhmV6MtUKDsIrEGP2NVK2ISdS4tyH9VX1V4eLewWNUu4DPrIG86oLiVXS8tKwyD\n SXkSVW9QSlLg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9802\"; a=\"158062221\"",
            "E=Sophos;i=\"5.77,471,1596524400\"; d=\"scan'208\";a=\"158062221\"",
            "E=Sophos;i=\"5.77,471,1596524400\"; d=\"scan'208\";a=\"339347913\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com, Bruce Richardson <bruce.richardson@intel.com>,\n stable@dpdk.org",
        "Date": "Thu, 12 Nov 2020 09:41:40 +0000",
        "Message-Id": "<20201112094142.1781861-3-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20201112094142.1781861-1-bruce.richardson@intel.com>",
        "References": "<20201110170809.1309043-1-bruce.richardson@intel.com>\n <20201112094142.1781861-1-bruce.richardson@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 2/4] examples/l2fwd-keepalive: skip build when\n\tno librt",
        "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 librt is not present on a system, processing the meson.build file\nfor this example application causes an error. Make the library\nnon-mandatory and just mark the example as unbuildable if it is\nnot present.\n\nFixes: 89f0711f9ddf (\"examples: build some samples with meson\")\nCc: stable@dpdk.org\n\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n examples/l2fwd-keepalive/meson.build | 8 +++++++-\n 1 file changed, 7 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/examples/l2fwd-keepalive/meson.build b/examples/l2fwd-keepalive/meson.build\nindex d678a8ddd..a56d67967 100644\n--- a/examples/l2fwd-keepalive/meson.build\n+++ b/examples/l2fwd-keepalive/meson.build\n@@ -7,7 +7,13 @@\n # DPDK instance, use 'make'\n \n allow_experimental_apis = true\n-ext_deps += cc.find_library('rt')\n+librt = cc.find_library('rt', required: false)\n+if not librt.found()\n+\tbuild = false\n+\tsubdir_done()\n+endif\n+\n+ext_deps += librt\n deps += 'timer'\n sources = files(\n \t'main.c', 'shm.c'\n",
    "prefixes": [
        "v4",
        "2/4"
    ]
}