Repository navigation
Commit 4e0e671
committed
Let version catalog refs decide Renovate grouping
Renovate's Gradle manager records each catalog entry's version.ref and
uses it as the group name when no rule sets one, so every ref already
updates as one branch. Two things worked against that:
- config:recommended includes group:monorepos, which puts Jetty,
Jackson, Netty, Log4j2, Jersey, Mockito, jaxb-ri and slf4j into
"<name> monorepo" groups.
- Vulnerability-alert updates reset groupName to null and fall back
to the ref name.
So a family whose normal updates get a group name other than the ref
name is split: a jar with an OSV advisory lands on renovate/<ref>,
the rest on renovate/<group>, and both branches rewrite the same
catalog line. The explicit jetty, jackson, netty and log4j groups only
avoided this because their names happen to equal the refs, and that
does not work for refs with a dash, which become dotted branch names
(jaxb-ri -> renovate/jaxb.ri). jaxb-ri, slf4j and the refs inside the
multi-ref groups (awssdk in aws-sdk, mockito and byte-buddy in
test-tooling, hk2 in jersey, jaxws-ri in sun-xml) were exposed. The
pdfbox group's *pdfbox* pattern also pulled
openhtmltopdf-pdfbox away from the rest of the openhtmltopdf ref.
Ignore group:monorepos and remove every groupName rule, leaving the
refs as the only grouping. A local Renovate 44.199.0 run with OSV
alerts on (--platform=local, gradle manager) confirms that each ref
then goes to exactly one branch, plus its major-update branch, that
no branch updates more than one ref, and that jetty-http's advisory
update lands on renovate/jetty with the other Jetty jars. Dockerfile
and Gradle wrapper branches are unchanged.
Artifacts on literal versions, such as the Apache Commons and Metro
jars that the apache-commons and sun-xml groups bundled, now get one
PR each. In the same run, PR-producing branches went from 59 to 82
and major-only branches, which wait for dashboard approval, from 31
to 40; prConcurrentLimit and the monthly schedule still pace them.
Grouping never kept those jars compatible anyway, since each update
in a group moves to its own latest version.
Document the rule in CONTRIBUTING.md and point to it from the
catalog.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Tony Germano <tony@germano.name>1 parent 594c6fb commit 4e0e671
3 files changed
Lines changed: 6 additions & 74 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | 51 | | |
123 | 52 | | |
124 | 53 | | |
0 commit comments