Skip to content

fix: normalize object store prefixes#148

Merged
rmanibus merged 1 commit into
mainfrom
fix/store-prefix-normalization
Mar 18, 2026
Merged

fix: normalize object store prefixes#148
rmanibus merged 1 commit into
mainfrom
fix/store-prefix-normalization

Conversation

@rmanibus
Copy link
Copy Markdown
Contributor

Closes #147

Summary

  • normalize configured object-store prefixes so repository objects stay under the intended prefix even when the store URI omits a trailing slash
  • apply the normalization to both S3 and B2 prefix options
  • add regression tests for prefix normalization and prefixed key behavior

Testing

  • go test ./pkg/store ./cmd/cloudstic

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rmanibus rmanibus merged commit b2c32ad into main Mar 18, 2026
7 checks passed
@rmanibus rmanibus deleted the fix/store-prefix-normalization branch March 18, 2026 08:20
@rmanibus rmanibus added this to the v1.13.0 milestone Mar 18, 2026
@rmanibus rmanibus added the bug Something isn't working label Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix object store prefix normalization without trailing slash

1 participant