mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-22 16:56:53 +00:00

* add bump_metainfo.py * bump org.meshtastic.meshtasticd.metainfo.xml on release * update bump-version job to trigger on published * use defusedxml.ElementTree parse * move bump_metainfo, use requirements.txt * add bin/bump_metainfo/requirements.txt to renovate * Switch to short version string * Bump version.properties to 2.6.6 * change version format * remove url * Add url back in * Update url format * manual add 2.6.6 * consolidate into one PR * update run steps * add ability to add date if missing * update pull request title * add comments * remove quote changes --------- Co-authored-by: Austin <vidplace7@gmail.com>
74 lines
2.9 KiB
JSON
74 lines
2.9 KiB
JSON
{
|
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
"extends": [
|
|
":dependencyDashboard",
|
|
":semanticCommitTypeAll(chore)",
|
|
":ignoreModulesAndTests",
|
|
"group:recommended",
|
|
"replacements:all",
|
|
"workarounds:all"
|
|
],
|
|
"forkProcessing": "enabled",
|
|
"ignoreDeps": ["protobufs"],
|
|
"git-submodules": {
|
|
"enabled": true
|
|
},
|
|
"pip_requirements": {
|
|
"fileMatch": ["bin/bump_metainfo/requirements.txt"]
|
|
},
|
|
"commitMessageTopic": "{{depName}}",
|
|
"labels": ["dependencies"],
|
|
"customDatasources": {
|
|
"pio": {
|
|
"description": "PlatformIO Registry",
|
|
"defaultRegistryUrlTemplate": "https://api.registry.platformio.org/v3/packages/{{packageName}}",
|
|
"format": "json",
|
|
"transformTemplates": [
|
|
"{\"releases\": [$map($.versions, function($v) { { \"version\": $v.name, \"releaseTimestamp\": $v.released_at } })], \"homepage\": $encodeUrl($join([\"https://registry.platformio.org/\",$.type,\"/\",$.owner.username,\"/\",$.name])) }"
|
|
]
|
|
}
|
|
},
|
|
"customManagers": [
|
|
{
|
|
"customType": "regex",
|
|
"description": "Match meshtastic/web version",
|
|
"fileMatch": ["bin/web.version"],
|
|
"matchStrings": ["(?<currentValue>.+)$"],
|
|
"datasourceTemplate": "github-releases",
|
|
"depNameTemplate": "meshtastic/web",
|
|
"versioningTemplate": "semver-coerced"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Match normal PIO dependencies",
|
|
"fileMatch": [".*\\.ini$"],
|
|
"matchStrings": [
|
|
"# renovate: datasource=(?<datasource>.*?)(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s+?.+?@(?<currentValue>.+?)\\s"
|
|
],
|
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Match PIO zipped dependencies with github tag ref",
|
|
"fileMatch": [".*\\.ini$"],
|
|
"matchStrings": [
|
|
"# renovate: datasource=github-tags(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\s+?https:\/\/.+?archive\/(?<currentValue>.+?).zip\\s"
|
|
],
|
|
"datasourceTemplate": "github-tags",
|
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}semver-coerced{{/if}}"
|
|
},
|
|
{
|
|
"customType": "regex",
|
|
"description": "Match PIO zipped dependencies with git commit ref",
|
|
"fileMatch": [".*\\.ini$"],
|
|
"matchStrings": [
|
|
"# renovate: datasource=git-refs(?: depName=(?<depName>.+?))? packageName=(?<packageName>.+?)(?: versioning=(?<versioning>[a-z-]+?))?\\sgitBranch=(?<gitBranch>.+?)\\s+?https:\/\/.+?archive\/(?<currentDigest>.+?).zip\\s"
|
|
],
|
|
"datasourceTemplate": "git-refs",
|
|
"currentValueTemplate": "{{{gitBranch}}}",
|
|
"versioningTemplate": "{{#if versioning}}{{{versioning}}}{{else}}git{{/if}}"
|
|
}
|
|
],
|
|
"packageRules": []
|
|
}
|