Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix outdated links to SPDX #2865

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion syft/format/internal/spdxutil/helpers/external_ref.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const (
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

Expand Down
4 changes: 2 additions & 2 deletions syft/format/internal/spdxutil/helpers/license.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import (
)

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:
// 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
// NOASSERTION if:
// (i) the SPDX file creator has attempted to but cannot reach a reasonable objective determination;
Expand Down
2 changes: 1 addition & 1 deletion syft/format/internal/spdxutil/helpers/relationship_type.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
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

const (
Expand Down