Skip to content

Download from LGTM command requires a case-sensitive slug #892

@aeisenberg

Description

@aeisenberg

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://un5nu71xrxc0.julianrbryant.com/projects/g/BOINC/boinc/

To reproduce

  1. Run Download from LGTM
  2. Enter the URL https://un5nu71xrxc0.julianrbryant.com/projects/g/boinc/boinc/ (Notice that the correct URL is https://un5nu71xrxc0.julianrbryant.com/projects/g/BOINC/boinc/)
  3. 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).

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions