Skip to content

Commit 76a295c

Browse files
jamesarichclaude
andauthored
chore(deps): adopt the org kmp-library Renovate preset (#105)
Extend local>meshtastic/.github:kmp-library (meshtastic/.github#1) and keep only what is genuinely local to this repo: - Keep the hold-all-Gradle rule: every non-major Gradle bump still gets a human, because apple and android consume this SDK. The rule documents how to delete it if the preset's automerge baseline is wanted later. - Keep the org.meshtastic:protobufs prBodyNotes, the sqldelight/kable/wire groups, rangeStrategy=bump, UTC timezone, and weekly lockFileMaintenance. - Drop the weekly schedule (the preset holds visibly instead of windowing), the kotlin/ktor/kotlinx groups (the preset's kotlin-toolchain group is stricter — it locks KSP and SKIE to the Kotlin bump), and the labels/ vulnerabilityAlerts/configMigration boilerplate the preset now provides. - Drop the stale SKIE ceiling (allowedVersions <=2.4.0): the repo is already on Kotlin 2.4.10 + SKIE 0.10.14, so the bound was silently blocking every future Kotlin update. The preset's kotlin-toolchain hold replaces it — Kotlin and SKIE now travel together in one reviewed PR. Validated with renovate-config-validator --strict. Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 4e29007 commit 76a295c

1 file changed

Lines changed: 4 additions & 33 deletions

File tree

renovate.json

Lines changed: 4 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
{
22
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"description": "Extends the org-wide policy for published KMP libraries (automerge baseline, 3-day soak, kotlin-toolchain and first-party holds — see meshtastic/.github:kmp-library.json for rationale). Local rules below keep this repo stricter than the preset: every Gradle update is human-reviewed because this SDK is consumed by the apple and android apps. packageRules apply in order and the last match wins, so these rules override the preset's.",
34
"extends": [
4-
"config:recommended",
5-
":dependencyDashboard",
6-
":semanticCommits",
5+
"local>meshtastic/.github:kmp-library",
76
":timezone(UTC)"
87
],
9-
"labels": ["dependencies"],
10-
"schedule": ["before 6am on monday"],
11-
"prHourlyLimit": 4,
12-
"prConcurrentLimit": 10,
138
"rangeStrategy": "bump",
14-
"configMigration": true,
159
"lockFileMaintenance": { "enabled": true, "schedule": ["before 6am on monday"] },
1610
"packageRules": [
1711
{
12+
"description": "Hold all non-major Gradle updates for review — overrides the preset's automerge baseline. Delete this rule to adopt the preset's baseline (automerge minor/patch/digest after the soak).",
1813
"matchManagers": ["gradle", "gradle-wrapper"],
1914
"matchUpdateTypes": ["patch", "minor"],
2015
"automerge": false
@@ -26,23 +21,6 @@
2621
"Bumps the `org.meshtastic:protobufs` artifact (the wire schema). Review the regenerated API diff carefully — new `oneof` arms break exhaustive `when` for consumers; run `./gradlew updateKotlinAbi`. See `docs/versioning.md`."
2722
]
2823
},
29-
{
30-
"groupName": "kotlin",
31-
"matchPackageNames": [
32-
"/^org\\.jetbrains\\.kotlin/"
33-
]
34-
},
35-
{
36-
"description": "Hold Kotlin at the SKIE ceiling. SKIE 0.10.13 (latest) hard-rejects Kotlin > 2.4.0 at configuration time, killing every job (v0.1.0 prep: the 2.4.10 bump broke all of main). Raise this bound and the SKIE version together when SKIE releases support — check https://github.com/touchlab/SKIE/releases.",
37-
"matchPackageNames": ["/^org\\.jetbrains\\.kotlin[.:]/"],
38-
"allowedVersions": "<=2.4.0"
39-
},
40-
{
41-
"groupName": "ktor",
42-
"matchPackageNames": [
43-
"/^io\\.ktor/"
44-
]
45-
},
4624
{
4725
"groupName": "sqldelight",
4826
"matchPackageNames": [
@@ -60,13 +38,6 @@
6038
"matchPackageNames": [
6139
"/^com\\.squareup\\.wire/"
6240
]
63-
},
64-
{
65-
"groupName": "kotlinx",
66-
"matchPackageNames": [
67-
"/^org\\.jetbrains\\.kotlinx/"
68-
]
6941
}
70-
],
71-
"vulnerabilityAlerts": { "enabled": true, "labels": ["security"] }
42+
]
7243
}

0 commit comments

Comments
 (0)