Lines Matching +full:branches +full:- +full:ignore
4 # Use of this source code is governed by a BSD-style license
43 'third_party/abseil-cpp',
68 'third_party/Python-Markdown',
69 'third_party/qemu-linux-x64',
70 'third_party/qemu-mac-x64',
79 'tools/luci-go',
98 COMMIT_POSITION_RE = re.compile('^Cr-Commit-Position: .*#([0-9]+).*$')
99 CLANG_REVISION_RE = re.compile(r'^CLANG_REVISION = \'([-0-9a-z]+)\'')
112 NOTIFY_EMAIL = 'angle-wrangler@grotations.appspotmail.com'
174 sys.exit(-1)
213 """Returns a tuple of active,branches.
215 The 'active' is the name of the currently active branch and 'branches' is a
216 list of all branches.
219 branches = []
225 branches.append(active)
229 branches.append(branch)
230 return active, branches
331 return [path for path in new_entries - old_entries if path in ANGLE_CHROMIUM_DEPS]
338 - If a shared dependency with the Chromium DEPS file: roll it to the same
340 - If it's a Chromium sub-directory, roll it to the HEAD revision (notice
343 - If it's another DEPS entry (not shared with Chromium), roll it to HEAD
385 stdout, _ = _RunCommand(['git', 'ls-remote', ChromeURL(angle_deps_entry), 'HEAD'])
487 # TBR needs to be non-empty for Gerrit to process it.
532 # We don't sync deps on autoroller, so ignore missing local deps
537 'gclient sync --deps=all\n'
550 _RunCommand([gclient_cmd, 'setdep', '--revision', update], working_dir=CHECKOUT_SRC_DIR)
554 stdout, _ = _RunCommand(['git', 'status', '--porcelain'])
563 current_branch = _RunCommand(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])[0].splitlines()[0]
565 logging.error('Please checkout the master branch and re-run this script.')
567 sys.exit(-1)
576 _RunCommand(['git', 'checkout', '-b', ROLL_BRANCH_NAME])
580 active_branch, branches = _GetBranches()
583 if ROLL_BRANCH_NAME in branches:
587 _RunCommand(['git', 'branch', '-D', ROLL_BRANCH_NAME])
593 _RunCommand(['git', 'add', '--update', '.'])
594 _RunCommand(['git', 'commit', '-m', commit_msg])
600 old_commit_msg = _RunCommand(['git', 'log', '-1', '--pretty=%B'])[0].strip()
604 if bug_index == -1:
607 sys.exit(-1)
610 _RunCommand(['git', 'commit', '-a', '--amend', '-m', new_commit_msg])
616 if (new_commit_pos - current_commit_pos) < cq_over:
625 - 2: Submit to commit queue.
626 - 1: Run trybots but do not submit to CQ.
627 - 0: Skip CQ, upload only.
629 cmd = ['git', 'cl', 'upload', '--force', '--bypass-hooks', '--send-mail']
630 cmd.extend(['--cc', NOTIFY_EMAIL])
633 cmd.extend(['--use-commit-queue'])
636 cmd.extend(['--cq-dry-run'])
649 stdout, _ = _RunCommand(['git', 'ls-remote', CHROMIUM_SRC_URL, 'HEAD'])
660 '--clean',
665 '-r',
666 '--revision',
670 '--dry-run',
677 '-i',
678 '--ignore-unclean-workdir',
681 help=('Ignore if the current branch is not master or if there '
685 '--skip-cq',
690 '--cq-over',
696 '--autoroll',
699 help='Autoroller mode - amend existing commit, '
702 '-v',
703 '--verbose',