fork/cargo

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

Eric Husschore: downgrade to libc@0.2.174 (#15918)c50bb1860

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