Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6749)

Unified Diff: bin/cros_repo_sync_all.py

Issue 6286040: Remove buildbot code that has been added to chromite. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Verify Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/cros_repo_sync_all ('k') | cros_mark_as_stable » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: bin/cros_repo_sync_all.py
diff --git a/bin/cros_repo_sync_all.py b/bin/cros_repo_sync_all.py
deleted file mode 100755
index 642ef06fb4599b566169af5ba615100a3ac2e57f..0000000000000000000000000000000000000000
--- a/bin/cros_repo_sync_all.py
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/python
-
-# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-"""Stop gap sync function until cbuildbot is integrated into all builders"""
-
-import cbuildbot_comm
-import cbuildbot
-import optparse
-import sys
-
-"""Number of retries to retry repo sync before giving up"""
-_NUMBER_OF_RETRIES = 3
-
-def main():
- parser = optparse.OptionParser()
- parser.add_option('-r', '--buildroot',
- help='root directory where sync occurs')
- parser.add_option('-c', '--clobber', action='store_true', default=False,
- help='clobber build directory and do a full checkout')
- parser.add_option('-t', '--tracking_branch', default='cros/master',
- help='Branch to sync against for full checkouts.')
- (options, args) = parser.parse_args()
- if options.buildroot:
- if options.clobber:
- cbuildbot._FullCheckout(options.buildroot, options.tracking_branch,
- retries=_NUMBER_OF_RETRIES)
- else:
- cbuildbot._IncrementalCheckout(options.buildroot,
- retries=_NUMBER_OF_RETRIES)
- else:
- print >> sys.stderr, 'ERROR: Must set buildroot'
- sys.exit(1)
-
-if __name__ == '__main__':
- main()
« no previous file with comments | « bin/cros_repo_sync_all ('k') | cros_mark_as_stable » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698