]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
build-perf-git-import.py: improve commit messages
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 10 Feb 2017 13:39:44 +0000 (15:39 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 31 Mar 2017 12:34:04 +0000 (15:34 +0300)
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>
scripts/contrib/build-perf-git-import.py

index 240eaf5dbf4c64e7541e569706f87bda0a4995d3..5269030e99509e5b7681fce0dfa24b4e47bcea25 100755 (executable)
@@ -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 += '/'