summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2017-05-04 14:49:58 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-18 14:01:38 +0100
commit3ddde7d5bcffdd855dae0da6ba5feec752cbacec (patch)
tree84f66d42d4e832bc7d3c3250b171e4a47fa69102
parentb1feae0e23300ea3894d14d2e7b1c1f8b419146e (diff)
downloadopenembedded-core-contrib-3ddde7d5bcffdd855dae0da6ba5feec752cbacec.tar.gz
openembedded-core-contrib-3ddde7d5bcffdd855dae0da6ba5feec752cbacec.tar.bz2
openembedded-core-contrib-3ddde7d5bcffdd855dae0da6ba5feec752cbacec.zip
oe-build-perf-report: allow slashes in {branch} field in tag names
The target branch name might contain slashes. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-xscripts/oe-build-perf-report1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report
index 876e3b1a76..d460caae18 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})'