mirror of
https://github.com/anchore/syft
synced 2024-11-10 06:14:16 +00:00
Fix outdated spdx links (#2865)
Signed-off-by: Takeru Tanaka <takeru.tt5672@gmail.com>
This commit is contained in:
parent
048df17e3d
commit
338ce51fd8
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue