mirror of
https://github.com/github/codeql.git
synced 2026-01-28 05:42:58 +01:00
Merge branch 'main' into aeisenberg/getting-started-docs
This commit is contained in:
@@ -266,14 +266,18 @@ up to create and analyze databases:
|
||||
available for database creation. This will list the languages supported by
|
||||
default in your CodeQL CLI package.
|
||||
- Run ``codeql resolve qlpacks`` to show which QL packs the CLI can find. This
|
||||
will display the names of the QL packs included in the CodeQL repositories:
|
||||
``codeql-cpp``, ``codeql-csharp``, ``codeql-go``,
|
||||
``codeql-java``, ``codeql-javascript``, and ``codeql-python``. The CodeQL
|
||||
repositories also contain 'upgrade' packs and 'legacy' packs. Upgrade packs
|
||||
are used by the CLI when you want to upgrade a database so that it can be
|
||||
analyzed with a newer version of the CodeQL toolchain than was used to create
|
||||
it. Legacy packs ensure that custom queries and libraries created using older
|
||||
products are compatible with your version of CodeQL.
|
||||
will display the names of all the QL packs directly available to the CodeQL CLI.
|
||||
This should include:
|
||||
|
||||
- Query packs for each supported language, for example, ``codeql/{language}-queries``.
|
||||
These packs contain the standard queries that will be run for each analysis.
|
||||
- Library packs for each supported language, for example, ``codeql/{language}-all``. These
|
||||
packs contain query libraries, such as control flow and data flow libraries, that
|
||||
may be useful to query writers.
|
||||
- Example packs for each supported language, for example, ``codeql/{language}-examples``.
|
||||
These packs contain useful snippets of CodeQL that query writers may find useful.
|
||||
- Legacy packs that ensure custom queries and libraries created using older products are
|
||||
compatible with your version of CodeQL.
|
||||
|
||||
.. _using-two-versions-of-the-codeql-cli:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user