Automatically add GitHub mirrors
This CL adds a check to validate that the GitHub mirror repo exists
before syncing. If the mirror remote is missing it is created using the
GitHub developer API (https://developer.github.com/v3/repos/#create).
NOTE: This CL assumes authentication is handled via a ~/.netrc file
with entires for:
machine api.github.com
login <username>
password <token>
machine github.com
login <username>
password <token>
The `<token>` value above being generated by: https://git.io/vmNUX
Change-Id: Ib3a6ae1fbca596e87fdcf0f22b91c55d318a8a65
1 file changed