Describe the bug
Using the Download from LGTM command will fail if you enter a URL or slug that does not have the right case.
https://lgtm.com/projects/g/BOINC/boinc/
To reproduce
- Run Download from LGTM
- Enter the URL https://lgtm.com/projects/g/boinc/boinc/ (Notice that the correct URL is https://lgtm.com/projects/g/BOINC/boinc/)
- 404 error
Expected behavior
Should have downloaded and installed the database.
Additional context
It is likely that this is an LGTM issue where it is not able to locate repos case-insensitively. Suggestion from @p0:
For the /g/ provider, you could query github for the canonical case and pass it to LGTM (perhaps only after a 404).
Describe the bug
Using the Download from LGTM command will fail if you enter a URL or slug that does not have the right case.
https://lgtm.com/projects/g/BOINC/boinc/
To reproduce
Expected behavior
Should have downloaded and installed the database.
Additional context
It is likely that this is an LGTM issue where it is not able to locate repos case-insensitively. Suggestion from @p0: