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

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

Issue 938023002: Add sheriff details to roll commit message. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Link to instructions Created 5 years, 10 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 | 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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 "--last-roll", self["last_roll"], 98 "--last-roll", self["last_roll"],
99 "--use-commit-queue", 99 "--use-commit-queue",
100 ] 100 ]
101 if self._options.sheriff: 101 if self._options.sheriff:
102 args.extend([ 102 args.append("--sheriff")
103 "--sheriff", "--googlers-mapping", self._options.googlers_mapping])
104 if self._options.dry_run: 103 if self._options.dry_run:
105 args.extend(["--dry-run"]) 104 args.append("--dry-run")
106 if self._options.work_dir: 105 if self._options.work_dir:
107 args.extend(["--work-dir", self._options.work_dir]) 106 args.extend(["--work-dir", self._options.work_dir])
108 self._side_effect_handler.Call(chromium_roll.ChromiumRoll().Run, args) 107 self._side_effect_handler.Call(chromium_roll.ChromiumRoll().Run, args)
109 108
110 109
111 class AutoRoll(ScriptsBase): 110 class AutoRoll(ScriptsBase):
112 def _PrepareOptions(self, parser): 111 def _PrepareOptions(self, parser):
113 parser.add_argument("-c", "--chromium", required=True, 112 parser.add_argument("-c", "--chromium", required=True,
114 help=("The path to your Chromium src/ " 113 help=("The path to your Chromium src/ "
115 "directory to automate the V8 roll.")) 114 "directory to automate the V8 roll."))
(...skipping 19 matching lines...) Expand all
135 return [ 134 return [
136 CheckActiveRoll, 135 CheckActiveRoll,
137 DetectLastRoll, 136 DetectLastRoll,
138 CheckClusterFuzz, 137 CheckClusterFuzz,
139 RollChromium, 138 RollChromium,
140 ] 139 ]
141 140
142 141
143 if __name__ == "__main__": # pragma: no cover 142 if __name__ == "__main__": # pragma: no cover
144 sys.exit(AutoRoll().Run()) 143 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