DPDK CI discussions
 help / color / 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, back to index

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

DPDK CI discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/ci/0 ci/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ci ci/ http://inbox.dpdk.org/ci \
		ci@dpdk.org
	public-inbox-index ci


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.ci


AGPL code for this site: git clone https://public-inbox.org/ public-inbox