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

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

Issue 1553103002: [release] Bump max age of last release. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/release/test_scripts.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 os 7 import os
8 import sys 8 import sys
9 9
10 from common_includes import * 10 from common_includes import *
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 179
180 180
181 class AutoRoll(ScriptsBase): 181 class AutoRoll(ScriptsBase):
182 def _PrepareOptions(self, parser): 182 def _PrepareOptions(self, parser):
183 parser.add_argument("-c", "--chromium", required=True, 183 parser.add_argument("-c", "--chromium", required=True,
184 help=("The path to your Chromium src/ " 184 help=("The path to your Chromium src/ "
185 "directory to automate the V8 roll.")) 185 "directory to automate the V8 roll."))
186 parser.add_argument("--last-roll", 186 parser.add_argument("--last-roll",
187 help="The git commit ID of the last rolled version. " 187 help="The git commit ID of the last rolled version. "
188 "Auto-detected if not specified.") 188 "Auto-detected if not specified.")
189 parser.add_argument("--max-age", default=3, type=int, 189 parser.add_argument("--max-age", default=7, type=int,
190 help="Maximum age in days of the latest release.") 190 help="Maximum age in days of the latest release.")
191 parser.add_argument("--revision", 191 parser.add_argument("--revision",
192 help="Revision to roll. Auto-detected if not " 192 help="Revision to roll. Auto-detected if not "
193 "specified."), 193 "specified."),
194 parser.add_argument("--roll", help="Deprecated.", 194 parser.add_argument("--roll", help="Deprecated.",
195 default=True, action="store_true") 195 default=True, action="store_true")
196 parser.add_argument("--use-commit-queue", 196 parser.add_argument("--use-commit-queue",
197 help="Check the CQ bit on upload.", 197 help="Check the CQ bit on upload.",
198 default=True, action="store_true") 198 default=True, action="store_true")
199 199
(...skipping 20 matching lines...) Expand all
220 PrepareRollCandidate, 220 PrepareRollCandidate,
221 SwitchChromium, 221 SwitchChromium,
222 UpdateChromiumCheckout, 222 UpdateChromiumCheckout,
223 UploadCL, 223 UploadCL,
224 CleanUp, 224 CleanUp,
225 ] 225 ]
226 226
227 227
228 if __name__ == "__main__": # pragma: no cover 228 if __name__ == "__main__": # pragma: no cover
229 sys.exit(AutoRoll().Run()) 229 sys.exit(AutoRoll().Run())
OLDNEW
« no previous file with comments | « no previous file | tools/release/test_scripts.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698