Open armintaenzertng opened 1 year ago
Thanks for the heads up @armintaenzertng. In order to get license info in files try using the Scancode extension. In the mean time, I'll try to dig a little deeper in the code and make sure this is actually a bug.
I tried using the scancode extension, but ran into the bug described in #1202. I'll post my report there.
@armintaenzertng If you try with this branch you should be able to run it: https://github.com/rnjudge/tern/tree/issue-1202
While perusing the SPDX generation code, I noticed that here all licenses from files are converted to
LicenseRef
-style license identifiers. This means that these should all show up inExtractedLicensingInfo
. However, forExtractedLicensingInfo
only non-valid licenses are written here and here, meaning that valid licenses would be referenced viaLicenseRef
-Identifiers that are never defined. I don't have a reproducible example yet, as the ones I tried so far don't contain LicenseInfoFromFiles. This may also be the reason why this hasn't come up yet?