fork/cargo

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

Weihang LoDowngrade curl-sys to 0.4.83 (#16379)c55b3bcb5

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