OLD | NEW |
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 """ | 6 """ |
7 Script for auto-increasing the version on bleeding_edge. | 7 Script for auto-increasing the version on bleeding_edge. |
8 | 8 |
9 The script can be run regularly by a cron job. It will increase the build | 9 The script can be run regularly by a cron job. It will increase the build |
10 level of the version on bleeding_edge if: | 10 level of the version on bleeding_edge if: |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 print "Specify your chromium.org email with -a" | 215 print "Specify your chromium.org email with -a" |
216 return False | 216 return False |
217 options.wait_for_lgtm = False | 217 options.wait_for_lgtm = False |
218 options.force_readline_defaults = True | 218 options.force_readline_defaults = True |
219 options.force_upload = True | 219 options.force_upload = True |
220 return True | 220 return True |
221 | 221 |
222 def _Config(self): | 222 def _Config(self): |
223 return { | 223 return { |
224 "PERSISTFILE_BASENAME": "/tmp/v8-bump-up-version-tempfile", | 224 "PERSISTFILE_BASENAME": "/tmp/v8-bump-up-version-tempfile", |
| 225 "PATCH_FILE": "/tmp/v8-bump-up-version-tempfile-patch-file", |
225 } | 226 } |
226 | 227 |
227 def _Steps(self): | 228 def _Steps(self): |
228 return [ | 229 return [ |
229 Preparation, | 230 Preparation, |
230 GetCurrentBleedingEdgeVersion, | 231 GetCurrentBleedingEdgeVersion, |
231 LastChangeBailout, | 232 LastChangeBailout, |
232 FetchLKGR, | 233 FetchLKGR, |
233 GetLKGRVersion, | 234 GetLKGRVersion, |
234 LKGRVersionUpToDateBailout, | 235 LKGRVersionUpToDateBailout, |
235 GetTrunkVersion, | 236 GetTrunkVersion, |
236 CalculateVersion, | 237 CalculateVersion, |
237 CheckTreeStatus, | 238 CheckTreeStatus, |
238 ChangeVersion, | 239 ChangeVersion, |
239 ] | 240 ] |
240 | 241 |
241 if __name__ == "__main__": # pragma: no cover | 242 if __name__ == "__main__": # pragma: no cover |
242 sys.exit(BumpUpVersion().Run()) | 243 sys.exit(BumpUpVersion().Run()) |
OLD | NEW |