Sha256: be890d2c8a37b111a5db78932277038796f75931dc9f60e24d7728d30f611f14

Contents?: true

Size: 1.09 KB

Versions: 31

Compression:

Stored size: 1.09 KB

Contents

#!/usr/bin/env python
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import optparse
import sys

import bot_update  # pylint: disable=relative-import


if __name__ == '__main__':
  parse = optparse.OptionParser()

  parse.add_option('--gerrit_repo',
                   help='Gerrit repository to pull the ref from.')
  parse.add_option('--gerrit_ref', help='Gerrit ref to apply.')
  parse.add_option('--root', help='The location of the checkout.')
  parse.add_option('--gerrit_no_reset', action='store_true',
                   help='Bypass calling reset after applying a gerrit ref.')
  parse.add_option('--gerrit_no_rebase_patch_ref', action='store_true',
                   help='Bypass rebase of Gerrit patch ref after checkout.')

  options, _ = parse.parse_args()

  sys.exit(
      bot_update.apply_gerrit_ref(
          options.gerrit_repo,
          options.gerrit_ref,
          options.root,
          not options.gerrit_no_reset,
          not options.gerrit_no_rebase_patch_ref)
  )

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
libv8-6.7.288.46.1 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.7.288.46.0 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.7.288.46.1beta0 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.3.292.48.1 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.3.292.48.0 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.3.292.48.0beta2 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.3.292.48.0beta1 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.2.414.42.1 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.2.414.42.0 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.2.414.42.0beta1 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.0.286.54.3 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.0.286.54.2 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.0.286.54.1 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.0.286.54.0 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.0.286.54.0beta2 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.0.286.54.0beta1 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-6.0.286.44.0beta1 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-5.9.211.38.1 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-5.9.211.38.0 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py
libv8-5.9.211.38.0beta0 vendor/depot_tools/recipes/recipe_modules/bot_update/resources/apply_gerrit.py