fork/cargo

git clone https://git.julia.blue/fork/cargo

Ed Pagechore: bump openssl to v3 (#15232)2dcb9b03c

0.88.0
3.0 KiB122 linesraw
1{
2  schedule: [
3    'before 5am on the first day of the month',
4  ],
5  semanticCommits: 'enabled',
6  configMigration: true,
7  dependencyDashboard: true,
8  ignorePaths: [
9    '**/tests/**',
10  ],
11  customManagers: [
12    {
13      customType: 'regex',
14      fileMatch: [
15        'Cargo.toml$',
16      ],
17      matchStrings: [
18        '\\bMSRV:1\\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
19        '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\\bMSRV:1\\b',
20      ],
21      depNameTemplate: 'MSRV:1',  // Support 1 version of rustc
22      packageNameTemplate: 'rust-lang/rust',
23      datasourceTemplate: 'github-releases',
24    },
25    {
26      customType: 'regex',
27      fileMatch: [
28        'Cargo.toml$',
29      ],
30      matchStrings: [
31        '\\bMSRV:3\\b.*?(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
32        '(?<currentValue>\\d+\\.\\d+(\\.\\d+)?).*?\\bMSRV:3\\b',
33      ],
34      depNameTemplate: 'MSRV:3',  // Support 3 versions of rustc
35      packageNameTemplate: 'rust-lang/rust',
36      datasourceTemplate: 'github-releases',
37    },
38    {
39      customType: 'regex',
40      fileMatch: [
41        '^.github.workflows.main.yml$',
42      ],
43      matchStrings: [
44        'cargo-semver-checks.releases.download.v(?<currentValue>\\d+\\.\\d+(\\.\\d+)?)',
45      ],
46      depNameTemplate: 'cargo-semver-checks',
47      packageNameTemplate: 'obi1kenobi/cargo-semver-checks',
48      datasourceTemplate: 'github-releases',
49    },
50  ],
51  packageRules: [
52    {
53      commitMessageTopic: 'MSRV (1 version)',
54      matchManagers: [
55        'custom.regex',
56      ],
57      matchDepNames: [
58        'MSRV:1',
59      ],
60      extractVersion: '^(?<version>\\d+\\.\\d+)',  // Drop the patch version
61      schedule: [
62        '* * * * *',
63      ],
64      groupName: 'msrv',
65    },
66    {
67      commitMessageTopic: 'MSRV (3 versions)',
68      matchManagers: [
69        'custom.regex',
70      ],
71      matchDepNames: [
72        'MSRV:3',
73      ],
74      extractVersion: '^(?<version>\\d+\\.\\d+)',  // Drop the patch version
75      schedule: [
76        '* * * * *',
77      ],
78      minimumReleaseAge: '85 days',  // 2 releases back * 6 weeks per release * 7 days per week + 1
79      internalChecksFilter: 'strict',
80      groupName: 'msrv',
81    },
82    {
83      commitMessageTopic: 'cargo-semver-checks',
84      matchManagers: [
85        'custom.regex',
86      ],
87      matchDepNames: [
88        'cargo-semver-checks',
89      ],
90      extractVersion: '^v(?<version>\\d+\\.\\d+\\.\\d+)',
91      schedule: [
92        '* * * * *',
93      ],
94      internalChecksFilter: 'strict',
95    },
96    // Goals:
97    // - Rollup safe upgrades to reduce CI runner load
98    // - Have lockfile and manifest in-sync (implicit rules)
99    {
100      matchManagers: [
101        'cargo',
102      ],
103      matchCurrentVersion: '>=0.1.0',
104      matchUpdateTypes: [
105        'patch',
106      ],
107      automerge: false,
108      groupName: 'compatible',
109    },
110    {
111      matchManagers: [
112        'cargo',
113      ],
114      matchCurrentVersion: '>=1.0.0',
115      matchUpdateTypes: [
116        'minor',
117      ],
118      automerge: false,
119      groupName: 'compatible',
120    },
121  ],
122}