summaryrefslogtreecommitdiffstats
path: root/src/tools/cargo/.github/renovate.json5
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cargo/.github/renovate.json5')
-rw-r--r--src/tools/cargo/.github/renovate.json540
1 files changed, 35 insertions, 5 deletions
diff --git a/src/tools/cargo/.github/renovate.json5 b/src/tools/cargo/.github/renovate.json5
index b633fc245..03e6d8da8 100644
--- a/src/tools/cargo/.github/renovate.json5
+++ b/src/tools/cargo/.github/renovate.json5
@@ -12,29 +12,59 @@
{
customType: 'regex',
fileMatch: [
- '^Cargo.toml$',
+ 'Cargo.toml$',
],
matchStrings: [
- 'rust-version.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
+ '\bMSRV:1\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
+ '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\bMSRV:1\b',
],
- depNameTemplate: 'latest-msrv',
+ depNameTemplate: 'MSRV:1', // Support 1 version of rustc
+ packageNameTemplate: 'rust-lang/rust',
+ datasourceTemplate: 'github-releases',
+ },
+ {
+ customType: 'regex',
+ fileMatch: [
+ 'Cargo.toml$',
+ ],
+ matchStrings: [
+ '\bMSRV:3\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
+ '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\bMSRV:3\b',
+ ],
+ depNameTemplate: 'MSRV:3', // Support 3 versions of rustc
packageNameTemplate: 'rust-lang/rust',
datasourceTemplate: 'github-releases',
},
],
packageRules: [
{
- commitMessageTopic: 'Latest MSRV',
+ commitMessageTopic: 'MSRV (1 version)',
+ matchManagers: [
+ 'regex',
+ ],
+ matchPackageNames: [
+ 'MSRV:1',
+ ],
+ schedule: [
+ '* * * * *',
+ ],
+ groupName: 'msrv',
+ },
+ {
+ commitMessageTopic: 'MSRV (3 versions)',
matchManagers: [
'regex',
],
matchPackageNames: [
- 'latest-msrv',
+ 'MSRV:3',
],
"extractVersion": "^(?<version>\\d+\\.\\d+)", // Drop the patch version
schedule: [
'* * * * *',
],
+ minimumReleaseAge: '85 days', // 2 releases back * 6 weeks per release * 7 days per week + 1
+ internalChecksFilter: 'strict',
+ groupName: 'msrv',
},
// Goals:
// - Rollup safe upgrades to reduce CI runner load