• Home
  • Raw
  • Download

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',
58 'third_party/clang-format/script',
63 'third_party/fuchsia-sdk/sdk',
74 'third_party/llvm-libc/src',
80 'third_party/Python-Markdown',
81 'third_party/qemu-linux-x64',
82 'third_party/qemu-mac-x64',
94 'tools/luci-go',
115 COMMIT_POSITION_RE = re.compile('^Cr-Commit-Position: .*#([0-9]+).*$')
116 CLANG_REVISION_RE = re.compile(r'^CLANG_REVISION = \'([-0-9a-z]+)\'')
129 NOTIFY_EMAIL = 'angle-wrangler@grotations.appspotmail.com'
191 sys.exit(-1)
230 """Returns a tuple of active,branches.
232 The 'active' is the name of the currently active branch and 'branches' is a
233 list of all branches.
236 branches = []
242 branches.append(active)
246 branches.append(branch)
247 return active, branches
255 return base64.b64decode(base64_content[0]).decode('utf-8')
321 # Ignore GCS deps - there aren't any that we want to sync yet
353 return [path for path in new_entries - old_entries if path in ANGLE_CHROMIUM_DEPS]
360 - If a shared dependency with the Chromium DEPS file: roll it to the same
362 - If it's a Chromium sub-directory, roll it to the HEAD revision (notice
365 - If it's another DEPS entry (not shared with Chromium), roll it to HEAD
407 stdout, _ = _RunCommand(['git', 'ls-remote', ChromeURL(angle_deps_entry), 'HEAD'])
509 # TBR needs to be non-empty for Gerrit to process it.
524 deps_content = deps_file.read().decode('utf-8')
550 deps_file.write(deps_content.encode('utf-8'))
554 # We don't sync deps on autoroller, so ignore missing local deps
559 'gclient sync --deps=all\n'
572 _RunCommand([gclient_cmd, 'setdep', '--revision', update], working_dir=CHECKOUT_SRC_DIR)
576 stdout, _ = _RunCommand(['git', 'status', '--porcelain'])
585 current_branch = _RunCommand(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])[0].splitlines()[0]
587 logging.error('Please checkout the main branch and re-run this script.')
589 sys.exit(-1)
598 _RunCommand(['git', 'checkout', '-b', ROLL_BRANCH_NAME])
602 active_branch, branches = _GetBranches()
605 if ROLL_BRANCH_NAME in branches:
609 _RunCommand(['git', 'branch', '-D', ROLL_BRANCH_NAME])
615 _RunCommand(['git', 'add', '--update', '.'])
616 _RunCommand(['git', 'commit', '-m', commit_msg])
622 old_commit_msg = _RunCommand(['git', 'log', '-1', '--pretty=%B'])[0].strip()
626 if bug_index == -1:
629 sys.exit(-1)
632 _RunCommand(['git', 'commit', '-a', '--amend', '-m', new_commit_msg])
638 if (new_commit_pos - current_commit_pos) < cq_over:
647 - 2: Submit to commit queue.
648 - 1: Run trybots but do not submit to CQ.
649 - 0: Skip CQ, upload only.
651 cmd = ['git', 'cl', 'upload', '--force', '--bypass-hooks', '--send-mail']
652 cmd.extend(['--cc', NOTIFY_EMAIL])
655 cmd.extend(['--use-commit-queue'])
658 cmd.extend(['--cq-dry-run'])
671 stdout, _ = _RunCommand(['git', 'ls-remote', CHROMIUM_SRC_URL, 'HEAD'])
682 '--clean',
687 '-r',
688 '--revision',
692 '--dry-run',
699 '-i',
700 '--ignore-unclean-workdir',
703 help=('Ignore if the current branch is not main or if there '
707 '--skip-cq',
712 '--cq-over',
718 '--autoroll',
721 help='Autoroller mode - amend existing commit, '
724 '-v',
725 '--verbose',