Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: tools/push-to-trunk/auto_tag.py

Issue 585893002: Refactoring: Use fake cwd in release script tests. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Remove git location legacy. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/push-to-trunk/auto_push.py ('k') | tools/push-to-trunk/chromium_roll.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CONFIG = { 11 CONFIG = {
12 BRANCHNAME: "auto-tag-v8", 12 BRANCHNAME: "auto-tag-v8",
13 PERSISTFILE_BASENAME: "/tmp/v8-auto-tag-tempfile", 13 PERSISTFILE_BASENAME: "/tmp/v8-auto-tag-tempfile",
14 DOT_GIT_LOCATION: ".git",
15 VERSION_FILE: "src/version.cc", 14 VERSION_FILE: "src/version.cc",
16 } 15 }
17 16
18 17
19 class Preparation(Step): 18 class Preparation(Step):
20 MESSAGE = "Preparation." 19 MESSAGE = "Preparation."
21 20
22 def RunStep(self): 21 def RunStep(self):
23 self.CommonPrepare() 22 self.CommonPrepare()
24 self.PrepareBranch() 23 self.PrepareBranch()
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 GetOldestUntaggedVersion, 190 GetOldestUntaggedVersion,
192 GetLKGRs, 191 GetLKGRs,
193 CalculateTagRevision, 192 CalculateTagRevision,
194 MakeTag, 193 MakeTag,
195 CleanUp, 194 CleanUp,
196 ] 195 ]
197 196
198 197
199 if __name__ == "__main__": # pragma: no cover 198 if __name__ == "__main__": # pragma: no cover
200 sys.exit(AutoTag(CONFIG).Run()) 199 sys.exit(AutoTag(CONFIG).Run())
OLDNEW
« no previous file with comments | « tools/push-to-trunk/auto_push.py ('k') | tools/push-to-trunk/chromium_roll.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698