Skip to content

Change pacman and go pkg_format to mirror PURL - #1218

Merged
rnjudge merged 1 commit into
tern-tools:mainfrom
rnjudge:add-purl
Mar 1, 2023
Merged

rnjudge merged 1 commit into
tern-tools:mainfrom
rnjudge:add-purl

Conversation

@rnjudge

@rnjudge rnjudge commented Mar 1, 2023

Copy link
Copy Markdown
Contributor

A package object's pkg_format attribute is used in the default report, as well as to determine when a license value should be retrieved from the pkg_licesnes attribute value (i.e.
tern/formats/default/generator.py). Moving forward, we can also use the pkg_format as a purl type. This commit changes the go and pacman binary pkg_formats to align with the purl types[1] in the purl specification.

[1]https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst

Works towards: #1206

A package object's `pkg_format` attribute is used in the default report,
as well as to determine when a license value should be retrieved from
the `pkg_licesnes` attribute value (i.e.
tern/formats/default/generator.py). Moving forward, we can also use the
`pkg_format` as a purl type. This commit changes the go and pacman
binary pkg_formats to align with the purl types[1] in the purl
specification.

[1]https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst

Works towards: tern-tools#1206

Signed-off-by: Rose Judge <rjudge@vmware.com>
@rnjudge
rnjudge merged commit 5ab79f3 into tern-tools:main Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant