From: Thomas Monjalon <thomas@monjalon.net>
To: ci@dpdk.org
Subject: [dpdk-ci] [PATCH] tools: keep patch subject intact from patchwork
Date: Mon, 18 Jun 2018 17:55:17 +0200 [thread overview]
Message-ID: <20180618155517.23457-1-thomas@monjalon.net> (raw)
The patches downloaded from patchwork do not have the mailing list
prefix ([dpdk-dev]) in the subject anymore.
So the regex to restore the [PATCH] prefix is not working always fine.
It's better to drop this regex.
Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
---
tools/download-patch.sh | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/download-patch.sh b/tools/download-patch.sh
index 1d7cb6b..922024c 100755
--- a/tools/download-patch.sh
+++ b/tools/download-patch.sh
@@ -36,5 +36,4 @@ if $http_get ; then
curl -sf $url
else
$pwclient view $pwid
-fi |
-sed '/^Subject:/{s/\(\[[^],]*\)/\1] [PATCH/;s/,/ /g}'
+fi
--
2.17.1
reply other threads:[~2018-06-18 15:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180618155517.23457-1-thomas@monjalon.net \
--to=thomas@monjalon.net \
--cc=ci@dpdk.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).