chore(config): migrate renovate config (#6784)

* chore(config): migrate config renovate.json

* Prettier: Ignore renovate

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: vidplace7 <vidplace7@gmail.com>
This commit is contained in:
renovate[bot] 2025-05-10 11:49:01 -04:00 committed by GitHub
parent c2a38357f1
commit 23fe093a65
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 33 additions and 12 deletions

View File

@ -0,0 +1 @@
renovate.json

View File

@ -9,15 +9,21 @@
"workarounds:all" "workarounds:all"
], ],
"forkProcessing": "enabled", "forkProcessing": "enabled",
"ignoreDeps": ["protobufs"], "ignoreDeps": [
"protobufs"
],
"git-submodules": { "git-submodules": {
"enabled": true "enabled": true
}, },
"pip_requirements": { "pip_requirements": {
"fileMatch": ["bin/bump_metainfo/requirements.txt"] "managerFilePatterns": [
"/bin/bump_metainfo/requirements.txt/"
]
}, },
"commitMessageTopic": "{{depName}}", "commitMessageTopic": "{{depName}}",
"labels": ["dependencies"], "labels": [
"dependencies"
],
"customDatasources": { "customDatasources": {
"pio": { "pio": {
"description": "PlatformIO Registry", "description": "PlatformIO Registry",
@ -32,8 +38,12 @@
{ {
"customType": "regex", "customType": "regex",
"description": "Match meshtastic/web version", "description": "Match meshtastic/web version",
"fileMatch": ["bin/web.version"], "managerFilePatterns": [
"matchStrings": ["(?<currentValue>.+)$"], "/bin/web.version/"
],
"matchStrings": [
"(?<currentValue>.+)$"
],
"datasourceTemplate": "github-releases", "datasourceTemplate": "github-releases",
"depNameTemplate": "meshtastic/web", "depNameTemplate": "meshtastic/web",
"versioningTemplate": "semver-coerced" "versioningTemplate": "semver-coerced"
@ -41,7 +51,9 @@
{ {
"customType": "regex", "customType": "regex",
"description": "Match normal PIO dependencies", "description": "Match normal PIO dependencies",
"fileMatch": [".*\\.ini$"], "managerFilePatterns": [
"/.*\\.ini$/"
],
"matchStrings": [ "matchStrings": [
"# renovate: datasource=(?<datasource>.*?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s+?.+?@(?<currentValue>.+?)\\s" "# renovate: datasource=(?<datasource>.*?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s+?.+?@(?<currentValue>.+?)\\s"
], ],
@ -50,9 +62,11 @@
{ {
"customType": "regex", "customType": "regex",
"description": "Match PIO zipped dependencies with github tag ref", "description": "Match PIO zipped dependencies with github tag ref",
"fileMatch": [".*\\.ini$"], "managerFilePatterns": [
"/.*\\.ini$/"
],
"matchStrings": [ "matchStrings": [
"# renovate: datasource=github-tags(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s+?https:\/\/.+?archive\/(?<currentValue>.+?).zip\\s" "# renovate: datasource=github-tags(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s+?https://.+?archive/(?<currentValue>.+?).zip\\s"
], ],
"datasourceTemplate": "github-tags", "datasourceTemplate": "github-tags",
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}" "versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}"
@ -60,9 +74,11 @@
{ {
"customType": "regex", "customType": "regex",
"description": "Match PIO zipped dependencies with git commit ref", "description": "Match PIO zipped dependencies with git commit ref",
"fileMatch": [".*\\.ini$"], "managerFilePatterns": [
"/.*\\.ini$/"
],
"matchStrings": [ "matchStrings": [
"# renovate: datasource=git-refs(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\sgitBranch=(?<gitBranch>.+?)\\s+?https:\/\/.+?archive\/(?<currentDigest>.+?).zip\\s" "# renovate: datasource=git-refs(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\sgitBranch=(?<gitBranch>.+?)\\s+?https://.+?archive/(?<currentDigest>.+?).zip\\s"
], ],
"datasourceTemplate": "git-refs", "datasourceTemplate": "git-refs",
"currentValueTemplate": "{{{gitBranch}}}", "currentValueTemplate": "{{{gitBranch}}}",
@ -71,8 +87,12 @@
], ],
"packageRules": [ "packageRules": [
{ {
"matchDepNames": ["meshtastic/device-ui"], "matchDepNames": [
"reviewers": ["mverch67"], "meshtastic/device-ui"
],
"reviewers": [
"mverch67"
],
"changelogUrl": "https://github.com/meshtastic/device-ui/compare/{{currentDigest}}...{{newDigest}}" "changelogUrl": "https://github.com/meshtastic/device-ui/compare/{{currentDigest}}...{{newDigest}}"
} }
] ]