Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/16953/?format=api
https://patches.dpdk.org/api/patches/16953/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1478359694-13420-1-git-send-email-thomas.monjalon@6wind.com/", "project": { "id": 1, "url": "https://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": "<1478359694-13420-1-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1478359694-13420-1-git-send-email-thomas.monjalon@6wind.com", "date": "2016-11-05T15:28:14", "name": "[dpdk-dev] scripts: show full headline with checkpatch", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "ce818dd80d6feb1aa5c40ef687f0225f8639e0d7", "submitter": { "id": 1, "url": "https://patches.dpdk.org/api/people/1/?format=api", "name": "Thomas Monjalon", "email": "thomas.monjalon@6wind.com" }, "delegate": null, "mbox": "https://patches.dpdk.org/project/dpdk/patch/1478359694-13420-1-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/16953/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/16953/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 C3CAF2BD0;\n\tSat, 5 Nov 2016 16:28:39 +0100 (CET)", "from mail-wm0-f44.google.com (mail-wm0-f44.google.com\n\t[74.125.82.44]) by dpdk.org (Postfix) with ESMTP id 849B52A07\n\tfor <dev@dpdk.org>; Sat, 5 Nov 2016 16:28:37 +0100 (CET)", "by mail-wm0-f44.google.com with SMTP id a197so104051281wmd.0\n\tfor <dev@dpdk.org>; Sat, 05 Nov 2016 08:28:37 -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\tc4sm2783757wmh.4.2016.11.05.08.28.35 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tSat, 05 Nov 2016 08:28:36 -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=mJoIhxZRELYaAh5vx/fZdNNhmW4YflwRB3Une4M/lLI=;\n\tb=D0Y1JqXhFY+vx3bgRZP9Xll4MX6DmsDZdlpDllIzN/oxUzPIaqQz+JYvn437Vj02Wq\n\twHlwd2rUzOcNvR0zUz5x9BXyemRf0uO1fP982wEyAUnTWVSh5Y+0eDx1kIpcNqR0pJsL\n\tZiutoCcniRDNtwVKKVIZmvsmzdSDEs6OuAoQ4YdC6Kio/eMJjsHo7J8w1+7a1vQMTDU7\n\tKxBTMuaUlqMVLF6XpcLoFMpEFuv3z6AQjbuc4q1v8HN0jPTATqSUZoJ6AK5H6G3bE0wM\n\tcTV/JFVMntV07zMGJ6/keta8j3o6xm/53k3CKNZBEyXi+XVLbeu1snvZy5vkS5js6W38\n\tmEdQ==", "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=mJoIhxZRELYaAh5vx/fZdNNhmW4YflwRB3Une4M/lLI=;\n\tb=lA9QBIA0qr1o4jj2GLrwccVbmNL4ZJnXCkCAdenNLExFeP3s00CzRfHOiXi19aC/He\n\tf/+uJInQ+9wCIONsq66zrPm44zVzALZ/5X52Q477fKEbaI+yLjoRV62jSG163sTiT8j7\n\t8uOit1a8Kx4wVZTx2s8uC86EO6uhobuSVgtN7l5uf/nkJygrQQokdib+9fRZAI/X44mE\n\tFqqu8mbEZlE55G2c8yT+/I+SZ8Beq605Qv72UEb3nZXKLA4pDDibVe6MGrk+jAQ0KVhZ\n\tX32Pe5OW0l5tCwPyvN5zxb4iBr2CR0/vvIYQSgLTFnkxP6xfLp81Rn7u+QXtHTcV675Y\n\te9CA==", "X-Gm-Message-State": "ABUngvfWqW+PDKlORb8NfJxpI4mKlK0UcK6jgZWqhJV7jcH62bwhajQ5s/A+MxrCEh+zNJ+/", "X-Received": "by 10.194.142.45 with SMTP id rt13mr7540955wjb.22.1478359717095; \n\tSat, 05 Nov 2016 08:28:37 -0700 (PDT)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "dev@dpdk.org", "Date": "Sat, 5 Nov 2016 16:28:14 +0100", "Message-Id": "<1478359694-13420-1-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.7.0", "Subject": "[dpdk-dev] [PATCH] scripts: show full headline with checkpatch", "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 Subject in an email can be split on two lines.\nIn such case, the second line (starting with a space) can be\njoined to the first one.\n\nIt is handled differently when parsing stdin or a file.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n scripts/checkpatches.sh | 7 +++++--\n 1 file changed, 5 insertions(+), 2 deletions(-)", "diff": "diff --git a/scripts/checkpatches.sh b/scripts/checkpatches.sh\nindex 619ac21..2f67d24 100755\n--- a/scripts/checkpatches.sh\n+++ b/scripts/checkpatches.sh\n@@ -101,13 +101,16 @@ check () { # <patch> <commit> <title>\n \n if [ -n \"$1\" ] ; then\n \tfor patch in \"$@\" ; do\n-\t\tsubject=$(sed -n 's,^Subject: ,,p' \"$patch\")\n+\t\t# Subject can be on 2 lines\n+\t\tsubject=$(sed '/^Subject: */!d;s///;N;s,\\n[[:space:]]\\+, ,;s,\\n.*,,;q' \"$patch\")\n \t\tcheck \"$patch\" '' \"$subject\"\n \tdone\n elif [ ! -t 0 ] ; then # stdin\n \tsubject=$(while read header value ; do\n \t\tif [ \"$header\" = 'Subject:' ] ; then\n-\t\t\techo $value\n+\t\t\tIFS= read next\n+\t\t\tcontinuation=$(echo \"$next\" | sed -n 's,^[[:space:]]\\+, ,p')\n+\t\t\techo $value$continuation\n \t\t\tbreak\n \t\tfi\n \tdone)\n", "prefixes": [ "dpdk-dev" ] }{ "id": 16953, "url": "