| 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 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 * |
| 11 | 11 |
| 12 | |
| 13 ROLL_SUMMARY = ("Summary of changes available at:\n" | 12 ROLL_SUMMARY = ("Summary of changes available at:\n" |
| 14 "https://chromium.googlesource.com/v8/v8/+log/%s..%s") | 13 "https://chromium.googlesource.com/v8/v8/+log/%s..%s") |
| 15 | 14 |
| 16 | |
| 17 ISSUE_MSG = ( | 15 ISSUE_MSG = ( |
| 18 """Please follow these instructions for assigning/CC'ing issues: | 16 """Please follow these instructions for assigning/CC'ing issues: |
| 19 https://code.google.com/p/v8-wiki/wiki/TriagingIssues""") | 17 https://code.google.com/p/v8-wiki/wiki/TriagingIssues |
| 18 |
| 19 Please close rolling in case of a roll revert: |
| 20 https://v8-roll.appspot.com/""") |
| 20 | 21 |
| 21 class Preparation(Step): | 22 class Preparation(Step): |
| 22 MESSAGE = "Preparation." | 23 MESSAGE = "Preparation." |
| 23 | 24 |
| 24 def RunStep(self): | 25 def RunStep(self): |
| 25 # Update v8 remote tracking branches. | 26 # Update v8 remote tracking branches. |
| 26 self.GitFetchOrigin() | 27 self.GitFetchOrigin() |
| 27 self.Git("fetch origin +refs/tags/*:refs/tags/*") | 28 self.Git("fetch origin +refs/tags/*:refs/tags/*") |
| 28 | 29 |
| 29 | 30 |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 DetermineV8Sheriff, | 151 DetermineV8Sheriff, |
| 151 SwitchChromium, | 152 SwitchChromium, |
| 152 UpdateChromiumCheckout, | 153 UpdateChromiumCheckout, |
| 153 UploadCL, | 154 UploadCL, |
| 154 CleanUp, | 155 CleanUp, |
| 155 ] | 156 ] |
| 156 | 157 |
| 157 | 158 |
| 158 if __name__ == "__main__": # pragma: no cover | 159 if __name__ == "__main__": # pragma: no cover |
| 159 sys.exit(ChromiumRoll().Run()) | 160 sys.exit(ChromiumRoll().Run()) |
| OLD | NEW |