Skip to content

Commit ed03da2

Browse files
committed
bring back comments
1 parent 944f50a commit ed03da2

File tree

1 file changed

+33
-2
lines changed

1 file changed

+33
-2
lines changed

.github/renovate.json5

+33-2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
ignorePaths: [
99
'instrumentation/**',
1010
],
11+
// needed in order to get patch-only updates in package rules below
12+
// unfortunately you can't combine updateTypes and separateMinorPatch in the same package rule
13+
// so we have to apply it globally here, see
14+
// https://github.com/renovatebot/renovate/discussions/8399#discussioncomment-305798
1115
separateMinorPatch: true,
1216
packageRules: [
1317
{
@@ -19,7 +23,7 @@
1923
'schedule:weekly',
2024
],
2125
groupName: 'weekly update',
22-
separateMinorPatch: false,
26+
separateMinorPatch: false, // overrides separateMinorPatch specified above
2327
},
2428
{
2529
matchPackageNames: [
@@ -30,6 +34,10 @@
3034
'io.opentelemetry.proto:opentelemetry-proto',
3135
'io.opentelemetry.semconv:opentelemetry-semconv',
3236
],
37+
// Renovate's default behavior is only to update from unstable -> unstable if it's for the
38+
// major.minor.patch, under the assumption that you would want to update to the stable version
39+
// of that release instead of the unstable version for a future release
40+
// (TODO remove once the artifacts above release stable versions)
3341
ignoreUnstable: false,
3442
allowedVersions: '!/\\-SNAPSHOT$/',
3543
},
@@ -70,24 +78,28 @@
7078
],
7179
},
7280
{
81+
// prevent update to 2.4-groovy-4.0-SNAPSHOT
7382
allowedVersions: '!/\\-SNAPSHOT$/',
7483
matchPackageNames: [
7584
'org.spockframework:{/,}**',
7685
],
7786
},
7887
{
88+
// prevent 3.0.1u2 -> 3.0.1
7989
matchPackageNames: [
8090
'com.google.code.findbugs:annotations',
8191
],
8292
allowedVersions: '!/3\\.0\\.1$/',
8393
},
8494
{
95+
// OpenTelemetry SDK updates are handled by auto-update-otel-sdk.yml
8596
enabled: false,
8697
matchPackageNames: [
8798
'io.opentelemetry:{/,}**',
8899
],
89100
},
90101
{
102+
// junit-pioneer 2+ requires Java 11+
91103
matchPackageNames: [
92104
'org.junit-pioneer:junit-pioneer',
93105
],
@@ -97,6 +109,7 @@
97109
enabled: false,
98110
},
99111
{
112+
// mockito 5+ requires Java 11+
100113
matchUpdateTypes: [
101114
'major',
102115
],
@@ -106,6 +119,7 @@
106119
],
107120
},
108121
{
122+
// system-stubs-jupiter 2.1+ requires Java 11+
109123
matchPackageNames: [
110124
'uk.org.webcompere:system-stubs-jupiter',
111125
],
@@ -116,6 +130,9 @@
116130
enabled: false,
117131
},
118132
{
133+
// intentionally using Spring Boot 2 in this smoke tests
134+
// new versions of Spring Boot 3 are tested with
135+
// https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/dc4330e0a3060bd7d8c4090ad0b8fc4727e68113/settings.gradle.kts#L43-L45
119136
matchFileNames: [
120137
'smoke-tests/images/spring-boot/build.gradle.kts',
121138
'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts',
@@ -126,7 +143,7 @@
126143
],
127144
matchPackageNames: [
128145
'org.slf4j:slf4j-api',
129-
'org.springframework.boot:org.springframework.boot.gradle.plugin',
146+
'org.springframework.boot:org.springframework.boot.gradle.plugin', // this is for plugin id "org.springframework.boot"
130147
'org.springframework.boot:spring-boot-dependencies',
131148
],
132149
matchUpdateTypes: [
@@ -136,6 +153,7 @@
136153
enabled: false,
137154
},
138155
{
156+
// intentionally using Spring Boot 2 in this smoke tests
139157
matchFileNames: [
140158
'smoke-tests-otel-starter/spring-boot-2/build.gradle.kts',
141159
'smoke-tests-otel-starter/spring-boot-reactive-2/build.gradle.kts',
@@ -149,6 +167,7 @@
149167
enabled: false,
150168
},
151169
{
170+
// intentionally using logback 1.2 in this smoke tests
152171
matchFileNames: [
153172
'smoke-tests/images/spring-boot/build.gradle.kts',
154173
],
@@ -162,6 +181,7 @@
162181
],
163182
},
164183
{
184+
// intentionally using slf4j 1 in this smoke tests
165185
matchFileNames: [
166186
'smoke-tests/images/spring-boot/build.gradle.kts',
167187
],
@@ -174,6 +194,8 @@
174194
],
175195
},
176196
{
197+
// intentionally pinning specifically to guice 5 in the play smoke test
198+
// until we are able to test against the latest version of play
177199
matchFileNames: [
178200
'smoke-tests/images/play/build.gradle.kts',
179201
],
@@ -187,6 +209,7 @@
187209
],
188210
},
189211
{
212+
// intentionally aligning both netty 4.0 and 4.1 version in this convention
190213
matchFileNames: [
191214
'conventions/src/main/kotlin/otel.java-conventions.gradle.kts',
192215
],
@@ -200,6 +223,7 @@
200223
enabled: false,
201224
},
202225
{
226+
// intentionally using scala 2.11 in otel.scala-conventions.gradle.kts
203227
matchFileNames: [
204228
'conventions/src/main/kotlin/otel.scala-conventions.gradle.kts',
205229
],
@@ -213,6 +237,7 @@
213237
enabled: false,
214238
},
215239
{
240+
// intentionally using Java 11 in some examples
216241
matchPackageNames: [
217242
'eclipse-temurin',
218243
],
@@ -222,27 +247,31 @@
222247
enabled: false,
223248
},
224249
{
250+
// using old version of this obscure artifact to test instrumentation of Java 1.1 bytecode
225251
matchPackageNames: [
226252
'net.sf.jt400:jt400',
227253
],
228254
matchCurrentVersion: '6.1',
229255
enabled: false,
230256
},
231257
{
258+
// pinned version for compatibility
232259
matchPackageNames: [
233260
'javax.servlet:javax.servlet-api',
234261
],
235262
matchCurrentVersion: '3.0.1',
236263
enabled: false,
237264
},
238265
{
266+
// pinned version for compatibility
239267
matchPackageNames: [
240268
'jakarta.servlet:jakarta.servlet-api',
241269
],
242270
matchCurrentVersion: '5.0.0',
243271
enabled: false,
244272
},
245273
{
274+
// intentionally using logback 1.3 in dependency management (for Java 8 support)
246275
matchFileNames: [
247276
'dependencyManagement/build.gradle.kts',
248277
],
@@ -256,6 +285,7 @@
256285
],
257286
},
258287
{
288+
// intentionally using Spring Boot 2 in dependency management (for Java 8 support)
259289
matchFileNames: [
260290
'dependencyManagement/build.gradle.kts',
261291
],
@@ -268,6 +298,7 @@
268298
],
269299
},
270300
{
301+
// pinned version to Jetty 8 (Servlet 3.0) for compatibility
271302
matchFileNames: [
272303
'examples/distro/instrumentation/servlet-3/build.gradle',
273304
],

0 commit comments

Comments
 (0)