Skip to content

Commit b721326

Browse files
authored
ci: split renovate dependency updates by version line (#1212)
1 parent bef592d commit b721326

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

‎renovate.json‎

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
23
"baseBranches": [
34
"develop"
45
],
@@ -9,11 +10,58 @@
910
},
1011
"packageRules": [
1112
{
13+
"description": "libs.versions.toml pins the MINIMUM supported versions (compileOnly floors of the support matrix) and libs.example.legacy.versions.toml is the frozen javax stack; both are maintained manually.",
1214
"matchFileNames": [
1315
"libs.example.legacy.versions.toml",
1416
"libs.versions.toml"
1517
],
1618
"enabled": false
19+
},
20+
{
21+
"description": "vertx-jdbc-client4 is the pinned 4.x line (hibernate-reactive-javax example); update only within 4.x. The current vertx-jdbc-client 5.x line stays unrestricted, so a new major still surfaces as a proposal.",
22+
"matchFileNames": ["libs.example.versions.toml"],
23+
"matchPackageNames": ["io.vertx:vertx-jdbc-client"],
24+
"matchCurrentVersion": "/^4\\./",
25+
"allowedVersions": "/^4\\./"
26+
},
27+
{
28+
"description": "p6spy for the Boot 3 examples is pinned to the 1.x line; the current Boot 4 line (2.x) stays unrestricted.",
29+
"matchFileNames": ["libs.example.versions.toml"],
30+
"matchPackageNames": ["com.github.gavlyukovskiy:p6spy-spring-boot-starter"],
31+
"matchCurrentVersion": "/^1\\./",
32+
"allowedVersions": "/^1\\./"
33+
},
34+
{
35+
"description": "spring-batch-test for the Batch 5 examples is pinned to the 5.x line; the current Batch 6 line stays unrestricted.",
36+
"matchFileNames": ["libs.example.versions.toml"],
37+
"matchPackageNames": ["org.springframework.batch:spring-batch-test"],
38+
"matchCurrentVersion": "/^5\\./",
39+
"allowedVersions": "/^5\\./"
40+
},
41+
{
42+
"description": "Boot 3 example stack: pinned to the 3.x line; the starters and the plugin share the spring-boot3 [versions] entry, so they are grouped into one PR that bumps the shared version ref.",
43+
"matchFileNames": ["libs.example.versions.toml"],
44+
"matchPackageNames": [
45+
"org.springframework.boot:spring-boot-starter-data-jpa",
46+
"org.springframework.boot:spring-boot-starter-batch",
47+
"org.springframework.boot:spring-boot-starter-test",
48+
"org.springframework.boot"
49+
],
50+
"matchCurrentVersion": "/^3\\./",
51+
"allowedVersions": "/^3\\./",
52+
"groupName": "example-spring-boot-3.x"
53+
},
54+
{
55+
"description": "Boot 4 example stack: NOT version-restricted (a new major is a migration signal), but grouped because the starters and the plugin share the spring-boot4 [versions] entry and must be bumped together in one PR.",
56+
"matchFileNames": ["libs.example.versions.toml"],
57+
"matchPackageNames": [
58+
"org.springframework.boot:spring-boot-starter-data-jpa",
59+
"org.springframework.boot:spring-boot-starter-batch",
60+
"org.springframework.boot:spring-boot-starter-test",
61+
"org.springframework.boot"
62+
],
63+
"matchCurrentVersion": "/^4\\./",
64+
"groupName": "example-spring-boot-4.x"
1765
}
1866
]
1967
}

0 commit comments

Comments
 (0)