get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76424,
    "url": "http://patches.dpdk.org/api/patches/76424/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200903152717.42095-14-ciara.power@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": "<20200903152717.42095-14-ciara.power@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200903152717.42095-14-ciara.power@intel.com",
    "date": "2020-09-03T15:26:53",
    "name": "[v3,13/37] buildtools: remove all scripts for use with make",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "de88c2eb083c1c08d2242245b0b2eb4a22fa4255",
    "submitter": {
        "id": 978,
        "url": "http://patches.dpdk.org/api/people/978/?format=api",
        "name": "Power, Ciara",
        "email": "ciara.power@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/20200903152717.42095-14-ciara.power@intel.com/mbox/",
    "series": [
        {
            "id": 11929,
            "url": "http://patches.dpdk.org/api/series/11929/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11929",
            "date": "2020-09-03T15:26:40",
            "name": "remove make support in DPDK",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/11929/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76424/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/76424/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 A06D7A04BF;\n\tThu,  3 Sep 2020 17:31:36 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 32A061C19B;\n\tThu,  3 Sep 2020 17:28:49 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id C08691C0D8\n for <dev@dpdk.org>; Thu,  3 Sep 2020 17:28:44 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 03 Sep 2020 08:28:44 -0700",
            "from silpixa00399953.ir.intel.com (HELO\n silpixa00399953.ger.corp.intel.com) ([10.237.222.53])\n by orsmga006.jf.intel.com with ESMTP; 03 Sep 2020 08:28:43 -0700"
        ],
        "IronPort-SDR": [
            "\n ymTFQWNlJEJ2EfB4qAI3SkIOtYMLiXNGIovHA/toLbQMjiSxkrgf/3yx5nUoR0520sn66fQDXJ\n jU6BEAYmLO8A==",
            "\n Rrz4ZtsKp3K1ESdx9ZHx5K9a+qqcW/6m86Swbm9vwj8pLylIls2fpakgyeyaGGQPp7ourmEJTH\n 4Ue9HsMxNf+w=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9733\"; a=\"145290568\"",
            "E=Sophos;i=\"5.76,387,1592895600\"; d=\"scan'208\";a=\"145290568\"",
            "E=Sophos;i=\"5.76,387,1592895600\"; d=\"scan'208\";a=\"302243969\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Ciara Power <ciara.power@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Ciara Power <ciara.power@intel.com>, Thomas Monjalon <thomas@monjalon.net>",
        "Date": "Thu,  3 Sep 2020 16:26:53 +0100",
        "Message-Id": "<20200903152717.42095-14-ciara.power@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200903152717.42095-1-ciara.power@intel.com>",
        "References": "<20200807123009.21266-1-ciara.power@intel.com>\n <20200903152717.42095-1-ciara.power@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 13/37] buildtools: remove all scripts for use\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": "Make 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 ccaecabea0..392150fc3b 100644\n--- a/MAINTAINERS\n+++ b/MAINTAINERS\n@@ -102,10 +102,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 F: doc/build-sdk-quick.txt\n F: doc/guides/prog_guide/build_app.rst\n F: doc/guides/prog_guide/dev_kit_*\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": [
        "v3",
        "13/37"
    ]
}