From 4a31790533d29e4f6a2c5d67a3a02697c59ff453 Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Sun, 11 Mar 2018 14:17:56 -0500 Subject: [PATCH] patchupdate: Add option to skip bugtracker check. --- staging/patchupdate.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/staging/patchupdate.py b/staging/patchupdate.py index 2a68a44c..bf8a15d3 100755 --- a/staging/patchupdate.py +++ b/staging/patchupdate.py @@ -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)