Files
EhViewer/renovate.json
T
FooIbar 8c27504ee2 Update Rust nightly toolchain every ~6 weeks
Follow the stable release cycle.

[no ci]
2025-08-14 15:48:47 +08:00

99 lines
2.4 KiB
JSON

{
"automerge": true,
"extends": [
"config:base"
],
"ignorePaths": [
"app/build.gradle.kts"
],
"customManagers": [
{
"customType": "regex",
"managerFilePatterns": [
"/(^|/)CMakeLists\\.txt$/"
],
"matchStrings": [
"(?<depName>\\S*)\\s*GIT_REPOSITORY https://(?<datasource>.*?)\\.com/(?<packageName>.*?)\\.git\\s*GIT_TAG (?<currentValue>\\S*)"
],
"datasourceTemplate": "{{{datasource}}}-tags"
},
{
"customType": "regex",
"managerFilePatterns": [
"chrome.version"
],
"matchStrings": [
"(?<currentValue>\\S+)"
],
"depNameTemplate": "chrome",
"datasourceTemplate": "custom.chrome",
"extractVersionTemplate": "^(?<version>\\d+)"
},
{
"customType": "regex",
"managerFilePatterns": [
"rust-toolchain.toml"
],
"matchStrings": [
"channel = \"nightly-(?<currentValue>[^\"]+)\""
],
"versioningTemplate": "regex:^(?<major>\\d{4})-(?<minor>\\d{2})-(?<patch>\\d{2})$",
"datasourceTemplate": "custom.rust-nightly",
"depNameTemplate": "rust-nightly"
}
],
"customDatasources": {
"chrome": {
"defaultRegistryUrlTemplate": "https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_STABLE",
"format": "plain"
},
"rust-nightly": {
"defaultRegistryUrlTemplate": "https://rust-lang.github.io/rustup-components-history/aarch64-linux-android/rust-std",
"format": "plain"
}
},
"packageRules": [
{
"description": "Disable updates for SNAPSHOTs",
"matchDatasources": [
"maven"
],
"allowedVersions": "!/SNAPSHOT$/"
},
{
"groupName": "AGP",
"matchDepNames": [
"com.android.application",
"com.android.settings",
"com.android.test"
],
"allowedVersions": "/^[\\d.]+(-alpha\\d+)?$/"
},
{
"matchDepNames": [
"org.jetbrains.kotlinx:kotlinx-datetime"
],
"allowedVersions": "!/compat$/"
},
{
"matchDepNames": [
"nettle"
],
"versioning": "regex:^nettle_(?<major>\\d+)\\.(?<minor>\\d+)(?:\\.(?<patch>\\d+))?(?<prerelease>rc\\d+)?"
},
{
"matchDepNames": [
"rust-nightly"
],
"schedule": [
"* * 1 */3 *",
"* * 15 2-11/3 *"
]
}
],
"lockFileMaintenance": {
"enabled": true
},
"rangeStrategy": "replace"
}