Skip to content

chore: group more dependencies in Renovate (commons, bouncycastle, hamcrest, kotlin, ...)#6703

Merged
vlsi merged 1 commit into
apache:masterfrom
vlsi:renovate/group-more-deps
May 26, 2026
Merged

chore: group more dependencies in Renovate (commons, bouncycastle, hamcrest, kotlin, ...)#6703
vlsi merged 1 commit into
apache:masterfrom
vlsi:renovate/group-more-deps

Conversation

@vlsi
Copy link
Copy Markdown
Collaborator

@vlsi vlsi commented May 26, 2026

Summary

Follow-up to the GitHub Actions grouping. Adds seven more packageRules so Renovate creates one PR per family instead of many. All entries inserted alphabetically by groupName to keep future diffs minimal; nothing existing is modified.

group covers typical PRs collapsed
com.gradle com.gradle.develocity, com.gradle.common-custom-user-data-gradle-plugin 2 → 1
commons-* (classic) commons-codec, commons-collections, commons-io, commons-lang, commons-logging, commons-net (groupId == artifactId) up to 6 → 1
org.apache.commons commons-lang3, commons-text, commons-jexl3, commons-pool2, commons-dbcp2, commons-collections4, commons-math3, ... up to 7 → 1
org.bouncycastle bcmail-jdk18on, bcpkix-jdk18on, bcprov-jdk18on (always share version) 3 → 1
org.hamcrest hamcrest, hamcrest-core, hamcrest-library (always share version) 3 → 1
org.jetbrains.kotlin org.jetbrains.kotlin.jvm, org.jetbrains.kotlin.kapt, ... (compiler plugins, always share version) 2 → 1
xalan/xerces xalan:xalan, xalan:serializer, xerces:xercesImpl (legacy XML stack) rarely-updated, but go together

The new org.jetbrains.kotlin group intentionally does NOT capture org.jetbrains.kotlinx:* (coroutines monorepo) — that already groups via Renovate's kotlinx-coroutines-monorepo preset.

Independent monorepos (jackson, junit, spring, groovy, etc.) are already covered by Renovate presets and remain untouched.

Test plan

  • renovate.json is valid JSON
  • On next Renovate run, verify that the open rate-limited PRs for bcmail-jdk18on, kotlin.jvm+kotlin.kapt, and the commons-* entries collapse into single PRs

Adds packageRules grouping for:
- com.gradle.*           — Develocity + common-custom-user-data
- commons-* (classic)    — commons-codec/io/net/collections/logging/lang
- org.apache.commons:*   — commons-lang3/text/jexl3/pool2/dbcp2/...
- org.bouncycastle:*     — bcmail/bcpkix/bcprov (always share version)
- org.hamcrest:*         — hamcrest, hamcrest-core, hamcrest-library
- org.jetbrains.kotlin:* — kotlin.jvm, kotlin.kapt (always share version)
- xalan/xerces           — legacy Apache XML stack

Each group is inserted alphabetically by groupName to minimize future
diffs. Independent monorepos (jackson, kotlinx-coroutines, junit, etc.)
already group via Renovate presets and are not touched.
@vlsi vlsi added the chore label May 26, 2026
@vlsi vlsi merged commit 8e1b925 into apache:master May 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant