Skip to content

GitHub Repo Name Checker

Javier Otegui edited this page Jun 14, 2016 · 2 revisions

DEPRECATED

Code has been moved to https://github.com/VertNet/repochecker

GitHub Repo Name Checker

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:

  1. Save VertNet's GitHub API key as plain text in file /vertnet/service/ghkey.txt (the same as cdbkey.txt)
  2. 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.