Skip to content

get_repo_url and get_download_url give no result #107

@vargenau

Description

@vargenau

from packageurl.contrib import purl2url
purl2url.get_repo_url("pkg:golang/xorm.io/xorm@v0.8.2")
purl2url.get_download_url("pkg:golang/xorm.io/xorm@v0.8.2")
purl2url.get_repo_url("pkg:golang/gopkg.in/ldap.v3@v3.1.0")
purl2url.get_download_url("pkg:golang/gopkg.in/ldap.v3@v3.1.0")
purl2url.get_repo_url("pkg:alpine/zlib@1.2.11-r3?arch=x86_64&upstream=zlib&distro=alpine-3.14.3")
purl2url.get_download_url("pkg:alpine/zlib@1.2.11-r3?arch=x86_64&upstream=zlib&distro=alpine-3.14.3")

get_repo_url and get_download_url give no result for the PURLs above. Why?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions