Skip to content

Build PURLs for Swift registry identities - #128

Merged
andrew merged 1 commit into
mainfrom
fix/swift-registry-purls
Oct 30, 2026
Merged

andrew merged 1 commit into
mainfrom
fix/swift-registry-purls

Conversation

@andrew

@andrew andrew commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Return Swift registry PURLs through purl.BuildPURLString, so apple.swift-argument-parser at 1.7.0 produces pkg:swift/apple/swift-argument-parser@1.7.0. Validate registry identities before building the PURL.

Upgrade git-pkgs/purl to v0.2.1 so PURL-based Swift lookups receive native scope.name identities. Add regression coverage for Swift name round trips, version escaping, invalid identities, and Swift and mixed-case Go registry requests.

Closes #121.

Copilot AI balanced review requested due to automatic review settings October 30, 2026 17:14

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 insufficient remaining quota.

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 bfca0c4 into main Oct 30, 2026
6 checks passed
@andrew
andrew deleted the fix/swift-registry-purls branch October 30, 2026 17:20
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.

Return pkg:swift/{scope}/{name} from the Swift URLs builder

2 participants