Skip to content

Commit

Permalink
Modification of package format for pip
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Thiéfaine Mercier committed Mar 21, 2022
1 parent 8bdd2bc commit 9ef267e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tern/analyze/default/command_lib/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ rpm:
delimiter: "\n"
# pip ----------------------------------------------------------------------
pip:
pkg_format: 'pip'
pkg_format: 'pypi'
os_guess:
- 'None'
path:
Expand Down Expand Up @@ -318,7 +318,7 @@ pip:
delimiter: "\n"
# pip3 ----------------------------------------------------------------------
pip3:
pkg_format: 'pip'
pkg_format: 'pypi'
os_guess:
- 'None'
path:
Expand Down

0 comments on commit 9ef267e

Please sign in to comment.