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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/w3c/sync_wpt.py

Issue 2544173002: Skip commits that don't generate a patch + fixes to get export working (Closed)
Patch Set: Merge ChromiumWPT functionality into TestExporter, expose exportable_commits Created 4 years 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
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """A script for exporting and importing changes between the Chromium repo 5 """A script for exporting and importing changes between the Chromium repo
6 and the web-platform-tests repo. 6 and the web-platform-tests repo.
7 7
8 TODO(jeffcarp): does not handle reverted changes right now 8 TODO(jeffcarp): does not handle reverted changes right now
9 TODO(jeffcarp): it also doesn't handle changes to -expected.html files 9 TODO(jeffcarp): it also doesn't handle changes to -expected.html files
10 TODO(jeffcarp): Currently this script only does export; also add an option 10 TODO(jeffcarp): Currently this script only does export; also add an option
(...skipping 16 matching lines...) Expand all
27 options = parse_args() 27 options = parse_args()
28 host = Host() 28 host = Host()
29 wpt_github = WPTGitHub(host) 29 wpt_github = WPTGitHub(host)
30 test_exporter = TestExporter(host, wpt_github, dry_run=options.dry_run) 30 test_exporter = TestExporter(host, wpt_github, dry_run=options.dry_run)
31 31
32 test_exporter.run() 32 test_exporter.run()
33 33
34 34
35 def parse_args(): 35 def parse_args():
36 parser = argparse.ArgumentParser(description='WPT Sync') 36 parser = argparse.ArgumentParser(description='WPT Sync')
37 parser.add_argument('--no-fetch', action='store_true')
38 parser.add_argument('--dry-run', action='store_true') 37 parser.add_argument('--dry-run', action='store_true')
39 return parser.parse_args() 38 return parser.parse_args()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698