get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76793,
    "url": "http://patches.dpdk.org/api/patches/76793/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200907220711.437405-13-thomas@monjalon.net/",
    "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": "<20200907220711.437405-13-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200907220711.437405-13-thomas@monjalon.net",
    "date": "2020-09-07T22:06:52",
    "name": "[v4,12/31] buildtools: remove scripts used only with make",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ead0aad2eab03e1fe2ab913c948041678d6406fd",
    "submitter": {
        "id": 685,
        "url": "http://patches.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200907220711.437405-13-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 12000,
            "url": "http://patches.dpdk.org/api/series/12000/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=12000",
            "date": "2020-09-07T22:06:40",
            "name": "remove make support in DPDK",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/12000/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76793/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/76793/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 6F0EDA04AA;\n\tTue,  8 Sep 2020 00:09:15 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E03241C1BD;\n\tTue,  8 Sep 2020 00:07:39 +0200 (CEST)",
            "from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com\n [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 107811C1AF\n for <dev@dpdk.org>; Tue,  8 Sep 2020 00:07:38 +0200 (CEST)",
            "from compute7.internal (compute7.nyi.internal [10.202.2.47])\n by mailout.nyi.internal (Postfix) with ESMTP id AAF115C0081;\n Mon,  7 Sep 2020 18:07:37 -0400 (EDT)",
            "from mailfrontend1 ([10.202.2.162])\n by compute7.internal (MEProxy); Mon, 07 Sep 2020 18:07:37 -0400",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id ECFA0328005A;\n Mon,  7 Sep 2020 18:07:36 -0400 (EDT)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding; s=fm2; bh=alKO7Z75bG8An\n AhPfIq4zdF1LmeU+rzy0kwjw+F1NG0=; b=krWwClW+gnsLYXuu0Ws2xV6Wakvmq\n uI4ogusq3czAHZZ61d/XgV2VQh6MpMQ/X1nyXtmv59ba1IlXTNcZ3my5MyvHhOaX\n Ck2i2uFKq1YHbe1Nqomq1bO3F86OaBLi6oHTaMgmBolTtDXhGhYeMP6YPVL3dloE\n Rp9FZW2lO5OkZ3sj69PygGFfNRuR+5IvLzMcca3tvTWaHpcGFpDB5oy3wv0tihLj\n 0sgohLKMqzRQfhasvEx37w2mW5cXvU5p6A4Wl/TL2gIBy7z8vVeoNrI7UJdvNX9+\n 99kJd9w4L8f0oeRqjE69+bFM24D2FoNuBWyPulwU4fvseW9V8g/2jMOEg==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :in-reply-to:message-id:mime-version:references:subject:to\n :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=\n fm3; bh=alKO7Z75bG8AnAhPfIq4zdF1LmeU+rzy0kwjw+F1NG0=; b=N6bWRiUa\n UHo3HWgPIbpRc798fQELzYrsDnZX7HHNcUTZNf5lvnDakHw6Cc8vl8pzb0zIj0hu\n xAdywDc2kBexbh8FMfCh70eN7uyOQjHuqSkT44qlj0hBDjJDwkNIkxig+OPeSwwI\n 0bAkmBdyNi/hn+axMp6Qrc9WoD59szUlM1nBmkvUJIpoQWhu9Wgqh0uzQKpx6Q1G\n 6lmQ9bODsVEvgcv5eBxHjFrAdR6evf+G89b0DfxqJaigBOcelvqoo091jyrVGKk2\n 1bYgs9Iwzjv7mF375t1/kNbkQqdnd7PDv7CSERSAH5YVyIbbuYgoSOz+sz/K36jc\n cmnta1GJHSHdwQ=="
        ],
        "X-ME-Sender": "<xms:Ka9WX9GgtSGu750y61bmz9J7jHEIKizfE3xl69H_IsCU_sUh3SeD6g>\n <xme:Ka9WXyVbc09HlAvqyKREfeIarWIVGxOsbM25k2qS6gduEvCaqv1WUp4JqZ_ku6mjZ\n 9kF-VTS0wMl2d6axg>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgeduiedrudehuddgtdefucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre\n dtredttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes\n mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedvhefgiedvjeegtdevhe\n efhfetleefgfeivefgffevfeejgedtgfeutdehtdegveenucfkphepjeejrddufeegrddv\n tdefrddukeegnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilhhfrh\n homhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth",
        "X-ME-Proxy": "<xmx:Ka9WX_JkfYtZP56NFW0TMikpz5kSnWkGU1FTwZqdFahxhkZpUINoGg>\n <xmx:Ka9WXzHTED0vUp5bCQpSQCfg6W_I1yeSTH8cNvHzHZbl7_-Bk2hN_w>\n <xmx:Ka9WXzW2V4np2HafLMRNS1sgRAPq-Qe69vy4B5kINQvJ1K-ZZmtDgg>\n <xmx:Ka9WX6ezwmKPjwl1L9gTxI_DtTaI1J1qKeMYYk3Ko4sicoWCPbOTqw>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com, bruce.richardson@intel.com,\n ciara.power@intel.com",
        "Date": "Tue,  8 Sep 2020 00:06:52 +0200",
        "Message-Id": "<20200907220711.437405-13-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.28.0",
        "In-Reply-To": "<20200907220711.437405-1-thomas@monjalon.net>",
        "References": "<20200903152717.42095-1-ciara.power@intel.com>\n <20200907220711.437405-1-thomas@monjalon.net>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 12/31] buildtools: remove scripts used only\n\twith make",
        "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": "From: Ciara Power <ciara.power@intel.com>\n\nMake is no longer supported for compiling DPDK, scripts used with make\nare no longer needed.\n\nSigned-off-by: Ciara Power <ciara.power@intel.com>\n---\n MAINTAINERS                 |   4 --\n buildtools/auto-config-h.sh | 108 ------------------------------------\n buildtools/gen-build-mk.sh  |  23 --------\n buildtools/gen-config-h.sh  |  15 -----\n buildtools/relpath.sh       |  76 -------------------------\n 5 files changed, 226 deletions(-)\n delete mode 100755 buildtools/auto-config-h.sh\n delete mode 100755 buildtools/gen-build-mk.sh\n delete mode 100755 buildtools/gen-config-h.sh\n delete mode 100755 buildtools/relpath.sh",
    "diff": "diff --git a/MAINTAINERS b/MAINTAINERS\nindex d8a51b0af1..37f1f1fc56 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -100,10 +100,6 @@ Build System\n M: Thomas Monjalon <thomas@monjalon.net>\n F: Makefile\n F: config/\n-F: buildtools/auto-config-h.sh\n-F: buildtools/gen-build-mk.sh\n-F: buildtools/gen-config-h.sh\n-F: buildtools/relpath.sh\n \n Meson build\n M: Bruce Richardson <bruce.richardson@intel.com>\ndiff --git a/buildtools/auto-config-h.sh b/buildtools/auto-config-h.sh\ndeleted file mode 100755\nindex 5b613c35fc..0000000000\n--- a/buildtools/auto-config-h.sh\n+++ /dev/null\n@@ -1,108 +0,0 @@\n-#!/bin/sh\n-# SPDX-License-Identifier: BSD-3-Clause\n-# Copyright 2014-2015 6WIND S.A.\n-#\n-# Crude script to detect whether particular types, macros and functions are\n-# defined by trying to compile a file with a given header. Can be used to\n-# perform cross-platform checks since the resulting object file is not\n-# executed.\n-#\n-# Set VERBOSE=1 in the environment to display compiler output and errors.\n-#\n-# CC, CPPFLAGS, CFLAGS, EXTRA_CPPFLAGS and EXTRA_CFLAGS are taken from the\n-# environment.\n-#\n-# AUTO_CONFIG_CFLAGS may append additional CFLAGS without modifying the\n-# above variables.\n-\n-file=${1:?output file name required (config.h)}\n-macro=${2:?output macro name required (HAVE_*)}\n-include=${3:?include name required (foo.h)}\n-type=${4:?object type required (define, enum, type, field, func)}\n-name=${5:?define/type/function name required}\n-\n-: ${CC:=cc}\n-\n-temp=$(mktemp -t dpdk.${0##*/}.c.XXXXXX)\n-\n-case $type in\n-define)\n-\tcode=\"\\\n-#ifndef $name\n-#error $name not defined\n-#endif\n-\"\n-\t;;\n-enum)\n-\tcode=\"\\\n-long test____ = $name;\n-\"\n-\t;;\n-type)\n-\tcode=\"\\\n-$name test____;\n-\"\n-\t;;\n-field)\n-\tcode=\"\\\n-void test____(void)\n-{\n-\t${name%%.*} test_____;\n-\n-\t(void)test_____.${name#*.};\n-}\n-\"\n-\t;;\n-func)\n-\tcode=\"\\\n-void (*test____)() = (void (*)())$name;\n-\"\n-\t;;\n-*)\n-\tunset error\n-\t: ${error:?unknown object type \\\"$type\\\"}\n-\texit\n-esac\n-\n-if [ \"${VERBOSE}\" = 1 ]\n-then\n-\terr=2\n-\tout=1\n-\teol='\n-'\n-else\n-\texec 3> /dev/null ||\n-\texit\n-\terr=3\n-\tout=3\n-\teol=' '\n-fi &&\n-printf 'Looking for %s %s in %s.%s' \\\n-\t\"${name}\" \"${type}\" \"${include}\" \"${eol}\" &&\n-printf \"\\\n-#include <%s>\n-\n-%s\n-\" \"$include\" \"$code\" > \"${temp}\" &&\n-if ${CC} ${CPPFLAGS} ${EXTRA_CPPFLAGS} ${CFLAGS} ${EXTRA_CFLAGS} \\\n-\t${AUTO_CONFIG_CFLAGS} \\\n-\t-xc -c -o ${temp}.o \"${temp}\" 1>&${out} 2>&${err}\n-then\n-\trm -f \"${temp}\" \"${temp}.o\"\n-\tprintf \"\\\n-#ifndef %s\n-#define %s 1\n-#endif /* %s */\n-\n-\" \"${macro}\" \"${macro}\" \"${macro}\" >> \"${file}\" &&\n-\tprintf 'Defining %s.\\n' \"${macro}\"\n-else\n-\trm -f \"${temp}\" \"${temp}.o\"\n-\tprintf \"\\\n-/* %s is not defined. */\n-\n-\" \"${macro}\" >> \"${file}\" &&\n-\tprintf 'Not defining %s.\\n' \"${macro}\"\n-fi\n-\n-exit\ndiff --git a/buildtools/gen-build-mk.sh b/buildtools/gen-build-mk.sh\ndeleted file mode 100755\nindex 636920b638..0000000000\n--- a/buildtools/gen-build-mk.sh\n+++ /dev/null\n@@ -1,23 +0,0 @@\n-#!/bin/sh\n-# SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n-\n-# Auto-generate a Makefile in build directory\n-# Args:\n-#   $1: path of project src root\n-\n-echo \"# Automatically generated by gen-build-mk.sh\"\n-echo\n-echo \"ifdef O\"\n-echo \"ifeq (\\\"\\$(origin O)\\\", \\\"command line\\\")\"\n-echo \"\\$(error \\\"Cannot specify O= as you are already in a build directory\\\")\"\n-echo \"endif\"\n-echo \"endif\"\n-echo\n-echo \"MAKEFLAGS += --no-print-directory\"\n-echo\n-echo \"all:\"\n-echo \"\t@\\$(MAKE) -C $1 O=\\$(CURDIR)\"\n-echo\n-echo \"%::\"\n-echo \"\t@\\$(MAKE) -C $1 O=\\$(CURDIR) \\$@\"\ndiff --git a/buildtools/gen-config-h.sh b/buildtools/gen-config-h.sh\ndeleted file mode 100755\nindex a8c2006339..0000000000\n--- a/buildtools/gen-config-h.sh\n+++ /dev/null\n@@ -1,15 +0,0 @@\n-#!/bin/sh\n-# SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n-\n-echo \"#ifndef __RTE_CONFIG_H\"\n-echo \"#define __RTE_CONFIG_H\"\n-grep CONFIG_ $1 |\n-grep -v '^[ \\t]*#' |\n-sed 's,CONFIG_\\(.*\\)=y.*$,#undef \\1\\\n-#define \\1 1,' |\n-sed 's,CONFIG_\\(.*\\)=n.*$,#undef \\1,' |\n-sed 's,CONFIG_\\(.*\\)=\\(.*\\)$,#undef \\1\\\n-#define \\1 \\2,' |\n-sed 's,\\# CONFIG_\\(.*\\) is not set$,#undef \\1,'\n-echo \"#endif /* __RTE_CONFIG_H */\"\ndiff --git a/buildtools/relpath.sh b/buildtools/relpath.sh\ndeleted file mode 100755\nindex 02953837a2..0000000000\n--- a/buildtools/relpath.sh\n+++ /dev/null\n@@ -1,76 +0,0 @@\n-#!/bin/sh\n-# SPDX-License-Identifier: BSD-3-Clause\n-# Copyright(c) 2010-2014 Intel Corporation\n-\n-#\n-# print the relative path of $1 from $2 directory\n-# $1 and $2 MUST be absolute paths\n-#\n-\n-if [ $# -ne 2 ]; then\n-\techo \"Bad arguments\"\n-\techo \"Usage:\"\n-\techo \"  $0 path1 path2\"\n-\texit 1\n-fi\n-\n-# get the real absolute path, derefencing symlinks\n-ABS1=\"$(dirname $(readlink -f $1))/$(basename $1)\"\n-ABS2=$(readlink -f $2)\n-\n-# remove leading slash\n-REL1=${ABS1#/}\n-REL2=${ABS2#/}\n-\n-left1=${REL1%%/*}\n-right1=${REL1#*/}\n-prev_right1=$REL1\n-prev_left1=\n-\n-left2=${REL2%%/*}\n-right2=${REL2#*/}\n-prev_right2=$REL2\n-prev_left2=\n-\n-prefix=\n-\n-while [ \"${right1}\" != \"\" -a \"${right2}\" != \"\" ]; do\n-\n-\tif [ \"$left1\" != \"$left2\" ]; then\n-\t\tbreak\n-\tfi\n-\n-\tprev_left1=$left1\n-\tleft1=$left1/${right1%%/*}\n-\tprev_right1=$right1\n-\tright1=${prev_right1#*/}\n-\tif [ \"$right1\" = \"$prev_right1\" ]; then\n-\t\tright1=\"\"\n-\tfi\n-\n-\tprev_left2=$left2\n-\tleft2=$left2/${right2%%/*}\n-\tprev_right2=$right2\n-\tright2=${prev_right2#*/}\n-\tif [ \"$right2\" = \"$prev_right2\" ]; then\n-\t\tright2=\"\"\n-\tfi\n-done\n-\n-if [ \"${left1}\" != \"${left2}\" ]; then\n-\tright2=${prev_right2}\n-\tright1=${prev_right1}\n-fi\n-\n-while [ \"${right2}\" != \"\" ]; do\n-\tprefix=${prefix}../\n-\tprev_right2=$right2\n-\tright2=${right2#*/}\n-\tif [ \"$right2\" = \"$prev_right2\" ]; then\n-\t\tright2=\"\"\n-\tfi\n-done\n-\n-echo ${prefix}${right1}\n-\n-exit 0\n",
    "prefixes": [
        "v4",
        "12/31"
    ]
}