Skip to content

Conversation

@ErniGH
Copy link
Contributor

@ErniGH ErniGH commented Sep 25, 2025

Changelog: Fix: Describe here your pull request
Docs: https://github.com/conan-io/docs/pull/XXXX

Add the pref and qualifiers to the purl

close: #18971

if hasattr(component, "conanfile"):
purl_qualifier = "".join(f"&{qualifier}={component.conanfile.settings.get_safe(qualifier)}" for qualifier in qualifiers)
return (f"pkg:conan/{component.name}@{component.ref.version}"
f"?rref={component.ref.revision}&pref={component.pref.package_id}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have discussed that this should be rrev, but we have decided to do that in a different PR

@ErniGH ErniGH marked this pull request as ready for review October 2, 2025 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[question] SBOM Optional PURL fields

2 participants