Merged
Conversation
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
…b action is activated. Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Steve Springett <steve@springett.us>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
We only need a list of types and I find it less brittle avoiding to hardcode URLs. Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
mjherzog
reviewed
Jul 2, 2025
Also ensure theta schemas are valid and formatted Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
This was referenced Jul 9, 2025
* Ensure all schemas are valid and formatted * Organize properties fields in a consistent manner: title, description, type. * Add title to all property definitions Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
Ignore Python artifacts Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
This is for many types Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
This ensure we can distinguish a definition, a test and an index JSON file with a simple glob. This helps with making processing simple. Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
Also migrate existing defintions to new schema Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
This enable the validation of schemas and instances with make check Next this will also allow for CI checks. Signed-off-by: Philippe Ombredanne <pombredanne@aboutcode.org>
This was referenced Jul 26, 2025
Draft
This was referenced Jul 27, 2025
This was referenced Jul 28, 2025
darakian
added a commit
to darakian/purl-spec
that referenced
this pull request
Jul 28, 2025
Based on the comment here package-url#514 (comment) the word choice when listing purl types should be changed from known to registered.
giterlizzi
added a commit
to giterlizzi/perl-URI-PackageURL
that referenced
this pull request
Jul 28, 2025
jkowalleck
reviewed
Jul 30, 2025
Member
There was a problem hiding this comment.
this file was referenced here:
purl-spec/PURL-SPECIFICATION.rst
Lines 515 to 518 in 395319f
the reference need to change.
Member
|
@jkowalleck We are planning a major PR to replace PURL-SPECIFICATION.rst with more granular documentation files (markdown format) and clean up obsolete references like this. See #520 for an explanation of the target structure. |
This was referenced Oct 5, 2025
chenrui333
added a commit
to chenrui333/purl-spec
that referenced
this pull request
Jan 31, 2026
Introduce `pkg:brew` as a registered PURL type using the post-package-url#514 JSON type-definition framework. Key design decisions: - version: optional (matches real-world usage like pkg:brew/go) - namespace: optional (represents Homebrew tap, e.g., homebrew/core) - qualifier: repository_url (consistent with docker, oci types) - @ encoding: formula names with @ (e.g., postgresql@12) use %40 Test cases cover: - Simple formula with/without version - Versioned formulas with @ in name (percent-encoding) - Namespace (tap) usage for homebrew/core, homebrew/cask - Third-party taps with repository_url qualifier Real-world usage validated against: - Homebrew/brew (official sbom.rb) - anchore/syft - endoflife.date (versionless purls) Signed-off-by: Rui Chen <rui@chenrui.dev>
chenrui333
added a commit
to chenrui333/purl-spec
that referenced
this pull request
Jan 31, 2026
Introduce `pkg:brew` as a registered PURL type using the post-package-url#514 JSON type-definition framework. Key design decisions: - version: optional (matches real-world usage like pkg:brew/go) - namespace: optional (represents Homebrew tap, e.g., homebrew/core) - qualifier: repository_url (consistent with docker, oci types) - @ encoding: formula names with @ (e.g., postgresql@12) use %40 Test cases cover: - Simple formula with/without version - Versioned formulas with @ in name (percent-encoding) - Namespace (tap) usage for homebrew/core, homebrew/cask - Third-party taps with repository_url qualifier Real-world usage validated against: - Homebrew/brew (official sbom.rb) - anchore/syft - endoflife.date (versionless purls) Signed-off-by: Rui Chen <rui@chenrui.dev>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR refines the schema for:
on top of @stevespringett PR:
Key changes: