sw360portal
sw360portal copied to clipboard
In generating License Info: Do not use found license if concluded not available
When a license info file is generated with spdx reports, it should be possible to disable found licenses if concluded licenses are available.
The code for "disabling license info in file" is already preset, The corresponding flag is hard coded to true: https://github.com/sw360/sw360portal/blob/549d605c29dd9dbbdd39ebe15d8911c7e69eb2bd/backend/src/src-licenseinfo/src/main/java/org/eclipse/sw360/licenseinfo/parsers/SPDXParserTools.java#L98-L102
I am not sure if the title is confusing, the second last word "not" should be skipped, right?
Actually, how about letting the user choose what to generate? because I feel like many spdx document just have the found licenses and then concluded licenses are not well cared for.
Hi, I am also considering this issue As I know. Currently, the code for "disabling license info in file" is already preset, the corresponding flag is hard coded to true. I wonder why the useLicenseInfoFromFiles flag is not controllable now. (Just not implemented, or other reasons?) I think we should make the flag controllable from sw360 interface Do you think about this?