|
21 | 21 | 'MSRV.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)', |
22 | 22 | '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?MSRV', |
23 | 23 | ], |
24 | | - depNameTemplate: 'rust', |
| 24 | + depNameTemplate: 'MSRV', |
| 25 | + packageNameTemplate: 'rust-lang/rust', |
| 26 | + datasourceTemplate: 'github-releases', |
| 27 | + }, |
| 28 | + { |
| 29 | + customType: 'regex', |
| 30 | + fileMatch: [ |
| 31 | + '^rust-toolchain\\.toml$', |
| 32 | + 'Cargo.toml$', |
| 33 | + 'clippy.toml$', |
| 34 | + '\\.clippy.toml$', |
| 35 | + '^\\.github/workflows/ci.yml$', |
| 36 | + '^\\.github/workflows/rust-next.yml$', |
| 37 | + ], |
| 38 | + matchStrings: [ |
| 39 | + 'STABLE.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)', |
| 40 | + '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?STABLE', |
| 41 | + ], |
| 42 | + depNameTemplate: 'STABLE', |
25 | 43 | packageNameTemplate: 'rust-lang/rust', |
26 | 44 | datasourceTemplate: 'github-releases', |
27 | 45 | }, |
|
33 | 51 | 'custom.regex', |
34 | 52 | ], |
35 | 53 | matchPackageNames: [ |
36 | | - 'rust', |
| 54 | + 'MSRV', |
37 | 55 | ], |
38 | 56 | minimumReleaseAge: '336 days', // 8 releases * 6 weeks per release * 7 days per week |
39 | 57 | internalChecksFilter: 'strict', |
40 | 58 | extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version |
41 | 59 | schedule: [ |
42 | 60 | '* * * * *', |
43 | 61 | ], |
| 62 | + groupName: 'rust-version', |
| 63 | + }, |
| 64 | + { |
| 65 | + commitMessageTopic: 'STABLE', |
| 66 | + matchManagers: [ |
| 67 | + 'custom.regex', |
| 68 | + ], |
| 69 | + matchPackageNames: [ |
| 70 | + 'STABLE', |
| 71 | + ], |
| 72 | + extractVersion: '^(?<version>\\d+\\.\\d+)', // Drop the patch version |
| 73 | + schedule: [ |
| 74 | + '* * * * *', |
| 75 | + ], |
| 76 | + groupName: 'rust-version', |
44 | 77 | }, |
45 | 78 | // Goals: |
46 | 79 | // - Keep version reqs low, ignoring compatible normal/build dependencies |
|
0 commit comments