Chromium Code Reviews| 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 22 matching lines...) Expand all Loading... | |
| 33 # > ./dartium_tools/update_deps.py --target=clank | 33 # > ./dartium_tools/update_deps.py --target=clank |
| 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" |
|
rmacnak
2015/01/29 19:34:38
current is 2125
vsm
2015/01/29 20:11:36
When do you want to push to bleeding_edge? I was
| |
| 44 BRANCH_NEXT="dart/dartium" | 44 BRANCH_NEXT="dart/dartium" |
| 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 # TODO(vsm): Reenable 'chromium' |
|
rmacnak
2015/01/29 19:34:38
edge is still on svn
| |
| 52 ['webkit'], | |
| 52 BRANCH_CURRENT, | 53 BRANCH_CURRENT, |
| 53 ), | 54 ), |
| 54 'integration': ( | 55 'integration': ( |
| 55 'https://dart.googlecode.com/svn/branches/dartium_integration/deps/dartium.d eps', | 56 'https://dart.googlecode.com/svn/branches/dartium_integration/deps/dartium.d eps', |
| 56 'dartium', | 57 'dartium', |
| 57 ['webkit', 'chromium'], | 58 # TODO(vsm): Reenable 'chromium' |
| 59 ['webkit'], | |
| 58 BRANCH_NEXT, | 60 BRANCH_NEXT, |
| 59 ), | 61 ), |
| 60 'clank': ( | 62 'clank': ( |
| 61 'https://dart.googlecode.com/svn/branches/bleeding_edge/deps/clank.deps', | 63 'https://dart.googlecode.com/svn/branches/bleeding_edge/deps/clank.deps', |
| 62 'dartium', | 64 'dartium', |
| 63 ['webkit', 'chromium'], | 65 ['webkit', 'chromium'], |
| 64 BRANCH_CURRENT, | 66 BRANCH_CURRENT, |
| 65 ), | 67 ), |
| 66 'multivm': ( | 68 'multivm': ( |
| 67 'https://dart.googlecode.com/svn/branches/bleeding_edge/deps/multivm.deps', | 69 'https://dart.googlecode.com/svn/branches/bleeding_edge/deps/multivm.deps', |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 260 | 262 |
| 261 if not options.force: | 263 if not options.force: |
| 262 print "Ready to push; press Enter to continue or Control-C to abort..." | 264 print "Ready to push; press Enter to continue or Control-C to abort..." |
| 263 sys.stdin.readline() | 265 sys.stdin.readline() |
| 264 print run_cmd(['svn', 'commit', '--file', 'commit_log.txt']) | 266 print run_cmd(['svn', 'commit', '--file', 'commit_log.txt']) |
| 265 print "Done." | 267 print "Done." |
| 266 | 268 |
| 267 | 269 |
| 268 if '__main__' == __name__: | 270 if '__main__' == __name__: |
| 269 main() | 271 main() |
| OLD | NEW |