diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2017-04-07 16:57:20 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-04-11 18:09:19 +0100 |
commit | 63bd7e9f780a98dda458d612877495756bcc5463 (patch) | |
tree | 03e5668458e455971322875762ac644a15cbcab1 /scripts/buildhistory-diff | |
parent | 11f68f65c46c5bc26ddeeade3021e83b3a7f895a (diff) | |
download | openembedded-core-contrib-63bd7e9f780a98dda458d612877495756bcc5463.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.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/buildhistory-diff')
-rwxr-xr-x | scripts/buildhistory-diff | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/buildhistory-diff b/scripts/buildhistory-diff index e03ccc5ed84..e8e3e11649f 100755 --- a/scripts/buildhistory-diff +++ b/scripts/buildhistory-diff @@ -33,6 +33,9 @@ def main(): parser.add_option("-a", "--report-all", help = "Report all changes, not just the default significant ones", action="store_true", dest="report_all", default=False) + parser.add_option("-s", "--signatures", + help = "Report on signature differences instead of output", + action="store_true", dest="sigs", default=False) options, args = parser.parse_args(sys.argv) @@ -86,7 +89,7 @@ def main(): import gitdb try: - changes = oe.buildhistory_analysis.process_changes(options.buildhistory_dir, fromrev, torev, options.report_all, options.report_ver) + changes = oe.buildhistory_analysis.process_changes(options.buildhistory_dir, fromrev, torev, options.report_all, options.report_ver, options.sigs) except gitdb.exc.BadObject as e: if len(args) == 1: sys.stderr.write("Unable to find previous build revision in buildhistory repository\n\n") |