[dpdk-ci] [PATCH] tools: keep patch subject intact from patchwork

Thomas Monjalon thomas at monjalon.net
Mon Jun 18 17:55:17 CEST 2018


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 at 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



More information about the ci mailing list