Skip to content

Case insensitive fallback check for GitHub repositories#978

Merged
aeisenberg merged 2 commits intogithub:mainfrom
mgsium:case-insensitive-slugs
Oct 20, 2021
Merged

Case insensitive fallback check for GitHub repositories#978
aeisenberg merged 2 commits intogithub:mainfrom
mgsium:case-insensitive-slugs

Conversation

@mgsium
Copy link
Copy Markdown
Contributor

@mgsium mgsium commented Oct 20, 2021

Implements a case-insensitive fallback check for the /g/ provider where a repository is not found on LGTM using a case-sensitive search. Partially fixes #892

Checklist

  • CHANGELOG.md has been updated to incorporate all user visible changes made by this pull request.
  • Issues have been created for any UI or other user-facing changes made by this pull request.

Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Can you please squash the commits here so that history is more succinct? Let me know if you need some help doing this.

Comment thread extensions/ql-vscode/CHANGELOG.md Outdated
@mgsium mgsium force-pushed the case-insensitive-slugs branch from 46c12a4 to 1014c4b Compare October 20, 2021 18:38
@mgsium mgsium marked this pull request as ready for review October 20, 2021 18:50
@mgsium mgsium requested a review from a team as a code owner October 20, 2021 18:50
Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice...tried it out locally and it is still working.

One last thing to do and 🚢 .

Comment thread extensions/ql-vscode/CHANGELOG.md Outdated
Comment on lines +17 to +22
- Fixed a bug where copying the version information fails when a CodeQL CLI cannot be found. [#958](https://github.com/github/vscode-codeql/pull/958)
- Fix a bug where copying the version information fails when a CodeQL CLI cannot be found. [#958](https://github.com/github/vscode-codeql/pull/958)
- Avoid a race condition when deleting databases that can cause occasional errors. [#959](https://github.com/github/vscode-codeql/pull/959)
- Update CodeQL logos. [#965](https://github.com/github/vscode-codeql/pull/965)
- Fixed a bug where copying the version information fails when a CodeQL CLI cannot be found. [#958](https://github.com/github/vscode-codeql/pull/958)
- Make project slug for GitHub repositories case-insensitive when adding a CodeQL database from LGTM. [#961](https://github.com/github/vscode-codeql/pull/961)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete this.

Copy link
Copy Markdown
Contributor

@aeisenberg aeisenberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

@aeisenberg aeisenberg merged commit b3a51d7 into github:main Oct 20, 2021
@mgsium mgsium deleted the case-insensitive-slugs branch October 21, 2021 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Download from LGTM command requires a case-sensitive slug

2 participants