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 sys | 7 import sys |
8 | 8 |
9 from common_includes import * | 9 from common_includes import * |
10 | 10 |
11 | 11 |
12 class Preparation(Step): | 12 class Preparation(Step): |
13 MESSAGE = "Preparation." | 13 MESSAGE = "Preparation." |
14 | 14 |
15 def RunStep(self): | 15 def RunStep(self): |
| 16 # TODO(machenbach): Remove after the git switch. |
| 17 if self.Config("PERSISTFILE_BASENAME") == "/tmp/v8-auto-tag-tempfile": |
| 18 print "This script is disabled until after the v8 git migration." |
| 19 return True |
| 20 |
16 self.CommonPrepare() | 21 self.CommonPrepare() |
17 self.PrepareBranch() | 22 self.PrepareBranch() |
18 self.GitCheckout("master") | 23 self.GitCheckout("master") |
19 self.vc.Pull() | 24 self.vc.Pull() |
20 | 25 |
21 | 26 |
22 class GetTags(Step): | 27 class GetTags(Step): |
23 MESSAGE = "Get all V8 tags." | 28 MESSAGE = "Get all V8 tags." |
24 | 29 |
25 def RunStep(self): | 30 def RunStep(self): |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 GetOldestUntaggedVersion, | 189 GetOldestUntaggedVersion, |
185 GetLKGRs, | 190 GetLKGRs, |
186 CalculateTagRevision, | 191 CalculateTagRevision, |
187 MakeTag, | 192 MakeTag, |
188 CleanUp, | 193 CleanUp, |
189 ] | 194 ] |
190 | 195 |
191 | 196 |
192 if __name__ == "__main__": # pragma: no cover | 197 if __name__ == "__main__": # pragma: no cover |
193 sys.exit(AutoTag().Run()) | 198 sys.exit(AutoTag().Run()) |
OLD | NEW |