Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/15507/?format=api
https://patches.dpdk.org/api/patches/15507/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/1472459735-11683-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": "<1472459735-11683-1-git-send-email-thomas.monjalon@6wind.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1472459735-11683-1-git-send-email-thomas.monjalon@6wind.com", "date": "2016-08-29T08:35:35", "name": "[dpdk-dev] scripts: hide double git reference check error", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "95618af2aeb9e52de19bc05729befd4a11748056", "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/1472459735-11683-1-git-send-email-thomas.monjalon@6wind.com/mbox/", "series": [], "comments": "https://patches.dpdk.org/api/patches/15507/comments/", "check": "pending", "checks": "https://patches.dpdk.org/api/patches/15507/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 00FA92BB4;\n\tMon, 29 Aug 2016 10:35:48 +0200 (CEST)", "from mail-wm0-f41.google.com (mail-wm0-f41.google.com\n\t[74.125.82.41]) by dpdk.org (Postfix) with ESMTP id BA8FB2142\n\tfor <dev@dpdk.org>; Mon, 29 Aug 2016 10:35:46 +0200 (CEST)", "by mail-wm0-f41.google.com with SMTP id o80so79544822wme.1\n\tfor <dev@dpdk.org>; Mon, 29 Aug 2016 01:35:46 -0700 (PDT)", "from XPS13.localdomain (229.202.154.77.rev.sfr.net.\n\t[77.154.202.229]) by smtp.gmail.com with ESMTPSA id\n\td7sm33197973wjg.13.2016.08.29.01.35.45 for <dev@dpdk.org>\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tMon, 29 Aug 2016 01:35:45 -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=Qey+xYl0tHNe86ednaH+5GyGC85IJIFoaxbC4uyhGhQ=;\n\tb=Li2eqzNn6Aba/o7ZttSfJdG43BsLGEXmVUlPuOE2x7haJz3TkA1WaVT2zewgGWqwxK\n\tVH2xlpRECmGmxBdq/jugvSSJDVZtkcfS12bXRsrrYt73doijApsAV8BBuYYuSrKiZYl5\n\tgSdbaiAd4P06GiRY8rtObcDr9yzPxMsMMEjJGwME+AjKKutkCj+dGpjUbbGmAWzU7zM7\n\tUgC+9+gJl/XzSYKGuuJiQ4OO0/0gtRMeUJUeyVSRbjB6Z2DJD5Nunihai7rIqNyeS0Ur\n\tMcYUw34JqaMzvvLsSfkdrijSWzDpnmXXeHolNv8oHeYZDKWPXRPBvUBpUoik+yCtaZUp\n\t4uaQ==", "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=Qey+xYl0tHNe86ednaH+5GyGC85IJIFoaxbC4uyhGhQ=;\n\tb=jYIL4MUHg254eEZik5NI3e14DpS6Uv94K1WHxalUXipG1QBJYK4VZY8M8BRxsqx68v\n\tNaTI5nM5/pg/OhmfDETsEGi6pSe/EgeICBnKt8Dc2/VfEvSs+czS1z8uUinRwwiv7jPk\n\tKOyRMI3hM3Z1y+iOZupZX/Ecgyp67/IIaPNePck5YdxOlaJ44sNdGBrH/0IqAC66T3E8\n\tTWBMmtZ59RUu+QbZPi5O8JSeb6+YYm0kOj0ALLVpUZ+okpz+FIfoA2tZkB8S3xvRTfAK\n\tM+u39BfZ89MkC8o06WL/1IX2svxdPyICKGtDjY3HhdeI4HHoM3bBtF4yz3eNy72bD07C\n\t94nA==", "X-Gm-Message-State": "AE9vXwMPhesYJLTaQ7Out7NjWWz9emc5QlAMoC/jmbqL0x5PBf+UXGA9XtIExoii/XMdCVhH", "X-Received": "by 10.194.81.137 with SMTP id a9mr16514256wjy.106.1472459746308; \n\tMon, 29 Aug 2016 01:35:46 -0700 (PDT)", "From": "Thomas Monjalon <thomas.monjalon@6wind.com>", "To": "dev@dpdk.org", "Date": "Mon, 29 Aug 2016 10:35:35 +0200", "Message-Id": "<1472459735-11683-1-git-send-email-thomas.monjalon@6wind.com>", "X-Mailer": "git-send-email 2.7.0", "Subject": "[dpdk-dev] [PATCH] scripts: hide double git reference check error", "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": "When checking a git reference which does not exist, a git error\nwith the long git-branch usage is printed:\n\n% scripts/check-git-log.sh '-1 3780cbd'\nerror: malformed object name 2de9f8551ff9\nusage: git branch ...\n [a lot of lines]\nWrong 'Fixes' reference:\n Fixes: 2de9f8551ff9 (\"ethdev: fix documentation for queue start/stop\")\n\nThe error from the script is sufficient so the git error can be hidden.\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n scripts/check-git-log.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/scripts/check-git-log.sh b/scripts/check-git-log.sh\nindex e416aea..6137098 100755\n--- a/scripts/check-git-log.sh\n+++ b/scripts/check-git-log.sh\n@@ -180,7 +180,7 @@ IFS='\n fixtags=$(echo \"$tags\" | grep '^Fixes: ')\n bad=$(for fixtag in $fixtags ; do\n \thash=$(echo \"$fixtag\" | sed 's,^Fixes: \\([0-9a-f]*\\).*,\\1,')\n-\tif git branch --contains $hash | grep -q '^\\*' ; then\n+\tif git branch --contains $hash 2>&- | grep -q '^\\*' ; then\n \t\tgood=\"Fixes: $hash \"$(git log --format='(\"%s\")' -1 $hash 2>&-)\n \telse\n \t\tgood=\"reference not in current branch\"\n", "prefixes": [ "dpdk-dev" ] }{ "id": 15507, "url": "