tern
tern copied to clipboard
Denote container package type in SPDX docs
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
Update proposed Package description materials as needed to support this item ref: https://github.com/spdx/spdx-spec/issues/628
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"