Skip to content
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

Provide support for Gitlab versioning #133

Closed
DennisClark opened this issue Dec 5, 2023 · 1 comment
Closed

Provide support for Gitlab versioning #133

DennisClark opened this issue Dec 5, 2023 · 1 comment
Labels

Comments

@DennisClark
Copy link
Collaborator

A recent scan of hoppr-v1.11.1-dev.2.tar.gz downloaded from https://gitlab.com/hoppr/hoppr/-/archive/v1.11.1-dev.2/hoppr-v1.11.1-dev.2.tar.gz produced a reasonably accurate scan but the purl values are missing the Version. It appears that the somewhat complex version of a Gitlab package is not being understood. Scan results attached.

hoppr-v1.11.1-dev.2.tar.gz_scan.json.zip

@DennisClark DennisClark added the bug label Dec 5, 2023
tdruez added a commit that referenced this issue Dec 8, 2023
tdruez added a commit that referenced this issue Dec 8, 2023
* Add support for GitLab "/archive/" URLs in `url2purl` #133

Signed-off-by: tdruez <[email protected]>

* Add a Makefile to simplify setup

Signed-off-by: tdruez <[email protected]>

* Bump version to 0.11.3

Signed-off-by: tdruez <[email protected]>

* Minor adjustments to the CI confs

Signed-off-by: tdruez <[email protected]>

* Upgrade python version to 3.7 in mypy conf

Signed-off-by: tdruez <[email protected]>

---------

Signed-off-by: tdruez <[email protected]>
@tdruez
Copy link
Collaborator

tdruez commented Dec 8, 2023

Added in #134

@tdruez tdruez closed this as completed Dec 8, 2023
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this issue Dec 11, 2023
0.12.0 (2023-12-08)
-------------------

- Modified `PackageURL.from_string` to properly handle golang purls.
  package-url/packageurl-python#115

- Improve support for PyPI URLs in `url2purl`.
  package-url/packageurl-python#128

- Return the "gem" type instead of "rubygems" for "https://rubygems.org/" URLs in
  `url2purl`. The `pkg:rubygems/` purls are backward-compatible in `purl2url`.
  package-url/packageurl-python#114

0.11.3 (2023-12-08)
--------------------

- Add support for GitLab "/archive/" URLs in `url2purl`.
  package-url/packageurl-python#133
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants