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

Side by Side Diff: tools/push-to-trunk/auto_roll.py

Issue 532743002: Make chromium-roll script non-interactive. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/push-to-trunk/chromium_roll.py » ('j') | 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/env python 1 #!/usr/bin/env python
2 # Copyright 2014 the V8 project authors. All rights reserved. 2 # Copyright 2014 the V8 project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import argparse 6 import argparse
7 import json 7 import json
8 import os 8 import os
9 import sys 9 import sys
10 import urllib 10 import urllib
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 class RollChromium(Step): 89 class RollChromium(Step):
90 MESSAGE = "Roll V8 into Chromium." 90 MESSAGE = "Roll V8 into Chromium."
91 91
92 def RunStep(self): 92 def RunStep(self):
93 if self._options.roll: 93 if self._options.roll:
94 args = [ 94 args = [
95 "--author", self._options.author, 95 "--author", self._options.author,
96 "--reviewer", self._options.reviewer, 96 "--reviewer", self._options.reviewer,
97 "--chromium", self._options.chromium, 97 "--chromium", self._options.chromium,
98 "--force",
99 "--use-commit-queue", 98 "--use-commit-queue",
100 ] 99 ]
101 if self._options.sheriff: 100 if self._options.sheriff:
102 args.extend([ 101 args.extend([
103 "--sheriff", "--googlers-mapping", self._options.googlers_mapping]) 102 "--sheriff", "--googlers-mapping", self._options.googlers_mapping])
104 R = chromium_roll.ChromiumRoll 103 R = chromium_roll.ChromiumRoll
105 self._side_effect_handler.Call( 104 self._side_effect_handler.Call(
106 R(chromium_roll.CONFIG, self._side_effect_handler).Run, 105 R(chromium_roll.CONFIG, self._side_effect_handler).Run,
107 args) 106 args)
108 107
(...skipping 21 matching lines...) Expand all
130 CheckActiveRoll, 129 CheckActiveRoll,
131 DetectLastPush, 130 DetectLastPush,
132 DetectLastRoll, 131 DetectLastRoll,
133 CheckClusterFuzz, 132 CheckClusterFuzz,
134 RollChromium, 133 RollChromium,
135 ] 134 ]
136 135
137 136
138 if __name__ == "__main__": # pragma: no cover 137 if __name__ == "__main__": # pragma: no cover
139 sys.exit(AutoRoll(CONFIG).Run()) 138 sys.exit(AutoRoll(CONFIG).Run())
OLDNEW
« no previous file with comments | « no previous file | tools/push-to-trunk/chromium_roll.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698