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

Side by Side Diff: tools/release/chromium_roll.py

Issue 1155983002: [release-tools] Fix auto-roller after depot tools change. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « no previous file | tools/release/test_scripts.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 os 7 import os
8 import sys 8 import sys
9 9
10 from common_includes import * 10 from common_includes import *
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 self.GitCreateBranch("work-branch", cwd=cwd) 71 self.GitCreateBranch("work-branch", cwd=cwd)
72 72
73 73
74 class UploadCL(Step): 74 class UploadCL(Step):
75 MESSAGE = "Create and upload CL." 75 MESSAGE = "Create and upload CL."
76 76
77 def RunStep(self): 77 def RunStep(self):
78 cwd = self._options.chromium 78 cwd = self._options.chromium
79 # Patch DEPS file. 79 # Patch DEPS file.
80 if self.Command("roll-dep", "v8 %s" % self._options.roll, cwd=cwd) is None: 80 if self.Command("roll-dep-svn", "v8 %s" %
81 self._options.roll, cwd=cwd) is None:
81 self.Die("Failed to create deps for %s" % self._options.roll) 82 self.Die("Failed to create deps for %s" % self._options.roll)
82 83
83 message = [] 84 message = []
84 message.append("Update V8 to %s." % self["roll_title"].lower()) 85 message.append("Update V8 to %s." % self["roll_title"].lower())
85 86
86 message.append( 87 message.append(
87 ROLL_SUMMARY % (self._options.last_roll[:8], self._options.roll[:8])) 88 ROLL_SUMMARY % (self._options.last_roll[:8], self._options.roll[:8]))
88 89
89 message.append(ISSUE_MSG) 90 message.append(ISSUE_MSG)
90 91
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 DetermineV8Sheriff, 150 DetermineV8Sheriff,
150 SwitchChromium, 151 SwitchChromium,
151 UpdateChromiumCheckout, 152 UpdateChromiumCheckout,
152 UploadCL, 153 UploadCL,
153 CleanUp, 154 CleanUp,
154 ] 155 ]
155 156
156 157
157 if __name__ == "__main__": # pragma: no cover 158 if __name__ == "__main__": # pragma: no cover
158 sys.exit(ChromiumRoll().Run()) 159 sys.exit(ChromiumRoll().Run())
OLDNEW
« no previous file with comments | « no previous file | tools/release/test_scripts.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698