Fix outdated spdx links (#2865)

Signed-off-by: Takeru Tanaka <takeru.tt5672@gmail.com>
This commit is contained in:
Take 2024-05-15 02:58:36 +09:00 committed by GitHub
parent 048df17e3d
commit 338ce51fd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ const (
OtherReferenceCategory ReferenceCategory = "OTHER" OtherReferenceCategory ReferenceCategory = "OTHER"
) )
// source: https://spdx.github.io/spdx-spec/appendix-VI-external-repository-identifiers/ // source: https://spdx.github.io/spdx-spec/v2.2.2/external-repository-identifiers/
type ExternalRefType string type ExternalRefType string

View file

@ -11,9 +11,9 @@ import (
) )
func License(p pkg.Package) (concluded, declared string) { func License(p pkg.Package) (concluded, declared string) {
// source: https://spdx.github.io/spdx-spec/3-package-information/#313-concluded-license // source: https://spdx.github.io/spdx-spec/v2.3/package-information/#713-concluded-license-field
// The options to populate this field are limited to: // The options to populate this field are limited to:
// A valid SPDX License Expression as defined in Appendix IV; // A valid SPDX License Expression as defined in Annex D;
// NONE, if the SPDX file creator concludes there is no license available for this package; or // NONE, if the SPDX file creator concludes there is no license available for this package; or
// NOASSERTION if: // NOASSERTION if:
// (i) the SPDX file creator has attempted to but cannot reach a reasonable objective determination; // (i) the SPDX file creator has attempted to but cannot reach a reasonable objective determination;

View file

@ -1,6 +1,6 @@
package helpers package helpers
// source: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ // source: https://spdx.github.io/spdx-spec/v2.2.2/relationships-between-SPDX-elements/
type RelationshipType string type RelationshipType string
const ( const (