summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-04-07 16:57:20 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-11 18:10:17 +0100
commit9049c09793eddd7e314d4ae9cca73e1274dcf6f8 (patch)
tree5bbf83e244619220639838f87caae98c58898397 /scripts
parent6774995322cd6b092ca7f0e476077ca7aee0408e (diff)
downloadpoky-9049c09793eddd7e314d4ae9cca73e1274dcf6f8.tar.gz
buildhistory-diff: add option to compare task signature list
Having added writing out of the task signature list to buildhistory (when BUILDHISTORY_FEATURES includes "task"), we now need a way to compare the list. This just shows which tasks have been added / changed signature / removed. (From OE-Core rev: 63bd7e9f780a98dda458d612877495756bcc5463) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildhistory-diff5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/buildhistory-diff b/scripts/buildhistory-diff
index e03ccc5ed8..e8e3e11649 100755
--- a/scripts/buildhistory-diff
+++ b/scripts/buildhistory-diff
@@ -33,6 +33,9 @@ def main():
33 parser.add_option("-a", "--report-all", 33 parser.add_option("-a", "--report-all",
34 help = "Report all changes, not just the default significant ones", 34 help = "Report all changes, not just the default significant ones",
35 action="store_true", dest="report_all", default=False) 35 action="store_true", dest="report_all", default=False)
36 parser.add_option("-s", "--signatures",
37 help = "Report on signature differences instead of output",
38 action="store_true", dest="sigs", default=False)
36 39
37 options, args = parser.parse_args(sys.argv) 40 options, args = parser.parse_args(sys.argv)
38 41
@@ -86,7 +89,7 @@ def main():
86 89
87 import gitdb 90 import gitdb
88 try: 91 try:
89 changes = oe.buildhistory_analysis.process_changes(options.buildhistory_dir, fromrev, torev, options.report_all, options.report_ver) 92 changes = oe.buildhistory_analysis.process_changes(options.buildhistory_dir, fromrev, torev, options.report_all, options.report_ver, options.sigs)
90 except gitdb.exc.BadObject as e: 93 except gitdb.exc.BadObject as e:
91 if len(args) == 1: 94 if len(args) == 1:
92 sys.stderr.write("Unable to find previous build revision in buildhistory repository\n\n") 95 sys.stderr.write("Unable to find previous build revision in buildhistory repository\n\n")