Repository navigation
feat(storage): add a path style setting to the s3 storage - #1188
Merged
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
Test results 746 files 746 suites 9m 30s ⏱️ Results for commit 4b87746. ♻️ This comment has been updated with latest results. |
This comment has been minimized.
This comment has been minimized.
2 similar comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The per-repository setting decides when it is set and the JVM property decides when it is not. An old document without the field stays unset. Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
Path-style addresses are a property of one bucket, yet only a process-wide JVM property switched them on. A repository can now set pathStyleAccess itself; when it is unset the property still decides, so existing installations behave as before. Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
…emas The maven schema goldens hold the S3 settings of the served schema. The new optional pathStyleAccess setting adds exactly one nullable boolean property there and changes nothing else, so both goldens gain that property. An old settings document still loads and writes no value for it. Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
TheMeinerLP
force-pushed
the
feat/s3-path-style-setting
branch
from
November 23, 2026 02:04
462e311 to
4b87746
Compare
6 of 7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Operators of MinIO and other S3-compatible servers needed path-style addresses, but the only switch was a JVM property that applies to every repository of the process and is invisible in the settings form. This adds an optional
pathStyleAccessfield to the S3 storage settings. When it is set it decides for that repository; when it is unset the existing property decides, exactly as before. Old settings files read as unset, so nothing changes for existing installations.Implements task groups 2 and 3 of the
add-s3-path-style-settingchange.Type of change
feat- new featureHow was this tested?
./gradlew :reposilite-backend:test --tests 'com.reposilite.storage.s3.*'(newS3PathStyleAccessTestcovers the four precedence cases and the old-document round trip; existing S3 tests pass unedited)Checklist
CLAUDE.md./gradlew buildpasses locally (targeted S3 tests only; CI runs the rest)