diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-02-10 15:39:44 +0200 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2017-03-31 15:34:04 +0300 |
commit | 8b344867432de813478920c1f35df6d77176cb11 (patch) | |
tree | 7092aaf01e22025add9b993c6d344fdfe7476009 | |
parent | ba479e98137faf9ef40d32e426006bc4fde19f04 (diff) | |
download | openembedded-core-contrib-8b344867432de813478920c1f35df6d77176cb11.tar.gz |
build-perf-git-import.py: improve commit messages
Align with the (default) commit message used by oe-git-archive script
(from yocto bug #10582)
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rwxr-xr-x | scripts/contrib/build-perf-git-import.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/contrib/build-perf-git-import.py b/scripts/contrib/build-perf-git-import.py index 240eaf5dbf..5269030e99 100755 --- a/scripts/contrib/build-perf-git-import.py +++ b/scripts/contrib/build-perf-git-import.py @@ -960,8 +960,14 @@ def import_testrun(archive, data_repo, poky_repo, branch_fmt, tag_fmt, git_timestamp = "%d" % time.mktime(timestamp.timetuple()) # Commit to git - commit_msg = "Results of {}:{} on {}\n\n".format( - fmt_fields['branch'], fmt_fields['rev'], fmt_fields['host']) + commit_msg = """\ +Results of {branch}:{rev} on {host} + +branch: {branch} +commit: {rev} +hostname: {host} + +""".format(**fmt_fields) if os.path.isdir(archive): archive_fn += '/' |