ort icon indicating copy to clipboard operation
ort copied to clipboard

WebApp Reporter: Show the (concluded) license expression that choices are applied on (resulting in the effective license)

Open MarcelBochtler opened this issue 3 years ago • 2 comments

The scan-result.yml contains license findings with a choice for the jhipster package:

- license: "Apache-2.0 OR GPL-1.0-or-later"
  location:
    path: "META-INF/maven/io.github.jhipster/jhipster-framework/pom.xml"
    start_line: 21
    end_line: 24
- license: "Apache-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
  location:
    path: "META-INF/maven/io.github.jhipster/jhipster-framework/pom.xml"
    start_line: 18
    end_line: 21

The WebApp reporter does not display these license choices: SCR-20220202-nzp

MarcelBochtler avatar Feb 02 '22 16:02 MarcelBochtler

@MarcelBochtler The WebApp reporter may show the real issue is that the EvaluatedModel is still using LicenseId instead of SpdxExpression.

tsteenbe avatar Feb 03 '22 20:02 tsteenbe

More generally, we should make it easy for users of the web-app report to copy & paste the concluded license (that might still contain a choice) to a license choice configuration in order to tweak the effective license (/cc @mmurto). I'll adapt the issue title accordingly.

sschuberth avatar May 15 '24 12:05 sschuberth