Skip to content

Add support for Git PURLs - #45

Merged
andrew merged 1 commit into
mainfrom
add-git-type
Oct 18, 2026
Merged

andrew merged 1 commit into
mainfrom
add-git-type

Conversation

@andrew

@andrew andrew commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

Git PURLs now use the host as the namespace and the full repository path as the name. Add the git type metadata and support it in Parse, New, and all ecosystem builders, preserving case and repository path slashes.

Handle the namespace split and serialization locally around packageurl-go. Cover commit and tag refs, nested repository paths, escaping, qualifiers, subpaths, and missing host or repository inputs with public API tests.

Fixes #43

Copilot AI balanced review requested due to automatic review settings October 18, 2026 17:38

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@andrew
andrew merged commit 4a02bb3 into main Oct 18, 2026
6 checks passed
@andrew
andrew deleted the add-git-type branch October 18, 2026 17:40
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 this pull request may close these issues.

Add the git type

2 participants