-
Notifications
You must be signed in to change notification settings - Fork 7
GitHub Repo Name Checker
Javier Otegui edited this page Jun 14, 2016
·
2 revisions
Code has been moved to https://github.com/VertNet/repochecker
Implemented GitHub repo name checking script in a new VertNet service.
Deployment instructions:
For security reasons, GitHub API key is not included in the commit. Add before deploying as follows:
- Save VertNet's GitHub API key as plain text in file /vertnet/service/ghkey.txt (the same as cdbkey.txt)
- Then, deploy
Access instructions
The service is available via the route /service/repochecker. When deployed, this will be accessible from http://portal.vertnet.org/service/repochecker
Return
Script returns json object with 2 elements:
- result: either "success" or "error". "success" if there is no name mismatch, "error" if there is name mismatch
- failed_repos: array. Empty if there is no name mismatch, list of problematic values if there is name mismatch.