Skip to content

Commit 87fbf51

Browse files
committed
Merge remote-tracking branch 'upstream/main' into ubi
2 parents 1762cdd + 1869a60 commit 87fbf51

3,473 files changed

Lines changed: 109662 additions & 81676 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.asf.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ github:
3434
branch_9_8: {}
3535
branch_9_9: {}
3636
branch_9_10: {}
37+
branch_9_11: {}
3738
branch_9x: {}
3839

3940
protected_tags:
@@ -45,6 +46,12 @@ github:
4546
collaborators:
4647
- solrbot
4748

49+
# We use Renovate (solrbot) as our sole dependency-update bot; Dependabot's version/security
50+
# update PRs duplicate what Renovate already opens (e.g. #4737 duplicating #4590). Keep
51+
# dependabot_alerts on for Security-tab vulnerability visibility.
52+
dependabot_alerts: true
53+
dependabot_updates: false
54+
4855
notifications:
4956
commits: commits@solr.apache.org
5057
issues: issues@solr.apache.org

‎.editorconfig‎

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ ij_java_generate_final_locals = false
157157
ij_java_generate_final_parameters = false
158158
ij_java_generate_use_type_annotation_before_type = true
159159
ij_java_if_brace_force = never
160-
ij_java_imports_layout = @*,$*,|,*
160+
ij_java_imports_layout = @*, $*, |, *
161161
ij_java_indent_case_from_switch = true
162162
ij_java_insert_inner_class_imports = false
163163
ij_java_insert_override_annotation = true
@@ -349,7 +349,6 @@ ij_java_wrap_long_lines = true
349349
ij_java_wrap_semicolon_after_call_chain = false
350350

351351
[{*.kt,*.kts}]
352-
indent_size = 4
353352
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
354353

355354
# Disable wildcard imports entirely
@@ -360,7 +359,7 @@ ij_kotlin_packages_to_use_import_on_demand = unset
360359
ktlint_code_style = intellij_idea
361360
ktlint_function_naming_ignore_when_annotated_with = Composable
362361
compose_allowed_composition_locals = LocalExtendedColorScheme, LocalExtendedTypography
363-
ij_kotlin_imports_layout=*,^
362+
ij_kotlin_imports_layout = *, ^
364363

365364
[*.adoc]
366365
indent_size = 4
@@ -473,7 +472,7 @@ ij_groovy_ginq_on_wrap_policy = 1
473472
ij_groovy_ginq_space_after_keyword = true
474473
ij_groovy_if_brace_force = never
475474
ij_groovy_import_annotation_wrap = 2
476-
ij_groovy_imports_layout = @*,$*,|,*
475+
ij_groovy_imports_layout = @*, $*, |, *
477476
ij_groovy_indent_case_from_switch = true
478477
ij_groovy_indent_label_blocks = true
479478
ij_groovy_insert_inner_class_imports = false

‎.gitattributes‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,8 @@ versions.lock text eol=lf
44

55
# Gradle files are always in LF.
66
*.gradle text eol=lf
7+
8+
# Exclude from source release tarball (git archive). Avoids ASF license header requirements.
9+
/.* export-ignore
10+
/dev-docs export-ignore
11+
AGENTS.md export-ignore

‎.github/actions/prepare-for-build/action.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ runs:
2626
java-package: jdk
2727

2828
- name: Cache gradle-wrapper.jar
29-
uses: actions/cache@v4
29+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3030
with:
3131
path: gradle/wrapper/gradle-wrapper.jar
3232
key: gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.jar.sha256') }}
3333

3434
# This includes "smart" caching of gradle dependencies.
3535
- name: Set up Gradle
36-
uses: gradle/actions/setup-gradle@v4
36+
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5.0.2
3737
with:
3838
# increase expiry time for the temp. develocity token.
3939
# https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#increasing-the-expiry-time-for-develocity-access-tokens

‎.github/labeler.yml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,16 @@ module:clustering:
109109
- any-glob-to-any-file:
110110
- solr/modules/clustering/**
111111

112+
module:cross-dc:
113+
- changed-files:
114+
- any-glob-to-any-file:
115+
- solr/modules/cross-dc/**
116+
117+
module:cuvs:
118+
- changed-files:
119+
- any-glob-to-any-file:
120+
- solr/modules/cuvs/**
121+
112122
module:extraction:
113123
- changed-files:
114124
- any-glob-to-any-file:
@@ -129,6 +139,11 @@ module:langid:
129139
- any-glob-to-any-file:
130140
- solr/modules/langid/**
131141

142+
module:language-models:
143+
- changed-files:
144+
- any-glob-to-any-file:
145+
- solr/modules/language-models/**
146+
132147
module:ltr:
133148
- changed-files:
134149
- any-glob-to-any-file:

‎.github/renovate.json‎

Lines changed: 121 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"./gradlew kotlinUpgradeYarnLock",
1414
"./gradlew updateLicenses"
1515
],
16-
"fileFilters": ["solr/licenses/*.sha1"],
16+
"fileFilters": ["solr/licenses/*.sha1", "**/gradle.lockfile", "settings-gradle.lockfile"],
1717
"executionMode": "branch"
1818
},
1919
"packageRules": [
@@ -28,46 +28,141 @@
2828
"versioning": "regex:^(?<major>\\d{1,4})\\.(?<minor>\\d+)(\\.(?<patch>\\d+))?$"
2929
},
3030
{
31-
"description": "Group these calcite dependency upgrades together in same PR",
32-
"matchPackagePrefixes": ["org.apache.calcite"],
33-
"groupName": "org.apache.calcite"
31+
"description": "Byte Buddy publishes a -jdk5 backport variant alongside each release (e.g. 1.18.10-jdk5). Ignore those so we track the mainline versions (e.g. 1.18.10).",
32+
"matchPackagePrefixes": ["net.bytebuddy"],
33+
"allowedVersions": "!/-jdk5$/"
3434
},
3535
{
36-
"description": "Group these httpcomponents dependency upgrades together in same PR",
37-
"matchPackagePrefixes": ["org.apache.httpcomponents"],
38-
"groupName": "org.apache.httpcomponents"
36+
"description": "CATCH-ALL: bundle all remaining minor/patch bumps of otherwise-ungrouped libraries into one PR to cut churn. Major bumps are intentionally NOT grouped here - they stay as individual PRs. The test bucket and the logical groups below override this for their packages.",
37+
"matchManagers": ["gradle"],
38+
"matchUpdateTypes": ["minor", "patch"],
39+
"groupName": "all non-major dependencies"
3940
},
4041
{
41-
"description": "Test-dependencies are checked less often than the shipped deps",
42+
"description": "CATCH-ALL for test-only deps: bundle their minor/patch bumps separately from shipped deps. Major bumps stay individual.",
43+
"matchManagers": ["gradle"],
4244
"matchDepTypes": ["test"],
43-
"schedule": ["before 9am on the first day of the month"]
45+
"matchUpdateTypes": ["minor", "patch"],
46+
"groupName": "all non-major test dependencies"
47+
},
48+
{
49+
"description": "Admin UI (Kotlin Multiplatform / Compose stack in solr/ui) - compose, androidx, kotlin(x), decompose/essenty/mvikotlin, ktor and kotlin-logging all move together. The Compose compiler plugin is version-locked to the Kotlin release.",
50+
"matchPackagePrefixes": [
51+
"org.jetbrains.kotlin",
52+
"org.jetbrains.compose",
53+
"org.jetbrains.androidx",
54+
"com.arkivanov",
55+
"io.ktor",
56+
"io.github.oshai"
57+
],
58+
"groupName": "Admin UI"
59+
},
60+
{
61+
"description": "Web/server stack - Jetty servlet container, the Jakarta EE APIs, and the Jersey (JAX-RS) impl with its HK2 DI. solr/core wires jersey-container-jetty-http + jersey-inject-hk2 + jakarta APIs onto Jetty, so they must stay compatible.",
62+
"matchPackagePrefixes": [
63+
"org.eclipse.jetty",
64+
"jakarta.",
65+
"org.glassfish.jersey",
66+
"org.glassfish.hk2"
67+
],
68+
"groupName": "Web server stack"
69+
},
70+
{
71+
"description": "gRPC / Netty / protobuf transport stack - grpc-netty uses Netty as its transport and grpc-protobuf uses protobuf. Shared by both the OpenTelemetry OTLP exporter and the GCS client, so it is its own group rather than owned by either.",
72+
"matchPackagePrefixes": [
73+
"io.grpc",
74+
"io.netty",
75+
"com.google.protobuf"
76+
],
77+
"groupName": "gRPC and Netty"
78+
},
79+
{
80+
"description": "Telemetry - OpenTelemetry API/SDK/exporters/instrumentation plus the Prometheus metrics libraries it exports to (solr/core uses otel-exporter-prometheus with prometheus-metrics-*).",
81+
"matchPackagePrefixes": [
82+
"io.opentelemetry",
83+
"io.prometheus"
84+
],
85+
"groupName": "Telemetry (OpenTelemetry & Prometheus)"
86+
},
87+
{
88+
"description": "Error Prone (error_prone_core + error_prone_annotations) is grouped on its own because compiler-check upgrades routinely surface new bug patterns that require source fixes, so they need dedicated review and follow-up separate from the catch-all bump PR.",
89+
"matchPackagePrefixes": ["com.google.errorprone"],
90+
"groupName": "Error Prone"
91+
},
92+
{
93+
"description": "Google Cloud client stack used by the GCS repository - cloud client, api and auth libraries plus the BOM. Kept separate from the gRPC transport it consumes and from general com.google.* utility libs (guava, gson, errorprone).",
94+
"matchPackagePrefixes": [
95+
"com.google.cloud",
96+
"com.google.api",
97+
"com.google.auth"
98+
],
99+
"groupName": "Google Cloud"
100+
},
101+
{
102+
"description": "FasterXML Jackson and the Woodstox XML stack - jackson-bom family, plus woodstox-core (com.fasterxml.woodstox) and its required stax2-api (org.codehaus.woodstox), which are used together in solr/core.",
103+
"matchPackagePrefixes": [
104+
"com.fasterxml.jackson",
105+
"com.fasterxml.woodstox",
106+
"org.codehaus.woodstox"
107+
],
108+
"groupName": "Jackson & Woodstox"
44109
},
45110
{
46-
"description": "AWS SDK packages checked less often",
111+
"description": "Logging stack - Log4j, SLF4J (the log4j-slf4j2-impl bridge and jul/jcl bridges tie them together) and LMAX Disruptor, which is only present for Log4j2 async logging.",
112+
"matchPackagePrefixes": [
113+
"org.apache.logging.log4j",
114+
"org.slf4j",
115+
"com.lmax"
116+
],
117+
"groupName": "Logging"
118+
},
119+
{
120+
"description": "ZooKeeper and Curator - Curator is a ZooKeeper client library and must stay compatible with the ZooKeeper version.",
121+
"matchPackagePrefixes": [
122+
"org.apache.zookeeper",
123+
"org.apache.curator"
124+
],
125+
"groupName": "ZooKeeper & Curator"
126+
},
127+
{
128+
"description": "Calcite (calcite-core/linq4j + avatica) must move together",
129+
"matchPackagePrefixes": ["org.apache.calcite"],
130+
"groupName": "Calcite"
131+
},
132+
{
133+
"description": "Apache HttpComponents (httpclient/httpcore/httpmime) must move together",
134+
"matchPackagePrefixes": ["org.apache.httpcomponents"],
135+
"groupName": "Apache HttpComponents"
136+
},
137+
{
138+
"description": "AWS SDK - single BOM-aligned version across ~11 artifacts",
47139
"matchPackagePrefixes": ["software.amazon.awssdk"],
48-
"groupName": "AWS SDK",
49-
"schedule": ["before 9am on the first day of the month"]
140+
"groupName": "AWS SDK"
50141
},
51142
{
52-
"description": "Google Cloud packages checked less often",
53-
"matchPackagePrefixes": ["com.google.cloud"],
54-
"groupName": "Google Cloud",
55-
"schedule": ["before 9am on the first day of the month"]
143+
"description": "OkHttp and Okio - okhttp depends on a compatible okio",
144+
"matchPackagePrefixes": ["com.squareup.okhttp3", "com.squareup.okio"],
145+
"groupName": "OkHttp & Okio"
56146
},
57147
{
58-
"description": "Workaround for https://github.com/renovatebot/renovate/issues/19226",
59-
"matchPackageNames": ["solr:modules", "HH:mm"],
148+
"description": "Skip major jetty upgrades - must be done manually (overrides the Web server stack group above for jetty majors only)",
149+
"matchPackagePrefixes": ["org.eclipse.jetty"],
150+
"matchUpdateTypes": ["major"],
60151
"enabled": false
61152
},
62153
{
63-
"description": "Lucene dependencies should be skipped",
154+
"description": "Lucene dependencies should be skipped (upgraded together with the Lucene release)",
64155
"matchPackagePrefixes": ["org.apache.lucene"],
65156
"enabled": false
66157
},
67158
{
68-
"description": "Skip major jetty upgrades - must be done manually",
69-
"matchPackagePrefixes": ["org.eclipse.jetty"],
70-
"matchUpdateTypes": ["major"],
159+
"description": "Lock cuvs-lucene below v26 - the 26.x line is compiled for JDK 22 (class file major version 66) but Solr targets JDK 21, so it fails to compile (see PR #4134). Revisit when Solr's minimum JDK is raised.",
160+
"matchPackageNames": ["com.nvidia.cuvs.lucene:cuvs-lucene"],
161+
"allowedVersions": "<26"
162+
},
163+
{
164+
"description": "Workaround for https://github.com/renovatebot/renovate/issues/19226",
165+
"matchPackageNames": ["solr:modules", "HH:mm"],
71166
"enabled": false
72167
},
73168
{
@@ -97,12 +192,12 @@
97192
"changelogUrl": "https://commons.apache.org/proper/commons-configuration/changes-report.html"
98193
},
99194
{
100-
"description": "Group these UI dependency upgrades together in same PR",
101-
"matchPackagePrefixes": ["com.arkivanov", "org.jetbrains.compose"],
102-
"groupName": "Admin UI libraries"
195+
"description": "Group all GitHub Actions upgrades together in same PR",
196+
"matchManagers": ["github-actions"],
197+
"groupName": "GitHub Actions"
103198
}
104199
],
105-
"schedule": ["* * * * 0"],
200+
"schedule": ["before 9am on the first day of the month"],
106201
"prConcurrentLimit": 300,
107202
"prHourlyLimit": 20,
108203
"minimumReleaseAge": "5 days"

0 commit comments

Comments
 (0)