Page MenuHomeSoftware Heritage

document GitHub caseness caveats
Closed, MigratedEdits Locked


GitHub repository URLs have a canonical case-normalized form, but most GitHub services treat them as case-insensitive, e.g.: (canonical version) v. v. .

In Software Heritage, we have origin URLs that are case sensitive, and for GitHub we use canonical URLs obtained via GitHub repository API.

We need to document, as a FAQ of sort, how users of our API can find the canonical form of GitHub URLs to lookup visits in the Software Heritage archive. The GitHub API allows to retrieve the canonical name:

$ curl -s | grep full_name
  "full_name": "BIC-MNI/mni_autoreg",