Skip to content

Commit 6ffe409

Browse files
committed
edit 2.16.3 changelog to explain how to set the extractor option
1 parent f07c9ca commit 6ffe409

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

CHANGELOG.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,17 @@
2929
### New Features
3030

3131
- A new extractor option has been added to the Python extractor.
32-
Set the new extractor option `python_executable_name` or the environment variable
33-
`CODEQL_EXTRACTOR_PYTHON_OPTION_PYTHON_EXECUTABLE_NAME` to one of `py`, `python` or `python3`
34-
to override the default Python executable search and selection behavior of the Python extractor.
35-
For example, on Windows machines, the Python extractor will expect to find `py.exe` on the
36-
system `PATH` by default. Setting this extractor option or environment variable allows
37-
overriding this behavior to look for a different name like `python` or `python3`.
32+
Pass one of `--extractor-option python_executable_name=py`
33+
or `--extractor-option python_executable_name=python`
34+
or `--extractor-option python_executable_name=python3`
35+
to `codeql database create` (or `codeql database trace-command` or,
36+
for indirect tracing, `codeql database init`) to override the default
37+
Python executable search and selection behavior of the Python
38+
extractor. For example, on Windows machines, the Python extractor
39+
will expect to find `py.exe` on the system `PATH` by default.
40+
Setting this extractor option or environment variable allows
41+
overriding this behavior to look for a different name.
42+
3843
More detail can be found in [the extractor option documentation](https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/extractor-options).
3944

4045
### Bugs fixed
@@ -125,7 +130,7 @@
125130

126131
- Fixed an issue where CodeQL would sometimes incorrectly report that no files
127132
were scanned when running on Windows.
128-
This affected the human-readable summary produced by `codeql database analyze`
133+
This affected the human-readable summary produced by `codeql database analyze`
129134
and `codeql database interpret-results`, but did not impact the file coverage
130135
information produced in the SARIF output and displayed on the tool status page.
131136
- When analyzing Swift codebases, CodeQL build tracing will now ignore the

0 commit comments

Comments
 (0)