DPDK CI discussions
 help / color / mirror / Atom feed
* [dpdk-ci] [PATCH] tools: keep patch subject intact from patchwork
@ 2018-06-18 15:55 Thomas Monjalon
  0 siblings, 0 replies; only message in thread
From: Thomas Monjalon @ 2018-06-18 15:55 UTC (permalink / raw)
  To: ci

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-18 15:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18 15:55 [dpdk-ci] [PATCH] tools: keep patch subject intact from patchwork Thomas Monjalon

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).