get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 14852,
    "url": "http://patchwork.dpdk.org/api/patches/14852/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/1468590903-16363-1-git-send-email-thomas.monjalon@6wind.com/",
    "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": "<1468590903-16363-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1468590903-16363-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-07-15T13:55:03",
    "name": "[dpdk-dev] scripts: print failed directory when testing build",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "eff276ade8b7dd2f938ed1c07f3cab9ed0faa5f7",
    "submitter": {
        "id": 1,
        "url": "http://patchwork.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/1468590903-16363-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "http://patchwork.dpdk.org/api/patches/14852/comments/",
    "check": "pending",
    "checks": "http://patchwork.dpdk.org/api/patches/14852/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 7EC135679;\n\tFri, 15 Jul 2016 15:55:24 +0200 (CEST)",
            "from mail-wm0-f51.google.com (mail-wm0-f51.google.com\n\t[74.125.82.51]) by dpdk.org (Postfix) with ESMTP id 0BF195595\n\tfor <dev@dpdk.org>; Fri, 15 Jul 2016 15:55:24 +0200 (CEST)",
            "by mail-wm0-f51.google.com with SMTP id i5so31104861wmg.0\n\tfor <dev@dpdk.org>; Fri, 15 Jul 2016 06:55:24 -0700 (PDT)",
            "from XPS13.localdomain (184.203.134.77.rev.sfr.net.\n\t[77.134.203.184]) by smtp.gmail.com with ESMTPSA id\n\tbd8sm886862wjb.40.2016.07.15.06.55.22 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 15 Jul 2016 06:55:22 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:subject:date:message-id;\n\tbh=ZGJ1PYObShIry7C5TDoLgIcRfsnxntNARHIHIclOelo=;\n\tb=Wi1W1aDk4V07z48/P5L/NBef6+vN1XbTqKER7FjJSmbdYKE1Y41BFJLfj/oeBLKAjF\n\tuVO+C5bKn/P5k5LflkOHLFOXv0BIyveNxqO3wHigXJ4GZMpGUe+hsGYdKJyBd9JE1oWW\n\tz+LknhGtIujxzMCFUWbl/PSmDYPf5Z9LN5IWfclyNSKCB3t82KmapmWDSzTIcXxCqe5B\n\tConwpPy3o1iOtsR5YVjzzm3QouM26TCkVcnAoVzHOaPic4fsdj4izazEAKGp+88HgZSi\n\tcmZg+70vqfdYcLKyiusZa8H+DH/f83KbsoHiFQkPcf0pWnsbvv70e/f0Ke680SQtUnXd\n\tBcYw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:subject:date:message-id;\n\tbh=ZGJ1PYObShIry7C5TDoLgIcRfsnxntNARHIHIclOelo=;\n\tb=Bh74G7TJN28Bia+XlBJ5dOqw9hP/8iJnh2Wq02NIWpumWXCAfHXVVYgjeUFy6oIovk\n\tOkG0YfGxOs2WrEmJXVzoqkG+WxXo5Fz8uQ7Jkt1pqjeaH4vPgEeCuccFuHHn6BtIfROf\n\tHalnjFEkiRO3X5c8CA5rDwacKWpYVjEmVCRe/8vWoRX8V438qLJWsz/xfbzsRTey7FNO\n\tl1fgOxUFQgqt1kr+4/rrhs3qwcm4p5rdVU+at4va9OgKOXrT3Lc7TCBmteDBBBlDYMMl\n\tW0bZ873TLeNtz5XK+kkW/1CN7JqDELxUKX0uF3r9ru0BE0FuQO4Q5UCWHchk5fkXmKNv\n\tR4rw==",
        "X-Gm-Message-State": "ALyK8tIdcuHoXiV7cOw+Nrqiece2v5/s2eYHMFnYg0d4MDX6RaisS4rWIKesULFbomFSdVqI",
        "X-Received": "by 10.28.22.6 with SMTP id 6mr4062696wmw.55.1468590923532;\n\tFri, 15 Jul 2016 06:55:23 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "dev@dpdk.org",
        "Date": "Fri, 15 Jul 2016 15:55:03 +0200",
        "Message-Id": "<1468590903-16363-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "Subject": "[dpdk-dev] [PATCH] scripts: print failed directory when testing\n\tbuild",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The script test-build.sh can be used to test building several\ntargets with different configurations. The directory name reflects\nthe target and the customized configuration.\nWhen there is a failure, it is convenient to print this build\ndirectory to quickly know which case is failing without scrolling\nthe build log history.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n scripts/test-build.sh | 10 ++++++----\n 1 file changed, 6 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/scripts/test-build.sh b/scripts/test-build.sh\nindex 30dfdf5..d2cafc1 100755\n--- a/scripts/test-build.sh\n+++ b/scripts/test-build.sh\n@@ -96,12 +96,13 @@ configs=${*:-$DPDK_BUILD_TEST_CONFIGS}\n success=false\n on_exit ()\n {\n-\tif [ \"$DPDK_NOTIFY\" = notify-send ] ; then\n-\t\tif $success ; then\n+\tif $success ; then\n+\t\t[ \"$DPDK_NOTIFY\" != notify-send ] || \\\n \t\t\tnotify-send -u low --icon=dialog-information 'DPDK build' 'finished'\n-\t\telif [ -z \"$signal\" ] ; then\n+\telif [ -z \"$signal\" ] ; then\n+\t\t[ -z \"$dir\" ] || echo \"failed to build $dir\" >&2\n+\t\t[ \"$DPDK_NOTIFY\" != notify-send ] || \\\n \t\t\tnotify-send -u low --icon=dialog-error 'DPDK build' 'failed'\n-\t\tfi\n \tfi\n }\n # catch manual interrupt to ignore notification\n@@ -232,6 +233,7 @@ for conf in $configs ; do\n \t\tO=$(readlink -m $dir/examples/performance-thread)\n \tunset RTE_TARGET\n \techo \"################## $dir done.\"\n+\tunset dir\n done\n \n if ! $short ; then\n",
    "prefixes": [
        "dpdk-dev"
    ]
}