Closed phrohdoh closed 4 years ago
These aliases are indeed driven by SPDX data.
Both of these have the same text, so askalono dedupes them into one. Previously it would return somewhat confusing results (you might get one or the other sometimes) so I chose to merge them and return both.
With headers in the mix things can get kind of complex. The stored header data in the SPDX repository sometimes has SPDX templates, and sometimes does not. Either way, askalono doesn't (yet?) know how to parse those. Open to suggestions.
Closing this issue as this is specific to how SPDX data is represented, but I'm totally open to some solutions (clever or not) to help make this more clear.
I ran
askalono identify --optimize path/to/file.rs
and got the following.Using
GPL-3.0-only
is different fromGPL-3.0-or-later
, why are they aliases of each other?Is this something
askalono
controls/determines or are aliases driven by SPDX data?