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

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

Issue 2650433002: Remove sync_wpt and add wpt-export to replace it. (Closed)
Patch Set: Rebased Created 3 years, 11 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 | « third_party/WebKit/Tools/Scripts/sync-wpt ('k') | third_party/WebKit/Tools/Scripts/wpt-export » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 """A script for exporting and importing changes between the Chromium repo
6 and the web-platform-tests repo.
7 """
8
9 import argparse
10 import logging
11
12 from webkitpy.common.host import Host
13 from webkitpy.w3c.wpt_github import WPTGitHub
14 from webkitpy.w3c.test_exporter import TestExporter
15 from webkitpy.w3c.test_importer import configure_logging
16
17 _log = logging.getLogger(__name__)
18
19
20 def main():
21 configure_logging()
22 options = parse_args()
23 host = Host()
24 wpt_github = WPTGitHub(host)
25 test_exporter = TestExporter(host, wpt_github, dry_run=options.dry_run)
26
27 test_exporter.run()
28
29
30 def parse_args():
31 parser = argparse.ArgumentParser(description='WPT Sync')
32 parser.add_argument('--no-fetch', action='store_true')
33 parser.add_argument('--dry-run', action='store_true')
34 return parser.parse_args()
OLDNEW
« no previous file with comments | « third_party/WebKit/Tools/Scripts/sync-wpt ('k') | third_party/WebKit/Tools/Scripts/wpt-export » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698