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

feat: add external reference category "OTHER" #229

Merged
merged 1 commit into from Dec 20, 2023
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
3 changes: 3 additions & 0 deletions spdx/model.go
Expand Up @@ -85,6 +85,9 @@ const (
TypePersistentIdSwh = common.TypePersistentIdSwh
TypePersistentIdGitoid = common.TypePersistentIdGitoid

// F.5 Other
CategoryOther = common.CategoryOther

// 11.1 Relationship field types
RelationshipDescribes = common.TypeRelationshipDescribe
RelationshipDescribedBy = common.TypeRelationshipDescribeBy
Expand Down
4 changes: 4 additions & 0 deletions spdx/v2/common/external.go
Expand Up @@ -21,11 +21,15 @@ const (
TypePackageManagerNuGet string = "nuget"
TypePackageManagerBower string = "bower"
TypePackageManagerPURL string = "purl"

// F.4 Persistent-Id types
CategoryPersistentId string = "PERSISTENT-ID"
TypePersistentIdSwh string = "swh"
TypePersistentIdGitoid string = "gitoid"

// F.5 Other
CategoryOther string = "OTHER"

// 11.1 Relationship field types
TypeRelationshipDescribe string = "DESCRIBES"
TypeRelationshipDescribeBy string = "DESCRIBED_BY"
Expand Down