diff --git a/Makefile b/Makefile index d356c9350..650b77f46 100644 --- a/Makefile +++ b/Makefile @@ -190,6 +190,11 @@ fixtures: generate-json-schema: ## Generate a new json schema cd schema/json && go run generate.go +.PHONY: generate-license-list +generate-license-list: ## Generate an updated spdx license list + go generate ./internal/spdxlicense/... + gofmt -s -w ./internal/spdxlicense + .PHONY: build build: $(SNAPSHOTDIR) ## Build release snapshot binaries and packages diff --git a/internal/spdxlicense/license_list.go b/internal/spdxlicense/license_list.go index 5ce29fa22..c9764b43b 100644 --- a/internal/spdxlicense/license_list.go +++ b/internal/spdxlicense/license_list.go @@ -1,9 +1,9 @@ // Code generated by go generate; DO NOT EDIT. -// This file was generated by robots at 2021-09-29 23:42:29.616023 -0400 EDT m=+0.184689484 +// This file was generated by robots at 2021-11-15 14:32:22.081911 -0500 EST m=+0.159302107 // using data from https://spdx.org/licenses/licenses.json package spdxlicense -const Version = "3.14" +const Version = "3.15" var licenseIDs = map[string]string{ "0bsd": "0BSD", @@ -367,6 +367,12 @@ var licenseIDs = map[string]string{ "cnri-jython": "CNRI-Jython", "cnri-python": "CNRI-Python", "cnri-python-gpl-compatible": "CNRI-Python-GPL-Compatible", + "coil-1": "COIL-1.0", + "coil-1.0": "COIL-1.0", + "coil-1.0.0": "COIL-1.0", + "community-spec-1": "Community-Spec-1.0", + "community-spec-1.0": "Community-Spec-1.0", + "community-spec-1.0.0": "Community-Spec-1.0", "condor-1": "Condor-1.1", "condor-1.1": "Condor-1.1", "condor-1.1.0": "Condor-1.1", @@ -440,6 +446,7 @@ var licenseIDs = map[string]string{ "eupl-1.2.0": "EUPL-1.2", "eurosym": "Eurosym", "fair": "Fair", + "fdk-aac": "FDK-AAC", "frameworx-1": "Frameworx-1.0", "frameworx-1.0": "Frameworx-1.0", "frameworx-1.0.0": "Frameworx-1.0", @@ -651,6 +658,7 @@ var licenseIDs = map[string]string{ "liliq-rplus-1": "LiLiQ-Rplus-1.1", "liliq-rplus-1.1": "LiLiQ-Rplus-1.1", "liliq-rplus-1.1.0": "LiLiQ-Rplus-1.1", + "linux-man-pages-copyleft": "Linux-man-pages-copyleft", "linux-openib": "Linux-OpenIB", "lpl-1": "LPL-1.0", "lpl-1.0": "LPL-1.0",