| OLD | NEW |
| 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 Loading... |
| 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/1916" | 43 BRANCH_CURRENT="dart/1916" |
| 44 BRANCH_NEXT="dart/1916" | 44 BRANCH_NEXT="dart/1985" |
| 45 BRANCH_MULTIVM="dart/multivm" | 45 BRANCH_MULTIVM="dart/multivm" |
| 46 | 46 |
| 47 TARGETS = { | 47 TARGETS = { |
| 48 'dartium': ( | 48 'dartium': ( |
| 49 'https://dart.googlecode.com/svn/branches/bleeding_edge/deps/dartium.deps', | 49 'https://dart.googlecode.com/svn/branches/bleeding_edge/deps/dartium.deps', |
| 50 'dartium', | 50 'dartium', |
| 51 ['webkit', 'chromium'], | 51 ['webkit', 'chromium'], |
| 52 BRANCH_CURRENT, | 52 BRANCH_CURRENT, |
| 53 ), | 53 ), |
| 54 'integration': ( | 54 'integration': ( |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 | 260 |
| 261 if not options.force: | 261 if not options.force: |
| 262 print "Ready to push; press Enter to continue or Control-C to abort..." | 262 print "Ready to push; press Enter to continue or Control-C to abort..." |
| 263 sys.stdin.readline() | 263 sys.stdin.readline() |
| 264 print run_cmd(['svn', 'commit', '--file', 'commit_log.txt']) | 264 print run_cmd(['svn', 'commit', '--file', 'commit_log.txt']) |
| 265 print "Done." | 265 print "Done." |
| 266 | 266 |
| 267 | 267 |
| 268 if '__main__' == __name__: | 268 if '__main__' == __name__: |
| 269 main() | 269 main() |
| OLD | NEW |