mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6774995322
commit
9049c09793
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user