tern icon indicating copy to clipboard operation
tern copied to clipboard

Denote container package type in SPDX docs

Open rnjudge opened this issue 2 years ago • 2 comments

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: https://github.com/spdx/spdx-spec/pull/622

rnjudge avatar Feb 25 '22 21:02 rnjudge

Update proposed Package description materials as needed to support this item ref: https://github.com/spdx/spdx-spec/issues/628

rjb4standards avatar Feb 25 '22 22:02 rjb4standards

As per https://github.com/spdx/spdx-spec/pull/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 avatar Jun 27 '22 17:06 rnjudge