Skip to content

Normalize cooldown package PURL overrides#201

Open
andrew wants to merge 1 commit into
mainfrom
fix-197-cooldown-scoped-purls
Open

Normalize cooldown package PURL overrides#201
andrew wants to merge 1 commit into
mainfrom
fix-197-cooldown-scoped-purls

Conversation

@andrew

@andrew andrew commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • normalize valid per-package cooldown PURL keys before passing configuration to the cooldown library
  • accept both readable npm @scope keys and canonical %40scope keys
  • preserve invalid keys and give explicit canonical entries precedence

Fixes #197

Testing

  • go test -race ./... -count=1
  • go tool golangci-lint run ./...

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.

Cooldown cannot be configured for package with @ in the name

1 participant