Skip to content

Fix version-less library owner patterns never matching - #45

Merged
akshay-grabtaxi merged 1 commit into
grab:masterfrom
MinhNguyen-nvm:fix/versionless-library-owner-pattern
Aug 25, 2026
Merged

Fix version-less library owner patterns never matching#45
akshay-grabtaxi merged 1 commit into
grab:masterfrom
MinhNguyen-nvm:fix/versionless-library-owner-pattern

Conversation

@MinhNguyen-nvm

Copy link
Copy Markdown
Contributor

A pattern like com.example:library (group:artifact, no version) never matched any coordinate: exact matching compares against the full group:artifact:version string, and the wildcard branches require :* or .*. Every such pattern silently left its library unattributed (NA).

Version-less coordinates now match any version of exactly that artifact (priority: exact > version-less > artifact wildcard > group wildcard), without matching other artifacts sharing the name as a prefix.

Proposed Changes

Testing

Issues Fixed

A pattern like com.example:library (group:artifact, no version) never
matched any coordinate: exact matching compares against the full
group:artifact:version string, and the wildcard branches require :* or
.*. Every such pattern silently left its library unattributed (NA).

Version-less coordinates now match any version of exactly that artifact
(priority: exact > version-less > artifact wildcard > group wildcard),
without matching other artifacts sharing the name as a prefix.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@akshay-grabtaxi
akshay-grabtaxi merged commit b7da686 into grab:master Aug 25, 2026
4 checks passed
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