Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't chain to ./codeql in .codeqlmanifest.json #2833

Merged
merged 1 commit into from Feb 14, 2020
Merged

Don't chain to ./codeql in .codeqlmanifest.json #2833

merged 1 commit into from Feb 14, 2020

Conversation

hmakholm
Copy link
Contributor

This entry in .codeqlmanifest.json was intended to allow unpacking the CodeQL CLI as a subdirectory of ql, and things would Just Work.

However, it is not necessary anymore because recent releases of the CLI will search their own directory as a fallback independently of the parent directory.

On the contrary, removing this link will make internal testing easier because you then run a test build of the CLI with --search-path pointing to the ql checkout without inadvertently making extractors in a different build that is unpacked there visible.

This entry in `.codeqlmanifest.json` was intended to allow
unpacking the CodeQL CLI as a subdirectory of `ql`, and things
would Just Work.

However, it is not necessary anymore because recent releases of
the CLI will search their own directory as a fallback
_independently_ of the parent directory.

On the contrary, removing this link will make internal testing
easier because you then run a test build of the CLI with
`--search-path` pointing to the `ql` checkout without inadvertently
making extractors in a _different_ build that is unpacked there visible.
@hmakholm hmakholm requested a review from a team February 13, 2020 14:37
@nickrolfe nickrolfe merged commit d2a0037 into github:master Feb 14, 2020
@hmakholm hmakholm deleted the pr/ql-codeql branch February 14, 2020 12:11
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.

None yet

2 participants