syft/internal/spdxlicense/generate
Christopher Angelo Phillips 72616db81f
fix: "or-later" suffix updated to consider deprecated "+" operator (#1907)
* fix: or-later suffix has been updated to consider deprecated +

If a given license has the suffix "or-later" it previously could have
been considered or represented with a "+". Example "GFDL-1.0-or-later"
could have been represented as "GFDL-1.0+". This PR allows the license
list generation to consider "or-later" as == to "+" when generating
permutations for upgrading deprecated licenses.

---------

Signed-off-by: Christopher Phillips <christopher.phillips@anchore.com>
2023-07-11 16:21:29 +00:00
..
test-fixtures Update SPDX license list to 3.20 (#1600) 2023-02-21 15:12:28 -05:00
generate_license_list.go 1577 spdxlicense generate (#1691) 2023-03-23 11:48:24 -04:00
generate_license_list_test.go fix: "or-later" suffix updated to consider deprecated "+" operator (#1907) 2023-07-11 16:21:29 +00:00
license.go fix: "or-later" suffix updated to consider deprecated "+" operator (#1907) 2023-07-11 16:21:29 +00:00
license_test.go fix: "or-later" suffix updated to consider deprecated "+" operator (#1907) 2023-07-11 16:21:29 +00:00