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

Denote container package type in SPDX docs #1129

Open
rnjudge opened this issue Feb 25, 2022 · 2 comments
Open

Denote container package type in SPDX docs #1129

rnjudge opened this issue Feb 25, 2022 · 2 comments
Labels
spdx Issues related to the SPDX formatting of Tern reports
Milestone

Comments

@rnjudge
Copy link
Contributor

rnjudge commented Feb 25, 2022

Describe the Feature
SPDX 2.3 is proposing adding a package purpose field which could be used to denote when the package is a container (among other package types). Once the proposal is agreed upon and merged, add the package purpose type to Tern SPDX reports.

Depends on: spdx/spdx-spec#622

@rnjudge rnjudge added this to the Near Future milestone Feb 25, 2022
@rjb4standards
Copy link

Update proposed Package description materials as needed to support this item ref: spdx/spdx-spec#628

@rnjudge
Copy link
Contributor Author

rnjudge commented Jun 27, 2022

As per spdx/spdx-spec#721, the packagePurpose is now primaryPackagePurpose. This means that in SPDX docs generated by Tern this field should be added as follows:

Tag Value:

PrimaryPackagePurpose: CONTAINER

JSON, under the top-level container "package" entry:

"primaryPackagePurpose": "CONTAINER"

@rnjudge rnjudge added the spdx Issues related to the SPDX formatting of Tern reports label May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spdx Issues related to the SPDX formatting of Tern reports
Projects
None yet
Development

No branches or pull requests

2 participants