From: Markus Lehtonen Date: Thu, 4 May 2017 11:49:58 +0000 (+0300) Subject: oe-build-perf-report: allow slashes in {branch} field in tag names X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~21415 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ddde7d5bcffdd855dae0da6ba5feec752cbacec;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oe-build-perf-report: allow slashes in {branch} field in tag names The target branch name might contain slashes. Signed-off-by: Markus Lehtonen Signed-off-by: Ross Burton --- diff --git a/scripts/oe-build-perf-report b/scripts/oe-build-perf-report index 876e3b1a76f..d460caae189 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[\w\-.()/]+)' str_fields['commit'] = '(?P[0-9a-f]{7,40})' str_fields['commit_number'] = '(?P[0-9]{1,7})' str_fields['tag_number'] = '(?P[0-9]{1,5})'