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

Side by Side Diff: tools/release/auto_roll.py

Issue 1466233002: [release] Remove unused sheriff feature from auto-roller. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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 | tools/release/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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 def RunStep(self): 58 def RunStep(self):
59 if self._options.roll: 59 if self._options.roll:
60 args = [ 60 args = [
61 "--author", self._options.author, 61 "--author", self._options.author,
62 "--reviewer", self._options.reviewer, 62 "--reviewer", self._options.reviewer,
63 "--chromium", self._options.chromium, 63 "--chromium", self._options.chromium,
64 "--last-roll", self["last_roll"], 64 "--last-roll", self["last_roll"],
65 "--use-commit-queue", 65 "--use-commit-queue",
66 self["roll"], 66 self["roll"],
67 ] 67 ]
68 if self._options.sheriff:
69 args.append("--sheriff")
70 if self._options.dry_run: 68 if self._options.dry_run:
71 args.append("--dry-run") 69 args.append("--dry-run")
72 if self._options.work_dir: 70 if self._options.work_dir:
73 args.extend(["--work-dir", self._options.work_dir]) 71 args.extend(["--work-dir", self._options.work_dir])
74 if self._options.chromium_roll_json_output: 72 if self._options.chromium_roll_json_output:
75 args.extend(["--json-output", self._options.chromium_roll_json_output]) 73 args.extend(["--json-output", self._options.chromium_roll_json_output])
76 self._side_effect_handler.Call(chromium_roll.ChromiumRoll().Run, args) 74 self._side_effect_handler.Call(chromium_roll.ChromiumRoll().Run, args)
77 75
78 76
79 class AutoRoll(ScriptsBase): 77 class AutoRoll(ScriptsBase):
(...skipping 24 matching lines...) Expand all
104 102
105 def _Steps(self): 103 def _Steps(self):
106 return [ 104 return [
107 DetectLastRoll, 105 DetectLastRoll,
108 RollChromium, 106 RollChromium,
109 ] 107 ]
110 108
111 109
112 if __name__ == "__main__": # pragma: no cover 110 if __name__ == "__main__": # pragma: no cover
113 sys.exit(AutoRoll().Run()) 111 sys.exit(AutoRoll().Run())
OLDNEW
« no previous file with comments | « no previous file | tools/release/chromium_roll.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698