0.10.4 (Oct 17 2022)
-
Refactor the purl2url functions and utilities #42
- Split purl2url into
get_repo_url()
andget_download_url()
returning
accordingly a "Repository URL" and a "Download URL". - A new
get_inferred_urls
function is available to get return all
inferred URLs (repository and download) values. - Add support in purl2url for npm, pypi, hackage, and nuget.
- Package URL qualifiers can now be provided to
purl_from_pattern()
. - The
download_url
qualifier is returned inget_download_url()
when available.
- Split purl2url into
-
Usage of
purl2url.purl2url
andpurl2url.get_url
is still available for
backward compatibility but should be migrated topurl2url.get_repo_url
. -
Include the
version_prefix
("v" or "V") as a qualifier in build_github_purl #42
This allow to infer valid URLs in the context of purl2url.