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

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

Issue 221833003: Fix auto-roll configuration. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 8 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') | 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 import argparse 6 import argparse
7 import json 7 import json
8 import os 8 import os
9 import sys 9 import sys
10 import urllib 10 import urllib
11 11
12 from common_includes import * 12 from common_includes import *
13 import chromium_roll 13 import chromium_roll
14 14
15 CONFIG = {
16 PERSISTFILE_BASENAME: "/tmp/v8-auto-roll-tempfile",
17 }
18
15 CR_DEPS_URL = 'http://src.chromium.org/svn/trunk/src/DEPS' 19 CR_DEPS_URL = 'http://src.chromium.org/svn/trunk/src/DEPS'
16 20
17 class CheckActiveRoll(Step): 21 class CheckActiveRoll(Step):
18 MESSAGE = "Check active roll." 22 MESSAGE = "Check active roll."
19 23
20 @staticmethod 24 @staticmethod
21 def ContainsChromiumRoll(changes): 25 def ContainsChromiumRoll(changes):
22 for change in changes: 26 for change in changes:
23 if change["subject"].startswith("Update V8 to"): 27 if change["subject"].startswith("Update V8 to"):
24 return True 28 return True
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 return [ 102 return [
99 CheckActiveRoll, 103 CheckActiveRoll,
100 DetectLastPush, 104 DetectLastPush,
101 DetectLastRoll, 105 DetectLastRoll,
102 RollChromium, 106 RollChromium,
103 ] 107 ]
104 108
105 109
106 if __name__ == "__main__": # pragma: no cover 110 if __name__ == "__main__": # pragma: no cover
107 sys.exit(AutoRoll(CONFIG).Run()) 111 sys.exit(AutoRoll(CONFIG).Run())
OLDNEW
« no previous file with comments | « tools/push-to-trunk/auto_push.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698