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

add support for additional qualifiers #54

Closed
4 tasks done
jkowalleck opened this issue Jan 18, 2022 · 0 comments · Fixed by #158
Closed
4 tasks done

add support for additional qualifiers #54

jkowalleck opened this issue Jan 18, 2022 · 0 comments · Fixed by #158
Assignees

Comments

@jkowalleck
Copy link
Collaborator

jkowalleck commented Jan 18, 2022

Currently the qualifier checksum is well-known
But there are more, that need to be supported
see https://github.com/package-url/purl-spec/blob/master/PURL-SPECIFICATION.rst#known-qualifiers-keyvalue-pairs

add support for the following well-known qualifiers:

  • repository_url
  • download_url
  • vcs_url
  • file_name
@jkowalleck jkowalleck self-assigned this Nov 18, 2023
jkowalleck added a commit that referenced this issue Nov 18, 2023
fixes #54

Added
--------
  * Constant `PackageUrl::QUALIFIER_REPOSITORY_URL`
  * Constant `PackageUrl::QUALIFIER_DOWNLOAD_URL`
  * Constant `PackageUrl::QUALIFIER_VCS_URL`
  * Constant `PackageUrl::QUALIFIER_FILE_NAME`
  * Constant `PackageUrl::QUALIFIER_CHECKSUM`
 
Deprecated
-----------
  * Constant `PackageUrl::CHECKSUM_QUALIFIER` -> use `PackageUrl::QUALIFIER_CHECKSUM` instead


---------

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant