ort icon indicating copy to clipboard operation
ort copied to clipboard

Show effective licenses in WebApp report's summary tab

Open tsteenbe opened this issue 1 year ago • 2 comments

The WebApp report currently show the declared and detected licenses in Summary tab it would be more useful if it showed the effective licenses in the summary e.g. license that actually applies to release artifacts including made license choices. In this way a report report can faster understand which licenses are applicable to the project and thus determine their license obligations.

tsteenbe avatar Dec 14 '23 09:12 tsteenbe

Sounds like a duplicate of https://github.com/oss-review-toolkit/ort/issues/7436, or?

sschuberth avatar Dec 14 '23 09:12 sschuberth

@sschuberth #7436 is likely a bug in the EvaluatedModel not including the effective license in the output in some case, this ticket is about visualizing the effective license. Do agree that #7436 likely has an effect on #8038 e.g. not all effective licenses may be show in Summary Tab.

@fviernau To continue our discussions the fastest way for me to show effective licenses in the WebApp is for you to expand the statistics in the EvaluatedModel to add effective within licenses so you get something like what is shown below. Maybe it makes sense to also implemented a concluded at the same time so report readers can instantly see for how many packages the license was concluded. What do you think?

"statistics": {
    "open_issues": {...},
    "open_rule_violations": {...},
    "dependency_tree": {...},
    "licenses": {
        "declared": {...},
        "detected": {...},
        "effective": {...}

tsteenbe avatar Apr 23 '24 10:04 tsteenbe