| 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 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 | 145 |
| 146 print "Tagging revision %s with %s" % (lkgr_svn, self["candidate_version"]) | 146 print "Tagging revision %s with %s" % (lkgr_svn, self["candidate_version"]) |
| 147 | 147 |
| 148 | 148 |
| 149 class MakeTag(Step): | 149 class MakeTag(Step): |
| 150 MESSAGE = "Tag the version." | 150 MESSAGE = "Tag the version." |
| 151 | 151 |
| 152 def RunStep(self): | 152 def RunStep(self): |
| 153 if not self._options.dry_run: | 153 if not self._options.dry_run: |
| 154 self.GitReset(self["lkgr"]) | 154 self.GitReset(self["lkgr"]) |
| 155 self.vc.Tag(self["candidate_version"]) | 155 # FIXME(machenbach): Make this work with the git repo. |
| 156 self.vc.Tag(self["candidate_version"], "svn/bleeding_edge") |
| 156 | 157 |
| 157 | 158 |
| 158 class CleanUp(Step): | 159 class CleanUp(Step): |
| 159 MESSAGE = "Clean up." | 160 MESSAGE = "Clean up." |
| 160 | 161 |
| 161 def RunStep(self): | 162 def RunStep(self): |
| 162 self.CommonCleanup() | 163 self.CommonCleanup() |
| 163 | 164 |
| 164 | 165 |
| 165 class AutoTag(ScriptsBase): | 166 class AutoTag(ScriptsBase): |
| (...skipping 23 matching lines...) Expand all Loading... |
| 189 GetOldestUntaggedVersion, | 190 GetOldestUntaggedVersion, |
| 190 GetLKGRs, | 191 GetLKGRs, |
| 191 CalculateTagRevision, | 192 CalculateTagRevision, |
| 192 MakeTag, | 193 MakeTag, |
| 193 CleanUp, | 194 CleanUp, |
| 194 ] | 195 ] |
| 195 | 196 |
| 196 | 197 |
| 197 if __name__ == "__main__": # pragma: no cover | 198 if __name__ == "__main__": # pragma: no cover |
| 198 sys.exit(AutoTag().Run()) | 199 sys.exit(AutoTag().Run()) |
| OLD | NEW |