Skip to content

Bump github.com/git-pkgs/purl to v0.1.19 - #77

Merged
andrew merged 3 commits into
mainfrom
bump-purl-v0.1.19
Aug 28, 2026
Merged

Bump github.com/git-pkgs/purl to v0.1.19#77
andrew merged 3 commits into
mainfrom
bump-purl-v0.1.19

Conversation

@andrew

@andrew andrew commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Picks up CleanVersion improvements: constraints now resolve via vers.Range.MinimumVersion(), so excluded lower bounds are no longer selected and unions use ecosystem version ordering.

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.

Pull request overview

Updates the project to use github.com/git-pkgs/purl v0.1.19 (and related dependency bumps), adopting improved PURL version constraint normalization/ordering and aligning npm PURL generation with the upstream builder.

Changes:

  • Bump github.com/git-pkgs/purl to v0.1.19 (plus vers and packageurl-go indirect updates).
  • Switch npm PURL construction to purl.BuildPURLString and update expected encoding for scoped npm packages.
  • Add a regression test covering PURL constraint cleaning behavior and bump the Go toolchain version used by the module and CI.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
registries_test.go Adds coverage for PURL constraint cleaning/ordering via BuildURLs.
internal/npm/npm.go Replaces manual npm PURL formatting with purl.BuildPURLString.
internal/npm/npm_test.go Updates scoped npm PURL expectation to percent-encode @ as %40.
go.mod Bumps Go version and updates dependency versions (purl, vers, packageurl-go).
go.sum Records new dependency checksums after the module bumps.
.github/workflows/ci.yml Updates CI Go version used in test/lint jobs.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread go.mod
Comment thread .github/workflows/ci.yml
@andrew
andrew merged commit 51116c2 into main Aug 28, 2026
6 checks passed
@andrew
andrew deleted the bump-purl-v0.1.19 branch August 28, 2026 10:48
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.

2 participants