patchupdate: Add option to skip bugtracker check.

This commit is contained in:
Zebediah Figura 2018-03-11 14:17:56 -05:00
parent 480b33f208
commit 4a31790533

View File

@ -763,6 +763,7 @@ if __name__ == "__main__":
parser.add_argument('--skip-checks', action='store_true', help="Skip dependency checks")
parser.add_argument('--commit', type=_check_commit_hash, help="Use given commit hash instead of HEAD")
parser.add_argument('--sync-bugs', action='store_true', help="Update bugs in bugtracker (requires admin rights)")
parser.add_argument('--skip-bugs', action='store_true', help="Skip bugtracker checks")
args = parser.parse_args()
tools_directory = os.path.dirname(os.path.realpath(__file__))
@ -783,7 +784,8 @@ if __name__ == "__main__":
all_patches = load_patchsets()
# Check bugzilla
check_bug_status(all_patches, sync_bugs=args.sync_bugs)
if not args.skip_bugs:
check_bug_status(all_patches, sync_bugs=args.sync_bugs)
# Update autogenerated files
generate_ifdefined(all_patches, skip_checks=args.skip_checks)