forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WPT: Allow setting GitHub credentials as env variables, warn when the…
…y are not set A fresh WPT import checkout is very likely to fail when no GitHub credentials are used due to the number of API requests we make vs. GitHub's rate limits for unauthenticated requests. Make things more obvious by: * Allowing the credentials to be specified as environment variables in addition to a JSON file (when both are set, the JSON file specified in the command-line has precedence). * Printing a warning in test_importer.py when no credentials are set and pointing to the documentation in //docs/testing. * Expanding the error message in test_exporter.py to point to the same location. Bug: 816390 Change-Id: I5508e024e8a13e6f597f027cd157d7abbe9b2fe1 Reviewed-on: https://chromium-review.googlesource.com/937462 Reviewed-by: Philip Jägenstedt <foolip@chromium.org> Commit-Queue: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com> Cr-Commit-Position: refs/heads/master@{#539164}
- Loading branch information
Raphael Kubo da Costa
authored and
Commit Bot
committed
Feb 26, 2018
1 parent
6b79cf6
commit ac0fd25
Showing
5 changed files
with
77 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters