get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84070,
    "url": "http://patchwork.dpdk.org/api/patches/84070/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20201112163901.1728959-1-thomas@monjalon.net/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20201112163901.1728959-1-thomas@monjalon.net>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201112163901.1728959-1-thomas@monjalon.net",
    "date": "2020-11-12T16:39:01",
    "name": "[1/1] devtools: rename build test verbosity variables",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "2c1cae4e76330008b63d0ac9ed0f78dd4a0e4dd4",
    "submitter": {
        "id": 685,
        "url": "http://patchwork.dpdk.org/api/people/685/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas@monjalon.net"
    },
    "delegate": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20201112163901.1728959-1-thomas@monjalon.net/mbox/",
    "series": [
        {
            "id": 13850,
            "url": "http://patchwork.dpdk.org/api/series/13850/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=13850",
            "date": "2020-11-12T16:39:01",
            "name": "[1/1] devtools: rename build test verbosity variables",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/13850/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/84070/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/84070/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 6DC9FA09D3;\n\tThu, 12 Nov 2020 17:39:17 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 52BCE569B;\n\tThu, 12 Nov 2020 17:39:16 +0100 (CET)",
            "from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com\n [66.111.4.26]) by dpdk.org (Postfix) with ESMTP id 21C114CA6\n for <dev@dpdk.org>; Thu, 12 Nov 2020 17:39:15 +0100 (CET)",
            "from compute2.internal (compute2.nyi.internal [10.202.2.42])\n by mailout.nyi.internal (Postfix) with ESMTP id CB8305C023C;\n Thu, 12 Nov 2020 11:39:12 -0500 (EST)",
            "from mailfrontend2 ([10.202.2.163])\n by compute2.internal (MEProxy); Thu, 12 Nov 2020 11:39:12 -0500",
            "from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184])\n by mail.messagingengine.com (Postfix) with ESMTPA id C18503067EEE;\n Thu, 12 Nov 2020 11:39:11 -0500 (EST)"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=\n from:to:cc:subject:date:message-id:mime-version\n :content-transfer-encoding; s=fm2; bh=M4WyZ92NIAu0Les3Cynx1H60an\n VPOKh0NFiHZrrHSUI=; b=IYRgP2M7NZ2Vkc/QBQJTYouJgJqZBVatcBZBFj0YqB\n ILDQki/9X0S+Y0m3YcWWRrhzCEwqwKf+7kY+FJH/YhsWtoT3ySXZL+n/G/gLkJTA\n zgEcHyo6lSdFqWzVMzSxjEh8gmbFFmuyrt/jiD/vkJv9OORBbkD3Ip+8uHN7Pm7n\n Wp9T9RGebZ0AM7n95v2qYNq2ZGgD2zqP34nR4shhFRCDf/dnV5m6lhLRRtAWxihw\n WbwVG2X3Ra6AsGnRaBKuGfzABOSAMdwmXQBIpbDLC1ANNyKPMiB03qyhr01RRQwt\n 48qVKL8JVixRjJ/o5fHsdsacyBm5bK7rPj86AdxCK4Rw==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=\n messagingengine.com; h=cc:content-transfer-encoding:date:from\n :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy\n :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=M4WyZ92NIAu0Les3C\n ynx1H60anVPOKh0NFiHZrrHSUI=; b=Lx9eVl2RywcXO6eLyZvLcJFI++HKclSB9\n x3nyWhzNpWJMp+ySMOnn6cYmmmSYLbCd8lymJXLL3Vn1x7JKaX5rhkJ+1TuwiBLA\n a2rgU7t6f5R1uPN0mYuBQZGCFr17fOKo//KaGEbqQvr8yUwS3FfK8h8oMNEzYL8s\n GWjPiEgOMlPu02/76N6LRHrbjbv2+0BEgeX7WXFEhrO6OFSv5lc3MjN8L/LscDW+\n zdZQUjgBHXU3bzi5w8KKoJpjcQD6+HMogMuxev0oMYdBBHwbfne7k1U0H2g4xPah\n sBdHmdiESLqCnUt3lwRj8CN0cno3lhoc6ypm//YXHYaiNQ1ve4DDQ=="
        ],
        "X-ME-Sender": "<xms:MGWtXwG5hCX412j40s7zcAVwWzBchnzE7O0C-K4iG500rNY4NdwvXQ>\n <xme:MGWtX5XHm-qES10KlMrfFONx34pSfNJq3dPtvgm3YFZCaEZ7XVN291jn0sEAQvFg0\n k4TPKleCyeHzD3u_w>",
        "X-ME-Proxy-Cause": "\n gggruggvucftvghtrhhoucdtuddrgedujedruddvfedgieehucetufdoteggodetrfdotf\n fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen\n uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre\n dttdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhho\n nhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedvledvudehvdduudevuedvve\n ehgeduleegiefgjeehudehtddtgeduffejiefhgfenucfkphepjeejrddufeegrddvtdef\n rddukeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh\n epthhhohhmrghssehmohhnjhgrlhhonhdrnhgvth",
        "X-ME-Proxy": "<xmx:MGWtX6IwYARhRZM_dDWlYeR-5J9xW4OBfEvWxNlaRO8S45k_fRqxLw>\n <xmx:MGWtXyGt4d5Pkzuo57HxRLHvBlZNcLmZBxxLhHjTIdBvRCx_YMZVmg>\n <xmx:MGWtX2UhUhzoRscm8VTVMtrbQbiz-A_m-XfYycvqK_CNUQpU0j3dqA>\n <xmx:MGWtX_f_URwMSHhsI84L5mI3oQsTKMvYO58cjcNoktkON6fRb5jfGA>",
        "From": "Thomas Monjalon <thomas@monjalon.net>",
        "To": "dev@dpdk.org",
        "Cc": "david.marchand@redhat.com,\n\tbruce.richardson@intel.com",
        "Date": "Thu, 12 Nov 2020 17:39:01 +0100",
        "Message-Id": "<20201112163901.1728959-1-thomas@monjalon.net>",
        "X-Mailer": "git-send-email 2.28.0",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH 1/1] devtools: rename build test verbosity\n\tvariables",
        "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": "For consistency with other variables which can be set from the env,\nTEST_MESON_BUILD_VERBOSE and TEST_MESON_BUILD_VERY_VERBOSE\nare renamed\nDPDK_BUILD_TEST_VERBOSE and DPDK_BUILD_TEST_VERY_VERBOSE.\n\nThe handling of the verbosity level is also moved upper in the script,\ncloser to other initializations.\n\nSigned-off-by: Thomas Monjalon <thomas@monjalon.net>\n---\n devtools/test-meson-builds.sh | 36 +++++++++++++++++------------------\n 1 file changed, 18 insertions(+), 18 deletions(-)",
    "diff": "diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh\nindex 3ce49368cf..d3122fbc73 100755\n--- a/devtools/test-meson-builds.sh\n+++ b/devtools/test-meson-builds.sh\n@@ -43,6 +43,22 @@ default_cflags=$CFLAGS\n default_ldflags=$LDFLAGS\n default_meson_options=$DPDK_MESON_OPTIONS\n \n+if [ \"$1\" = \"-vv\" ] ; then\n+\tDPDK_BUILD_TEST_VERY_VERBOSE=1\n+\tDPDK_BUILD_TEST_VERBOSE=1\n+elif [ \"$1\" = \"-v\" ] ; then\n+\tDPDK_BUILD_TEST_VERBOSE=1\n+fi\n+# we can't use plain verbose when we don't have pipefail option so up-level\n+if [ -z \"$PIPEFAIL\" -a -n \"$DPDK_BUILD_TEST_VERBOSE\" ] ; then\n+\techo \"# Missing pipefail shell option, changing VERBOSE to VERY_VERBOSE\"\n+\tDPDK_BUILD_TEST_VERY_VERBOSE=1\n+fi\n+[ -n \"$DPDK_BUILD_TEST_VERBOSE\" ] && exec 8>&1 || exec 8>/dev/null\n+verbose=8\n+[ -n \"$DPDK_BUILD_TEST_VERY_VERBOSE\" ] && exec 9>&1 || exec 9>/dev/null\n+veryverbose=9\n+\n check_cc_flags () # <flag to check> <flag2> ...\n {\n \techo 'int main(void) { return 0; }' |\n@@ -108,11 +124,11 @@ config () # <dir> <builddir> <meson options>\n compile () # <builddir>\n {\n \tbuilddir=$1\n-\tif [ -n \"$TEST_MESON_BUILD_VERY_VERBOSE\" ] ; then\n+\tif [ -n \"$DPDK_BUILD_TEST_VERY_VERBOSE\" ] ; then\n \t\t# for full output from ninja use \"-v\"\n \t\techo \"$ninja_cmd -v -C $builddir\"\n \t\t$ninja_cmd -v -C $builddir\n-\telif [ -n \"$TEST_MESON_BUILD_VERBOSE\" ] ; then\n+\telif [ -n \"$DPDK_BUILD_TEST_VERBOSE\" ] ; then\n \t\t# for keeping the history of short cmds, pipe through cat\n \t\techo \"$ninja_cmd -C $builddir | cat\"\n \t\t$ninja_cmd -C $builddir | cat\n@@ -180,22 +196,6 @@ build () # <directory> <target compiler | cross file> <meson options>\n \tfi\n }\n \n-if [ \"$1\" = \"-vv\" ] ; then\n-\tTEST_MESON_BUILD_VERY_VERBOSE=1\n-\tTEST_MESON_BUILD_VERBOSE=1\n-elif [ \"$1\" = \"-v\" ] ; then\n-\tTEST_MESON_BUILD_VERBOSE=1\n-fi\n-# we can't use plain verbose when we don't have pipefail option so up-level\n-if [ -z \"$PIPEFAIL\" -a -n \"$TEST_MESON_BUILD_VERBOSE\" ] ; then\n-\techo \"# Missing pipefail shell option, changing VERBOSE to VERY_VERBOSE\"\n-\tTEST_MESON_BUILD_VERY_VERBOSE=1\n-fi\n-[ -n \"$TEST_MESON_BUILD_VERBOSE\" ] && exec 8>&1 || exec 8>/dev/null\n-verbose=8\n-[ -n \"$TEST_MESON_BUILD_VERY_VERBOSE\" ] && exec 9>&1 || exec 9>/dev/null\n-veryverbose=9\n-\n # shared and static linked builds with gcc and clang\n for c in gcc clang ; do\n \tcommand -v $c >/dev/null 2>&1 || continue\n",
    "prefixes": [
        "1/1"
    ]
}