[oe-commits] [openembedded-core] 05/49: oe-build-perf-report: allow slashes in {branch} field in tag names

git at git.openembedded.org git at git.openembedded.org
Sun Nov 5 22:42:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch pyro
in repository openembedded-core.

commit 6b3f1a6107de04bc4f212876db2e3c4c762b044a
Author: Markus Lehtonen <markus.lehtonen at linux.intel.com>
AuthorDate: Thu May 4 14:49:58 2017 +0300

    oe-build-perf-report: allow slashes in {branch} field in tag names
    
    The target branch name might contain slashes.
    
    (From OE-Core rev: 3ddde7d5bcffdd855dae0da6ba5feec752cbacec)
    
    Signed-off-by: Markus Lehtonen <markus.lehtonen at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 scripts/oe-build-perf-report | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index 876e3b1..d460caa 100755
--- a/scripts/oe-build-perf-report
+++ b/scripts/oe-build-perf-report
@@ -63,6 +63,7 @@ def get_test_runs(repo, tag_name, **kwargs):
 
     # Parse undefined fields from tag names
     str_fields = dict([(f, r'(?P<{}>[\w\-.()]+)'.format(f)) for f in field_names])
+    str_fields['branch'] = r'(?P<branch>[\w\-.()/]+)'
     str_fields['commit'] = '(?P<commit>[0-9a-f]{7,40})'
     str_fields['commit_number'] = '(?P<commit_number>[0-9]{1,7})'
     str_fields['tag_number'] = '(?P<tag_number>[0-9]{1,5})'

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list