Closed schvvarzekatze closed 1 year ago
package_managers:
Yarn:
options:
directDependenciesOnly: "true"
Gradle:
options:
directDependenciesOnly: "true"
NPM:
options:
directDependenciesOnly: "true"
Unrelated to your question, but please be informed that the only package manager that currently supports directDependenciesOnly
is the DotNet
/ NuGet
one, so these lines will have no effect.
I have just tested only to list the package.
[#list packages as package]
Package: [#if package.id.namespace?has_content] ${package.id.namespace}:[/#if]${package.id.name}:${package.id.version}
[/#list]
So it seems that the content ist available in the reporter which looks ok:
Package: abab:1.0.4
I will mark this issue as resolved and close it.
LicenseView.ONLY_DETECTED.filter(package.license.licenses)]
has been empty.
The scan now seems to be successful with a complete set of result and finds all packages (>2k). But the reports as NOTICE file and bill of materials are still empty.
If ORT is run on gradle packages there exists a report filled with content including license texts and copyrights.
Do you have an idea what could have caused the empty reports? Is there an additional config necessary that the report templates also work for npm?
The artifacts with package examples and the logs are shown below:
analyzer.yml
scan-result.yml
evaluation-result.yml
Template for notice file:
The run of scanner, evaluator and reporter lead to the following logs which suggest that the run for all steps was successful:
config.yml: