codeql-action/lib
Andrew Eisenberg e5c3375225 Refactor handling of feature flags
This commit centralizes how feature flags are handled. All feature flags
must now add an entry in the `featureFlagConfig` dictionary. This
dictionary associates the flag with an environment variable name and
optionally a minimum version for CodeQL.

The new logic is:

- if the environment variable is set to false: disabled
- if the minimum version requirement specified and met: disabled
- if the environment variable is set to true: enable
- Otherwise check feature flag enablement from the server
2022-10-05 16:40:56 -07:00
..
testdata Avoid analyzing excluded language files for line counting 2021-04-28 16:07:55 -07:00
actions-util.js Correct program name 2022-09-27 22:08:31 -04:00
actions-util.js.map Fix linting 2022-09-07 22:45:34 +02:00
actions-util.test.js Build js 2022-09-07 09:45:19 +02:00
actions-util.test.js.map Build js 2022-09-07 09:45:19 +02:00
analysis-paths.js Remove toolcache decorator 2022-06-30 09:16:10 +01:00
analysis-paths.js.map Remove toolcache decorator 2022-06-30 09:16:10 +01:00
analysis-paths.test.js Add telemetry for TRAP caching 2022-08-16 11:54:31 +01:00
analysis-paths.test.js.map Add telemetry for TRAP caching 2022-08-16 11:54:31 +01:00
analyze-action-env.test.js Fix broken unit test 2022-09-26 15:17:36 +01:00
analyze-action-env.test.js.map Fix broken unit test 2022-09-26 15:17:36 +01:00
analyze-action-input.test.js Fix broken unit test 2022-09-26 15:17:36 +01:00
analyze-action-input.test.js.map Fix broken unit test 2022-09-26 15:17:36 +01:00
analyze-action-post-helper.js Remove review comments 2022-08-11 16:47:31 +02:00
analyze-action-post-helper.js.map Remove review comments 2022-08-11 16:47:31 +02:00
analyze-action-post-helper.test.js Add unit tests for post: hook run methods 2022-08-11 16:01:37 +02:00
analyze-action-post-helper.test.js.map Add unit tests for post: hook run methods 2022-08-11 16:01:37 +02:00
analyze-action-post.js Add unit tests for post: hook run methods 2022-08-11 16:01:37 +02:00
analyze-action-post.js.map Add unit tests for post: hook run methods 2022-08-11 16:01:37 +02:00
analyze-action.js Add the CliConfigFileEnabled feature flag 2022-09-27 07:58:31 -07:00
analyze-action.js.map Add the CliConfigFileEnabled feature flag 2022-09-27 07:58:31 -07:00
analyze.js Extract logging statements to separate function 2022-10-03 09:35:40 -07:00
analyze.js.map Extract logging statements to separate function 2022-10-03 09:35:40 -07:00
analyze.test.js Add the CliConfigFileEnabled feature flag 2022-09-27 07:58:31 -07:00
analyze.test.js.map Add the CliConfigFileEnabled feature flag 2022-09-27 07:58:31 -07:00
api-client.js Reuse getApiDetails code 2022-09-02 19:59:18 +01:00
api-client.js.map Reuse getApiDetails code 2022-09-02 19:59:18 +01:00
api-client.test.js Use the API URL from the environment if it is present. 2022-08-11 08:38:11 +01:00
api-client.test.js.map Use the API URL from the environment if it is present. 2022-08-11 08:38:11 +01:00
api-compatibility.json Update supported GitHub Enterprise Server versions. (#1275) 2022-09-29 22:37:10 +00:00
autobuild-action.js Support autobuilding multiple languages in autobuild Action 2022-09-12 17:35:32 +01:00
autobuild-action.js.map Support autobuilding multiple languages in autobuild Action 2022-09-12 17:35:32 +01:00
autobuild.js Improve warning when using autobuild with multi-language builds 2022-09-13 16:53:02 +01:00
autobuild.js.map Improve warning when using autobuild with multi-language builds 2022-09-13 16:53:02 +01:00
codeql.js Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
codeql.js.map Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
codeql.test.js Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
codeql.test.js.map Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
config-utils.js Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
config-utils.js.map Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
config-utils.test.js Append / to end of registries url 2022-09-08 08:00:24 -07:00
config-utils.test.js.map Append / to end of registries url 2022-09-08 08:00:24 -07:00
count-loc.js Remove old baseline LoC injection 2021-08-26 13:46:22 +01:00
count-loc.js.map Remove old baseline LoC injection 2021-08-26 13:46:22 +01:00
count-loc.test.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
count-loc.test.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
database-upload.js Remove check of database uploads feature flag 2022-02-15 14:10:33 +00:00
database-upload.js.map Remove check of database uploads feature flag 2022-02-15 14:10:33 +00:00
database-upload.test.js Change to using a single input 2022-09-01 16:07:26 -07:00
database-upload.test.js.map Change to using a single input 2022-09-01 16:07:26 -07:00
debug-artifacts.js Address review comments 2022-08-11 13:45:26 +02:00
debug-artifacts.js.map Address review comments 2022-08-11 13:45:26 +02:00
debug-artifacts.test.js Add utilities unit tests 2022-08-10 14:57:57 +02:00
debug-artifacts.test.js.map Add utilities unit tests 2022-08-10 14:57:57 +02:00
defaults.json Update default CodeQL version to 2.11.0 2022-09-28 09:04:11 -07:00
error-matcher.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
error-matcher.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
error-matcher.test.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
error-matcher.test.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
external-queries.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
external-queries.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
external-queries.test.js Use the API URL from the environment if it is present. 2022-08-11 08:38:11 +01:00
external-queries.test.js.map Use the API URL from the environment if it is present. 2022-08-11 08:38:11 +01:00
feature-flags.js Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
feature-flags.js.map Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
feature-flags.test.js Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
feature-flags.test.js.map Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
fingerprints.js Handle Windows absolute paths in resolveUriToFile 2022-06-29 18:59:33 +01:00
fingerprints.js.map Handle Windows absolute paths in resolveUriToFile 2022-06-29 18:59:33 +01:00
fingerprints.test.js Handle Windows absolute paths in resolveUriToFile 2022-06-29 18:59:33 +01:00
fingerprints.test.js.map Handle Windows absolute paths in resolveUriToFile 2022-06-29 18:59:33 +01:00
init-action-post-helper.js Remove review comments 2022-08-11 16:47:31 +02:00
init-action-post-helper.js.map Remove review comments 2022-08-11 16:47:31 +02:00
init-action-post-helper.test.js Add unit tests for post: hook run methods 2022-08-11 16:01:37 +02:00
init-action-post-helper.test.js.map Add unit tests for post: hook run methods 2022-08-11 16:01:37 +02:00
init-action-post.js Add unit tests for post: hook run methods 2022-08-11 16:01:37 +02:00
init-action-post.js.map Add unit tests for post: hook run methods 2022-08-11 16:01:37 +02:00
init-action.js Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
init-action.js.map Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
init.js Merge remote-tracking branch 'upstream/main' into aeisenberg/ghes-pack-download 2022-09-06 10:22:00 -07:00
init.js.map Merge remote-tracking branch 'upstream/main' into aeisenberg/ghes-pack-download 2022-09-06 10:22:00 -07:00
languages.js Trace Go when Go extraction reconciliation is enabled 2022-09-01 14:42:59 +01:00
languages.js.map Trace Go when Go extraction reconciliation is enabled 2022-09-01 14:42:59 +01:00
languages.test.js Address review comments 2022-09-02 17:54:53 +01:00
languages.test.js.map Address review comments 2022-09-02 17:54:53 +01:00
logging.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
logging.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
repository.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
repository.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
runner.js Add the CliConfigFileEnabled feature flag 2022-09-27 07:58:31 -07:00
runner.js.map Add the CliConfigFileEnabled feature flag 2022-09-27 07:58:31 -07:00
shared-environment.js Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
shared-environment.js.map Rebuild after TypeScript version bump 2021-07-27 17:59:59 +01:00
testing-utils.js Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
testing-utils.js.map Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
toolrunner-error-catcher.js Stop printing all output twice. 2021-12-09 13:21:32 +00:00
toolrunner-error-catcher.js.map Stop printing all output twice. 2021-12-09 13:21:32 +00:00
toolrunner-error-catcher.test.js Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
toolrunner-error-catcher.test.js.map Fix compile errors introduced by typescript 4.4.2 2021-09-10 14:06:27 -07:00
tracer-config.js Trace Go when Go extraction reconciliation is enabled 2022-09-01 14:42:59 +01:00
tracer-config.js.map Trace Go when Go extraction reconciliation is enabled 2022-09-01 14:42:59 +01:00
tracer-config.test.js Trace Go when Go extraction reconciliation is enabled 2022-09-01 14:42:59 +01:00
tracer-config.test.js.map Trace Go when Go extraction reconciliation is enabled 2022-09-01 14:42:59 +01:00
trap-caching.js TRAP Caching: Add timeouts to upload/download operations 2022-09-30 13:18:46 +01:00
trap-caching.js.map TRAP Caching: Add timeouts to upload/download operations 2022-09-30 13:18:46 +01:00
trap-caching.test.js TRAP Caching: Skip uploading of small caches 2022-09-23 15:22:31 +01:00
trap-caching.test.js.map TRAP Caching: Skip uploading of small caches 2022-09-23 15:22:31 +01:00
upload-lib.js Build js 2022-09-07 09:45:19 +02:00
upload-lib.js.map Build js 2022-09-07 09:45:19 +02:00
upload-lib.test.js Detect merge base as base_sha for upload 2022-02-01 15:38:43 +00:00
upload-lib.test.js.map Detect merge base as base_sha for upload 2022-02-01 15:38:43 +00:00
upload-sarif-action.js Reuse getApiDetails code 2022-09-02 19:59:18 +01:00
upload-sarif-action.js.map Reuse getApiDetails code 2022-09-02 19:59:18 +01:00
util.js Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
util.js.map Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
util.test.js Refactor handling of feature flags 2022-10-05 16:40:56 -07:00
util.test.js.map Refactor handling of feature flags 2022-10-05 16:40:56 -07:00