-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
Description
Describe the bug
Creating a package in DejaCode from https://codeberg.org/janantos/brow6el/archive/main.tar.gz results in unexpected PURL values returned form packageurl-python.
To Reproduce
Steps to reproduce the behavior:
- Go to Packages user list view in DejaCode
- Click on Add Package
- enter https://codeberg.org/janantos/brow6el/archive/main.tar.gz and click Add
- Note that the generated PURL is
pkg:generic/main.tar.gz?download_url=https://codeberg.org/janantos/brow6el/archive/main.tar.gzeven though it correctly records the Download URL.
Alternatively, without DejaCode, use url2purl.get_purl with https://codeberg.org/janantos/brow6el/archive/main.tar.gz as input.
Expected behavior
A better PURL for this should be something like pkg:codeberg/janantos/brow6el@main
Context (OS, Browser, Device, etc.):
DejaCode v5.5.0