Skip to content

Ensure that we always get a valid purl from a URL in url2purl #68

@pombredanne

Description

@pombredanne

We should always create a generic purl otherwise if we cannot infer it as in pkg:generic/lxc-master?download_url=https://salsa.debian.org/lxc-team/lxc/-/archive/master/lxc-master.tar.gz ... see https://github.com/package-url/purl-spec/blob/master/PURL-TYPES.rst#generic

This helps a lot downstream users such as ScanCode to get always something and at the very least a generic purl.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions