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

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

Issue 609443002: Disable version increment and tagging until after the git migration. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 2 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_tag.py ('k') | no next file » | 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 """ 6 """
7 Script for auto-increasing the version on bleeding_edge. 7 Script for auto-increasing the version on bleeding_edge.
8 8
9 The script can be run regularly by a cron job. It will increase the build 9 The script can be run regularly by a cron job. It will increase the build
10 level of the version on bleeding_edge if: 10 level of the version on bleeding_edge if:
(...skipping 10 matching lines...) Expand all
21 21
22 import argparse 22 import argparse
23 import os 23 import os
24 import sys 24 import sys
25 25
26 from common_includes import * 26 from common_includes import *
27 27
28 VERSION_BRANCH = "auto-bump-up-version" 28 VERSION_BRANCH = "auto-bump-up-version"
29 29
30 30
31 #TODO(machenbach): Add vc interface that works on git mirror. 31 # TODO(machenbach): Add vc interface that works on git mirror.
32 class Preparation(Step): 32 class Preparation(Step):
33 MESSAGE = "Preparation." 33 MESSAGE = "Preparation."
34 34
35 def RunStep(self): 35 def RunStep(self):
36 # TODO(machenbach): Remove after the git switch.
37 if(self.Config("PERSISTFILE_BASENAME") ==
38 "/tmp/v8-bump-up-version-tempfile"):
39 print "This script is disabled until after the v8 git migration."
40 return True
41
36 # Check for a clean workdir. 42 # Check for a clean workdir.
37 if not self.GitIsWorkdirClean(): # pragma: no cover 43 if not self.GitIsWorkdirClean(): # pragma: no cover
38 # This is in case a developer runs this script on a dirty tree. 44 # This is in case a developer runs this script on a dirty tree.
39 self.GitStash() 45 self.GitStash()
40 46
41 self.GitCheckout("master") 47 self.GitCheckout("master")
42 48
43 self.GitPull() 49 self.GitPull()
44 50
45 # Ensure a clean version branch. 51 # Ensure a clean version branch.
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 GetLKGRVersion, 241 GetLKGRVersion,
236 LKGRVersionUpToDateBailout, 242 LKGRVersionUpToDateBailout,
237 GetTrunkVersion, 243 GetTrunkVersion,
238 CalculateVersion, 244 CalculateVersion,
239 CheckTreeStatus, 245 CheckTreeStatus,
240 ChangeVersion, 246 ChangeVersion,
241 ] 247 ]
242 248
243 if __name__ == "__main__": # pragma: no cover 249 if __name__ == "__main__": # pragma: no cover
244 sys.exit(BumpUpVersion().Run()) 250 sys.exit(BumpUpVersion().Run())
OLDNEW
« no previous file with comments | « tools/push-to-trunk/auto_tag.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698