diff --git a/renovate.json b/renovate.json index e37f3afd3..57bb6fa36 100644 --- a/renovate.json +++ b/renovate.json @@ -9,8 +9,8 @@ "customManagers": [ { "customType": "regex", - "fileMatch": [ - "(^|/)CMakeLists\\.txt$" + "managerFilePatterns": [ + "/(^|/)CMakeLists\\.txt$/" ], "matchStrings": [ "(?\\S*)\\s*GIT_REPOSITORY https://(?.*?)\\.com/(?.*?)\\.git\\s*GIT_TAG (?\\S*)" @@ -19,8 +19,8 @@ }, { "customType": "regex", - "fileMatch": [ - "^chrome.version$" + "managerFilePatterns": [ + "chrome.version" ], "matchStrings": [ "(?\\S+)" @@ -28,12 +28,28 @@ "depNameTemplate": "chrome", "datasourceTemplate": "custom.chrome", "extractVersionTemplate": "^(?\\d+)" + }, + { + "customType": "regex", + "managerFilePatterns": [ + "rust-toolchain.toml" + ], + "matchStrings": [ + "channel = \"nightly-(?[^\"]+)\"" + ], + "versioningTemplate": "regex:^(?\\d{4})-(?\\d{2})-(?\\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": [ @@ -64,6 +80,15 @@ "nettle" ], "versioning": "regex:^nettle_(?\\d+)\\.(?\\d+)(?:\\.(?\\d+))?(?rc\\d+)?" + }, + { + "matchDepNames": [ + "rust-nightly" + ], + "schedule": [ + "* * 1 */3 *", + "* * 15 2-11/3 *" + ] } ], "lockFileMaintenance": {