Skip to content

Fix renovate pin for consistent-versions plugin on branch_9x - #4736

Merged
janhoy merged 2 commits into
apache:branch_9xfrom
janhoy:renovate-9x-plugin-pin-fix
Aug 13, 2026
Merged

Fix renovate pin for consistent-versions plugin on branch_9x#4736
janhoy merged 2 commits into
apache:branch_9xfrom
janhoy:renovate-9x-plugin-pin-fix

Conversation

@janhoy

@janhoy janhoy commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

The 2.32.0 pin added in #4733 never matched the com.palantir.consistent-versions Gradle plugin: for plugins, Renovate's matchPackageNames matches the plugin marker artifact (com.palantir.consistent-versions:com.palantir.consistent-versions.gradle.plugin), not the plugin id. That is why solrbot still opened #4734. The plugin id is the depName, so switch the rule to matchDepNames.

Second commit replaces the deprecated matchPackagePrefixes with equivalent matchPackageNames globs (no behavior change).

janhoy added 2 commits August 13, 2026 17:36
…in applies

For Gradle plugins matchPackageNames matches the plugin marker artifact
(com.palantir.consistent-versions:com.palantir.consistent-versions.gradle.plugin),
not the plugin id, so the pin never matched and solrbot opened PRs like apache#4734.
The plugin id is the depName, so use matchDepNames instead.
…mes globs

Same semantics; matchPackagePrefixes is deprecated and only works via
Renovate's automatic config migration.

@epugh epugh 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.

That all makes sense to me! I apprecaite your advanced knowledge on this.

@janhoy
janhoy merged commit 06fc1d2 into apache:branch_9x Aug 13, 2026
2 of 6 checks passed
@janhoy
janhoy deleted the renovate-9x-plugin-pin-fix branch August 13, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants