Skip to content

Commit 15d1105

Browse files
authored
Merge pull request github#15779 from hvitved/csharp/build-mode-none
C#: Add `build_modes: none` to `codeql-extractor.yml`
2 parents 9133a13 + 6d9f3d4 commit 15d1105

File tree

15 files changed

+18
-15
lines changed
  • csharp

15 files changed

+18
-15
lines changed

csharp/codeql-extractor.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ extra_env_vars:
99
build_modes:
1010
- autobuild
1111
- manual
12+
- none
1213
github_api_languages:
1314
- C#
1415
scc_languages:
@@ -33,8 +34,10 @@ options:
3334
type: string
3435
pattern: "^(none|gzip|brotli)$"
3536
buildless:
36-
title: Whether to use buildless (standalone) extraction.
37+
title: DEPRECATED - Whether to use buildless (standalone) extraction.
3738
description: >
39+
DEPRECATED: Use `--build-mode none` instead.
40+
3841
A value indicating, which type of extraction the autobuilder should perform.
3942
If 'true', then the standalone extractor will be used, otherwise tracing extraction
4043
will be performed.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import os
22
from create_database_utils import *
33

4-
run_codeql_database_create(lang="csharp", extra_args=["--extractor-option=buildless=true"])
4+
run_codeql_database_create(lang="csharp", extra_args=["--build-mode=none"])

csharp/ql/integration-tests/all-platforms/cshtml_standalone_disabled/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
from create_database_utils import *
33

44
os.environ['CODEQL_EXTRACTOR_CSHARP_BUILDLESS_EXTRACT_WEB_VIEWS'] = 'false'
5-
run_codeql_database_create(lang="csharp", extra_args=["--extractor-option=buildless=true"])
5+
run_codeql_database_create(lang="csharp", extra_args=["--build-mode=none"])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import os
22
from create_database_utils import *
33

4-
run_codeql_database_create(lang="csharp", extra_args=["--extractor-option=buildless=true"])
4+
run_codeql_database_create(lang="csharp", extra_args=["--build-mode=none"])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import os
22
from create_database_utils import *
33

4-
run_codeql_database_create(lang="csharp", extra_args=["--extractor-option=buildless=true"])
4+
run_codeql_database_create(lang="csharp", extra_args=["--build-mode=none"])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from create_database_utils import *
22

3-
run_codeql_database_create([], lang="csharp", extra_args=["--extractor-option=buildless=true"])
3+
run_codeql_database_create([], lang="csharp", extra_args=["--build-mode=none"])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from create_database_utils import *
22

3-
run_codeql_database_create([], lang="csharp", extra_args=["--extractor-option=buildless=true"])
3+
run_codeql_database_create([], lang="csharp", extra_args=["--build-mode=none"])

csharp/ql/integration-tests/linux-only/standalone_dependencies_non_utf8_filename/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
with open(path, 'w') as file:
66
file.write('class X { }\n')
77

8-
run_codeql_database_create([], lang="csharp", extra_args=["--extractor-option=buildless=true"])
8+
run_codeql_database_create([], lang="csharp", extra_args=["--build-mode=none"])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from create_database_utils import *
22

3-
run_codeql_database_create([], lang="csharp", extra_args=["--extractor-option=buildless=true"])
3+
run_codeql_database_create([], lang="csharp", extra_args=["--build-mode=none"])
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
from create_database_utils import *
22

3-
run_codeql_database_create([], lang="csharp", extra_args=["--extractor-option=buildless=true"])
3+
run_codeql_database_create([], lang="csharp", extra_args=["--build-mode=none"])

0 commit comments

Comments
 (0)