Commit c4bc207e authored by nednguyen's avatar nednguyen Committed by Commit Bot

Convert dromaeo.domcoretraverse to WPRGO


This also modifies convert_legacy_wpr_archive script to also automatically run
"git add .*wprgo" for the users upon succesful uploading.

Bug: 730036
Change-Id: I9c26a65b7ec72cd5b55136a5ef6be975caeba541
Reviewed-on: https://chromium-review.googlesource.com/598268Reviewed-by: default avatarHelen Li <xunjieli@chromium.org>
Commit-Queue: Ned Nguyen <nednguyen@google.com>
Cr-Commit-Position: refs/heads/master@{#491396}
parent 16a6e807
...@@ -95,7 +95,10 @@ def upload(page_sets_json_file, bucket): ...@@ -95,7 +95,10 @@ def upload(page_sets_json_file, bucket):
count += 1 count += 1
print "successfully upload %d wprgo files in %s to buckets: %s\n" % (count, print "successfully upload %d wprgo files in %s to buckets: %s\n" % (count,
page_sets_json_file, bucket) page_sets_json_file, bucket)
print "remember to run \"git add *.wprgo.sha1\" to include them in your CL\n" print ('Also run \"git add *.wprgo.sha1\" to include them in your CL? '
'(Press Enter to continue or ctrl+C to skip this step)\n')
raw_input()
subprocess.check_call(['git', 'add', '*.wprgo.sha1'])
def GetStorySet(benchmark): def GetStorySet(benchmark):
# Create a dummy options object which hold default values that are expected # Create a dummy options object which hold default values that are expected
......
{ {
"archives": { "archives": {
"http://dromaeo.com?dom-traverse": { "http://dromaeo.com?dom-traverse": {
"DEFAULT": "dromaeo.domcoretraverse_000.wpr" "DEFAULT": "dromaeo.domcoretraverse_000.wprgo"
} }
}, },
"description": "Describes the Web Page Replay archives for a story set. Don't edit by hand! Use record_wpr for updating.", "description": "Describes the Web Page Replay archives for a story set. Don't edit by hand! Use record_wpr for updating.",
......
160f6c326f172d89eeabf88ada5129f36c2230b1
\ No newline at end of file
dbd4dd2d6b354a9a1f689d58df32200e9d294821
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment