diff options
Diffstat (limited to 'scripts/buildhistory-diff')
| -rwxr-xr-x | scripts/buildhistory-diff | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/buildhistory-diff b/scripts/buildhistory-diff index e8e3e11649..dd9745e80c 100755 --- a/scripts/buildhistory-diff +++ b/scripts/buildhistory-diff | |||
| @@ -34,8 +34,11 @@ def main(): | |||
| 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", | 36 | parser.add_option("-s", "--signatures", |
| 37 | help = "Report on signature differences instead of output", | 37 | help = "Report list of signatures differing instead of output", |
| 38 | action="store_true", dest="sigs", default=False) | 38 | action="store_true", dest="sigs", default=False) |
| 39 | parser.add_option("-S", "--signatures-with-diff", | ||
| 40 | help = "Report on actual signature differences instead of output (requires signature data to have been generated, either by running the actual tasks or using bitbake -S)", | ||
| 41 | action="store_true", dest="sigsdiff", default=False) | ||
| 39 | 42 | ||
| 40 | options, args = parser.parse_args(sys.argv) | 43 | options, args = parser.parse_args(sys.argv) |
| 41 | 44 | ||
| @@ -89,7 +92,7 @@ def main(): | |||
| 89 | 92 | ||
| 90 | import gitdb | 93 | import gitdb |
| 91 | try: | 94 | try: |
| 92 | changes = oe.buildhistory_analysis.process_changes(options.buildhistory_dir, fromrev, torev, options.report_all, options.report_ver, options.sigs) | 95 | changes = oe.buildhistory_analysis.process_changes(options.buildhistory_dir, fromrev, torev, options.report_all, options.report_ver, options.sigs, options.sigsdiff) |
| 93 | except gitdb.exc.BadObject as e: | 96 | except gitdb.exc.BadObject as e: |
| 94 | if len(args) == 1: | 97 | if len(args) == 1: |
| 95 | sys.stderr.write("Unable to find previous build revision in buildhistory repository\n\n") | 98 | sys.stderr.write("Unable to find previous build revision in buildhistory repository\n\n") |
