-
Notifications
You must be signed in to change notification settings - Fork 186
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
Purl generation #1130
Comments
cc @coderpatros :) Looking at what generates the purl:
the purl_type is using the package format, which for python package is
I think some simple logic could fix this. I wonder if there's other package format types that might also need tweaking? |
Thank you for your quick reaction, I will not hesitate to create an issue if I encounter others in the future. |
ThiefaineM
pushed a commit
to ThiefaineM/tern
that referenced
this issue
Mar 21, 2022
Packages download with pip or pip3 are taken from the index Pypi. To be more accurate for the purl / in general, it could be better to use Pypi to describe the packages format. Here for the purl for a python component: - https://ossindex.sonatype.org/component/pkg:pip/pip-tools - https://ossindex.sonatype.org/component/pkg:pypi/pip-tools The scond one is recognized but not the first. Resolves: tern-tools#1130 Signed-off-by: Thiéfaine Mercier <thiefaine.mercier@avisto.com>
ThiefaineM
pushed a commit
to ThiefaineM/tern
that referenced
this issue
Mar 22, 2022
Packages download with pip or pip3 are taken from the index Pypi. To be more accurate for the purl / in general, it could be better to use Pypi to describe the packages format. Resolves: tern-tools#1130 Signed-off-by: Thiéfaine Mercier <thiefaine.mercier@avisto.com>
rnjudge
pushed a commit
that referenced
this issue
Mar 23, 2022
Packages download with pip or pip3 are taken from the index Pypi. To be more accurate for the purl / in general, it could be better to use Pypi to describe the packages format. Resolves: #1130 Signed-off-by: Thiéfaine Mercier <thiefaine.mercier@avisto.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please read the Code of Conduct before you proceed
Code of Conduct
Ask your question here
Hello, I was using Tern on my Dockerfile where I use Python and the framework Django to generate CyclondeDX BOM. The returned purl for django is "pkg:pip/Django@3.2.3". Nevertheless, the "correct" purl to identify django seems to be "pkg:pypi/django@3.2.3" according to OSSINDEX and Package URL examples. I got the same issue on most components where the expected pypi is pip. Is this a normal behaviour or am I missing something ?
Best regards.
The text was updated successfully, but these errors were encountered: