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