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

Side by Side Diff: cros_mark_as_stable.py

Issue 3125024: Change default tracking branch for new workflow (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: Created 10 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 2
3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved. 3 # Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 """This module uprevs a given package's ebuild to the next revision.""" 7 """This module uprevs a given package's ebuild to the next revision."""
8 8
9 9
10 import fileinput 10 import fileinput
(...skipping 18 matching lines...) Expand all
29 empty commit id's.""", 29 empty commit id's.""",
30 short_name='i') 30 short_name='i')
31 gflags.DEFINE_string('packages', '', 31 gflags.DEFINE_string('packages', '',
32 'Space separated list of packages to mark as stable.', 32 'Space separated list of packages to mark as stable.',
33 short_name='p') 33 short_name='p')
34 gflags.DEFINE_string('push_options', '', 34 gflags.DEFINE_string('push_options', '',
35 'Options to use with git-cl push using push command.') 35 'Options to use with git-cl push using push command.')
36 gflags.DEFINE_string('srcroot', '%s/trunk/src' % os.environ['HOME'], 36 gflags.DEFINE_string('srcroot', '%s/trunk/src' % os.environ['HOME'],
37 'Path to root src directory.', 37 'Path to root src directory.',
38 short_name='r') 38 short_name='r')
39 gflags.DEFINE_string('tracking_branch', 'origin', 39 gflags.DEFINE_string('tracking_branch', 'cros/master',
40 'Used with commit to specify branch to track against.', 40 'Used with commit to specify branch to track against.',
41 short_name='t') 41 short_name='t')
42 gflags.DEFINE_boolean('verbose', False, 42 gflags.DEFINE_boolean('verbose', False,
43 'Prints out verbose information about what is going on.', 43 'Prints out verbose information about what is going on.',
44 short_name='v') 44 short_name='v')
45 45
46 46
47 # Takes two strings, package_name and commit_id. 47 # Takes two strings, package_name and commit_id.
48 _GIT_COMMIT_MESSAGE = \ 48 _GIT_COMMIT_MESSAGE = \
49 'Marking 9999 ebuild for %s with commit %s as stable.' 49 'Marking 9999 ebuild for %s with commit %s as stable.'
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 'and reset the git repo yourself.' % 372 'and reset the git repo yourself.' %
373 (package_list[:index], overlay_directory)) 373 (package_list[:index], overlay_directory))
374 raise e 374 raise e
375 elif command == 'push': 375 elif command == 'push':
376 _PushChange() 376 _PushChange()
377 377
378 378
379 if __name__ == '__main__': 379 if __name__ == '__main__':
380 main(sys.argv) 380 main(sys.argv)
381 381
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698