瀏覽代碼

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@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Lehtonen 8 年之前
父節點
當前提交
5403db7f40
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      scripts/oe-build-perf-report

+ 1 - 0
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})'