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

Side by Side Diff: tools/dartium/update_deps.py

Issue 1682783002: Dartium 45 roll (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: removed Created 4 years, 10 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 | « tools/dartium/test.py ('k') | tools/deps/dartium.deps/DEPS » ('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/python 1 #!/usr/bin/python
2 2
3 # Update Dartium DEPS automatically. 3 # Update Dartium DEPS automatically.
4 4
5 from datetime import datetime, timedelta 5 from datetime import datetime, timedelta
6 import optparse 6 import optparse
7 import os 7 import os
8 import re 8 import re
9 from subprocess import Popen, PIPE 9 from subprocess import Popen, PIPE
10 import sys 10 import sys
(...skipping 23 matching lines...) Expand all
34 # > ./dartium_tools/update_deps.py --target=integration 34 # > ./dartium_tools/update_deps.py --target=integration
35 # 35 #
36 # (f) Run periodical update: 36 # (f) Run periodical update:
37 # > while true; do ./dartium_tools/update_deps.py --force ; sleep 300 ; don e 37 # > while true; do ./dartium_tools/update_deps.py --force ; sleep 300 ; don e
38 38
39 ######################################################################## 39 ########################################################################
40 # Repositories to auto-update 40 # Repositories to auto-update
41 ######################################################################## 41 ########################################################################
42 42
43 BRANCH_CURRENT="dart/dartium" 43 BRANCH_CURRENT="dart/dartium"
44 BRANCH_NEXT="dart/dartium" 44 BRANCH_NEXT="dart/2454_1"
45 BRANCH_MULTIVM="dart/multivm" 45
46 # (repo_name, deps_dir, repo_branch, prefix, repos, branch)
46 47
47 TARGETS = { 48 TARGETS = {
48 'dartium': ( 49 'dartium': (
49 'git@github.com:dart-lang/sdk.git', 50 'git@github.com:dart-lang/sdk.git',
50 'tools/deps/dartium.deps', 51 'tools/deps/dartium.deps',
51 'origin/master', 52 'origin/master',
52 'dartium', 53 'dartium',
53 # TODO(vsm): Reenable 'chromium' 54 # TODO(vsm): Reenable 'chromium'
54 ['webkit'], 55 ['webkit'],
55 BRANCH_CURRENT, 56 BRANCH_CURRENT,
56 ), 57 ),
57 'integration': ( 58 'integration': (
58 # TODO(jacobr): what is the git repo for integration if any? 59 # TODO(jacobr): what is the git repo for integration if any?
59 'https://dart.googlecode.com/svn/branches/dartium_integration/deps/dartium.d eps', 60 'git@github.com:dart-lang/sdk.git',
60 'tools/deps/dartium.deps', 61 'tools/deps/dartium.deps',
61 'origin/master', 62 'origin/integration',
62 'dartium', 63 'dartium',
63 # TODO(vsm): Reenable 'chromium' 64 # TODO(vsm): Reenable 'chromium'
64 ['webkit'], 65 ['webkit'],
65 BRANCH_NEXT, 66 BRANCH_NEXT,
66 ), 67 ),
67 } 68 }
68 69
69 # Each element in this map represents a repository to update. Entries 70 # Each element in this map represents a repository to update. Entries
70 # take the form: 71 # take the form:
71 # (repo_tag: (svn_url, view_url)) 72 # (repo_tag: (svn_url, view_url))
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 if not options.force: 262 if not options.force:
262 print "Ready to push; press Enter to continue or Control-C to abort..." 263 print "Ready to push; press Enter to continue or Control-C to abort..."
263 sys.stdin.readline() 264 sys.stdin.readline()
264 print run_cmd(['git', 'commit', '-F', 'commit_log.txt']) 265 print run_cmd(['git', 'commit', '-F', 'commit_log.txt'])
265 print run_cmd(['git', 'push', repo_branch_parts[0], repo_branch_parts[1]]) 266 print run_cmd(['git', 'push', repo_branch_parts[0], repo_branch_parts[1]])
266 print "Done." 267 print "Done."
267 268
268 269
269 if '__main__' == __name__: 270 if '__main__' == __name__:
270 main() 271 main()
OLDNEW
« no previous file with comments | « tools/dartium/test.py ('k') | tools/deps/dartium.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698