Closed IsaacGerma closed 5 months ago
I'll accept this for now, ideally this should handle the 'OR' operator as well, but this is better than what we have now anyway.
Just FYI I'm working on an SPDX expression parser now.
Just FYI I'm working on an SPDX expression parser now.
Actually, at this point I might end up rewriting this entire script, but that will come later.
The "AND" operator is used for packages which are required to comply with multiple different licenses.
https://spdx.github.io/spdx-spec/v2.3/SPDX-license-expressions/#d43-conjunctive-and-operator
This change should be able to correctly identify free packages that list licenses with the "AND" operator.