|
1 | 1 | { |
2 | 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json", |
3 | | - "extends": [ |
4 | | - "config:recommended", |
5 | | - ":semanticCommitsDisabled" |
6 | | - ], |
| 3 | + "extends": ["config:recommended", ":semanticCommitsDisabled"], |
7 | 4 | "prHourlyLimit": 0, |
8 | 5 | "prConcurrentLimit": 0, |
9 | | - "postUpdateOptions": [ |
10 | | - "yarnDedupeHighest" |
11 | | - ], |
| 6 | + "postUpdateOptions": ["yarnDedupeHighest"], |
12 | 7 | "packageRules": [ |
13 | 8 | { |
14 | | - "matchDatasources": [ |
15 | | - "npm" |
16 | | - ], |
17 | | - "addLabels": [ |
18 | | - "javascript" |
19 | | - ], |
| 9 | + "matchDatasources": ["npm"], |
| 10 | + "addLabels": ["javascript"], |
20 | 11 | "minimumReleaseAge": "3 days", |
21 | | - "reviewers": [ |
22 | | - "team:sig-ux" |
23 | | - ] |
| 12 | + "reviewers": ["team:sig-ux"] |
24 | 13 | }, |
25 | 14 | { |
26 | 15 | "description": "Should be upgraded in lockstep in order to keep their corresponding Jetty versions aligned", |
27 | | - "matchManagers": [ |
28 | | - "maven" |
29 | | - ], |
| 16 | + "matchManagers": ["maven"], |
30 | 17 | "groupName": "Winstone and Jetty", |
31 | 18 | "matchPackageNames": [ |
32 | 19 | "org.eclipse.jetty.ee9:jetty-ee9-maven-plugin", |
|
35 | 22 | }, |
36 | 23 | { |
37 | 24 | "description": "Provided by Jetty and should be aligned with the version provided by the version of Jetty we deliver. See: https://github.com/jenkinsci/jenkins/pull/5211", |
38 | | - "matchManagers": [ |
39 | | - "maven" |
40 | | - ], |
| 25 | + "matchManagers": ["maven"], |
41 | 26 | "enabled": false, |
42 | 27 | "matchPackageNames": [ |
43 | 28 | "jakarta.servlet:jakarta.servlet-api", |
|
46 | 31 | }, |
47 | 32 | { |
48 | 33 | "description": "Needs significant testing. See: https://github.com/jenkinsci/jenkins/pull/5112#issuecomment-744429487 and https://github.com/jenkinsci/jenkins/pull/5116#issuecomment-744526638", |
49 | | - "matchManagers": [ |
50 | | - "maven" |
51 | | - ], |
| 34 | + "matchManagers": ["maven"], |
52 | 35 | "allowedVersions": "<2.5.0", |
53 | | - "matchPackageNames": [ |
54 | | - "org.codehaus.groovy:groovy-all" |
55 | | - ] |
| 36 | + "matchPackageNames": ["org.codehaus.groovy:groovy-all"] |
56 | 37 | }, |
57 | 38 | { |
58 | 39 | "description": "Consumed by Groovy and should be updated in lockstep with Groovy. See: https://github.com/jenkinsci/jenkins/pull/5184", |
59 | | - "matchManagers": [ |
60 | | - "maven" |
61 | | - ], |
| 40 | + "matchManagers": ["maven"], |
62 | 41 | "enabled": false, |
63 | | - "matchPackageNames": [ |
64 | | - "org.fusesource.jansi:jansi" |
65 | | - ] |
| 42 | + "matchPackageNames": ["org.fusesource.jansi:jansi"] |
66 | 43 | }, |
67 | 44 | { |
68 | 45 | "description": "Contains incompatible API changes and needs compatibility work. See: https://github.com/jenkinsci/jenkins/pull/4224", |
69 | | - "matchManagers": [ |
70 | | - "maven" |
71 | | - ], |
| 46 | + "matchManagers": ["maven"], |
72 | 47 | "enabled": false, |
73 | | - "matchPackageNames": [ |
74 | | - "org.jfree:jfreechart" |
75 | | - ] |
| 48 | + "matchPackageNames": ["org.jfree:jfreechart"] |
76 | 49 | }, |
77 | 50 | { |
78 | 51 | "description": "Starting with 7.x, Guice switches from javax.* to jakarta.* bindings. See https://github.com/google/guice/wiki/Guice700", |
79 | | - "matchManagers": [ |
80 | | - "maven" |
81 | | - ], |
| 52 | + "matchManagers": ["maven"], |
82 | 53 | "allowedVersions": "<7.0.0", |
83 | | - "matchPackageNames": [ |
84 | | - "com.google.inject:guice-bom" |
85 | | - ] |
| 54 | + "matchPackageNames": ["com.google.inject:guice-bom"] |
86 | 55 | }, |
87 | 56 | { |
88 | | - "matchFileNames": [ |
89 | | - "core/pom.xml", |
90 | | - "test/pom.xml", |
91 | | - "war/pom.xml" |
92 | | - ], |
93 | | - "matchPackageNames": [ |
94 | | - "org.jenkins-ci.main:remoting" |
95 | | - ], |
| 57 | + "matchFileNames": ["core/pom.xml", "test/pom.xml", "war/pom.xml"], |
| 58 | + "matchPackageNames": ["org.jenkins-ci.main:remoting"], |
96 | 59 | "description": "Avoid updating the remoting.minimum.supported.version property but still update latest one by not placing this property in the parent pom.xml", |
97 | 60 | "enabled": false |
98 | 61 | }, |
99 | 62 | { |
100 | | - "matchPackageNames": [ |
101 | | - "net.jcip:jcip-annotations" |
102 | | - ], |
103 | | - "matchDatasources": [ |
104 | | - "maven" |
105 | | - ], |
| 63 | + "matchPackageNames": ["net.jcip:jcip-annotations"], |
| 64 | + "matchDatasources": ["maven"], |
106 | 65 | "enabled": false, |
107 | 66 | "description": "maven-metadata.xml is missing for this really old package which is required by renovate" |
108 | 67 | } |
109 | 68 | ], |
110 | 69 | "customManagers": [ |
111 | 70 | { |
112 | 71 | "customType": "regex", |
113 | | - "fileMatch": [ |
114 | | - "pom.xml" |
115 | | - ], |
116 | | - "matchStrings": [ |
117 | | - "<node.version>(?<currentValue>.*?)</node.version>" |
118 | | - ], |
| 72 | + "managerFilePatterns": ["/pom.xml/"], |
| 73 | + "matchStrings": ["<node.version>(?<currentValue>.*?)</node.version>"], |
119 | 74 | "depNameTemplate": "node", |
120 | 75 | "datasourceTemplate": "node-version" |
121 | 76 | }, |
122 | 77 | { |
123 | 78 | "customType": "regex", |
124 | | - "fileMatch": [ |
125 | | - "ath.sh" |
126 | | - ], |
127 | | - "matchStrings": [ |
128 | | - "export ATH_VERSION=(?<currentValue>.*?)\n" |
129 | | - ], |
| 79 | + "managerFilePatterns": ["/ath.sh/"], |
| 80 | + "matchStrings": ["export ATH_VERSION=(?<currentValue>.*?)\n"], |
130 | 81 | "depNameTemplate": "jenkins/ath", |
131 | 82 | "datasourceTemplate": "docker", |
132 | 83 | "versioningTemplate": "loose" |
133 | 84 | }, |
134 | 85 | { |
135 | 86 | "customType": "regex", |
136 | | - "fileMatch": [ |
137 | | - ".gitpod/Dockerfile" |
138 | | - ], |
139 | | - "matchStrings": [ |
140 | | - "ARG MAVEN_VERSION=(?<currentValue>.*?)\n" |
141 | | - ], |
| 87 | + "managerFilePatterns": ["/.gitpod/Dockerfile/"], |
| 88 | + "matchStrings": ["ARG MAVEN_VERSION=(?<currentValue>.*?)\n"], |
142 | 89 | "depNameTemplate": "org.apache.maven:maven-core", |
143 | 90 | "datasourceTemplate": "maven" |
144 | 91 | }, |
145 | 92 | { |
146 | 93 | "customType": "regex", |
147 | | - "fileMatch": [ |
148 | | - "core/src/site/site.xml" |
149 | | - ], |
150 | | - "matchStrings": [ |
151 | | - "lit@(?<currentValue>.*?)/" |
152 | | - ], |
| 94 | + "managerFilePatterns": ["/core/src/site/site.xml/"], |
| 95 | + "matchStrings": ["lit@(?<currentValue>.*?)/"], |
153 | 96 | "depNameTemplate": "lit", |
154 | 97 | "datasourceTemplate": "npm" |
155 | 98 | }, |
156 | 99 | { |
157 | 100 | "customType": "regex", |
158 | | - "fileMatch": [ |
159 | | - "core/src/site/site.xml" |
160 | | - ], |
161 | | - "matchStrings": [ |
162 | | - "webcomponentsjs@(?<currentValue>.*?)/" |
163 | | - ], |
| 101 | + "managerFilePatterns": ["/core/src/site/site.xml/"], |
| 102 | + "matchStrings": ["webcomponentsjs@(?<currentValue>.*?)/"], |
164 | 103 | "depNameTemplate": "@webcomponents/webcomponentsjs", |
165 | 104 | "datasourceTemplate": "npm" |
166 | 105 | }, |
167 | 106 | { |
168 | 107 | "customType": "regex", |
169 | | - "fileMatch": [ |
170 | | - "core/src/site/site.xml" |
171 | | - ], |
172 | | - "matchStrings": [ |
173 | | - "<version>(?<currentValue>.*?)</version>" |
174 | | - ], |
| 108 | + "managerFilePatterns": ["/core/src/site/site.xml/"], |
| 109 | + "matchStrings": ["<version>(?<currentValue>.*?)</version>"], |
175 | 110 | "depNameTemplate": "org.apache.maven.skins:maven-fluido-skin", |
176 | 111 | "datasourceTemplate": "maven" |
177 | 112 | } |
178 | 113 | ], |
179 | | - "labels": [ |
180 | | - "dependencies", |
181 | | - "skip-changelog" |
182 | | - ], |
| 114 | + "labels": ["dependencies", "skip-changelog"], |
183 | 115 | "rebaseWhen": "conflicted", |
184 | 116 | "ignorePaths": [ |
185 | 117 | "**/node_modules/**", |
|
0 commit comments