Lines Matching +full:branches +full:- +full:ignore
4 # Use of this source code is governed by a BSD-style license
40 'third_party/abseil-cpp',
55 'third_party/clang-format/script',
60 'third_party/fuchsia-sdk/sdk',
75 'third_party/Python-Markdown',
76 'third_party/qemu-linux-x64',
77 'third_party/qemu-mac-x64',
88 'tools/luci-go',
108 COMMIT_POSITION_RE = re.compile('^Cr-Commit-Position: .*#([0-9]+).*$')
109 CLANG_REVISION_RE = re.compile(r'^CLANG_REVISION = \'([-0-9a-z]+)\'')
122 NOTIFY_EMAIL = 'angle-wrangler@grotations.appspotmail.com'
184 sys.exit(-1)
223 """Returns a tuple of active,branches.
225 The 'active' is the name of the currently active branch and 'branches' is a
226 list of all branches.
229 branches = []
235 branches.append(active)
239 branches.append(branch)
240 return active, branches
248 return base64.b64decode(base64_content[0]).decode('utf-8')
314 # Ignore GCS deps - there aren't any that we want to sync yet
346 return [path for path in new_entries - old_entries if path in ANGLE_CHROMIUM_DEPS]
353 - If a shared dependency with the Chromium DEPS file: roll it to the same
355 - If it's a Chromium sub-directory, roll it to the HEAD revision (notice
358 - If it's another DEPS entry (not shared with Chromium), roll it to HEAD
400 stdout, _ = _RunCommand(['git', 'ls-remote', ChromeURL(angle_deps_entry), 'HEAD'])
502 # TBR needs to be non-empty for Gerrit to process it.
517 deps_content = deps_file.read().decode('utf-8')
543 deps_file.write(deps_content.encode('utf-8'))
547 # We don't sync deps on autoroller, so ignore missing local deps
552 'gclient sync --deps=all\n'
565 _RunCommand([gclient_cmd, 'setdep', '--revision', update], working_dir=CHECKOUT_SRC_DIR)
569 stdout, _ = _RunCommand(['git', 'status', '--porcelain'])
578 current_branch = _RunCommand(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])[0].splitlines()[0]
580 logging.error('Please checkout the main branch and re-run this script.')
582 sys.exit(-1)
591 _RunCommand(['git', 'checkout', '-b', ROLL_BRANCH_NAME])
595 active_branch, branches = _GetBranches()
598 if ROLL_BRANCH_NAME in branches:
602 _RunCommand(['git', 'branch', '-D', ROLL_BRANCH_NAME])
608 _RunCommand(['git', 'add', '--update', '.'])
609 _RunCommand(['git', 'commit', '-m', commit_msg])
615 old_commit_msg = _RunCommand(['git', 'log', '-1', '--pretty=%B'])[0].strip()
619 if bug_index == -1:
622 sys.exit(-1)
625 _RunCommand(['git', 'commit', '-a', '--amend', '-m', new_commit_msg])
631 if (new_commit_pos - current_commit_pos) < cq_over:
640 - 2: Submit to commit queue.
641 - 1: Run trybots but do not submit to CQ.
642 - 0: Skip CQ, upload only.
644 cmd = ['git', 'cl', 'upload', '--force', '--bypass-hooks', '--send-mail']
645 cmd.extend(['--cc', NOTIFY_EMAIL])
648 cmd.extend(['--use-commit-queue'])
651 cmd.extend(['--cq-dry-run'])
664 stdout, _ = _RunCommand(['git', 'ls-remote', CHROMIUM_SRC_URL, 'HEAD'])
675 '--clean',
680 '-r',
681 '--revision',
685 '--dry-run',
692 '-i',
693 '--ignore-unclean-workdir',
696 help=('Ignore if the current branch is not main or if there '
700 '--skip-cq',
705 '--cq-over',
711 '--autoroll',
714 help='Autoroller mode - amend existing commit, '
717 '-v',
718 '--verbose',