From 8c27504ee2a06fb70a884dbbcf1ea1ea275603df Mon Sep 17 00:00:00 2001 From: FooIbar <118464521+FooIbar@users.noreply.github.com> Date: Thu, 14 Aug 2025 15:48:47 +0800 Subject: [PATCH] Update Rust nightly toolchain every ~6 weeks Follow the stable release cycle. [no ci] --- renovate.json | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) 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": {