Skip to content

Commit ec945ca

Browse files
fviernautsteenbe
authored andcommitted
fix(ort-scan): Fix the broken scanner plugin configurations
The data model for the scanner plugin configurations have been changed in ORT, see [1], [2] and [3]. This caused the corresponding section of `config.yml` generated by the `ort-scan` template to not take any effect. Align the config generation with these changes to fix that issue. [1]: oss-review-toolkit/ort@712c448#diff-b165cafc77f510053987b32c8e6360c9445f877d356347ae330e509c62c46a8eR86 [2]: oss-review-toolkit/ort@712c448 [3]: oss-review-toolkit/ort@f4a8e6d Signed-off-by: Frank Viernau <[email protected]>
1 parent 76c24b0 commit ec945ca

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

templates/ort-scan.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -197,12 +197,13 @@
197197
password: "${POSTGRES_PASSWORD}"
198198
sslmode: "disable"
199199
parallelTransactions: 5
200-
options:
200+
config:
201201
ScanCode:
202-
commandLine: "--copyright --license --info --strip-root --timeout 300"
203-
parseLicenseExpressions: "true"
204-
minVersion: "31.0.0"
205-
maxVersion: "33.0.0"
202+
options:
203+
commandLine: "--copyright --license --info --strip-root --timeout 300"
204+
parseLicenseExpressions: "true"
205+
minVersion: "31.0.0"
206+
maxVersion: "33.0.0"
206207
storages:
207208
postgres:
208209
connection:

0 commit comments

Comments
 (0)