Skip to content

Debug QL installation #3

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

Open
aegilops opened this issue Jun 22, 2022 · 0 comments
Open

Debug QL installation #3

aegilops opened this issue Jun 22, 2022 · 0 comments

Comments

@aegilops
Copy link
Collaborator

aegilops commented Jun 22, 2022

Run debug steps to check existing QL installation, and suggest and do fixes.

  • check that there is just one QL library in the search path.
  • ensure that the QL library and CLI binary are compatible versions.
  • check that the CLI binary is properly in the VSCode settings.
  • check that the workplace has the QL library added to it.
  • check that a .yml file for a QL query has updated legacy libraryPathDependencies to dependencies key if using a CLI version above v2.6.0:
    https://codeql.github.com/docs/codeql-cli/about-ql-packs/
  • check we can extract a database for some basic test code - Python, JavaScript, Java, C, C#
    • only try if we have a compiler/interpreter for the language
    • check that the extracted DB contains what we'd expect (files, functions, classes)
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

No branches or pull requests

1 participant