Skip to content

Don't create local path when opening a repo#2145

Merged
li-em merged 2 commits into
mainfrom
li-em/2105
May 28, 2026
Merged

Don't create local path when opening a repo#2145
li-em merged 2 commits into
mainfrom
li-em/2105

Conversation

@li-em
Copy link
Copy Markdown
Member

@li-em li-em commented May 20, 2026

Fix #2105

  • get_client in ObjectStorage returns an StorageResult, so we can track errors during client instantiation.
  • create_location_if_needed in the Storage trait. This is mostly aimed at storages that are cheap/easy to create, like local FS.

Add tests for both Rust and Python.

li-em added 2 commits May 26, 2026 13:25
- `get_client` in `ObjectStorage` returns an `StorageResult`, so we
  can track errors during client instantiation.
- `create_location_if_needed` in the `Storage` trait. This is mostly
  aimed at storages that are cheap/easy to create, like local FS.
@li-em li-em marked this pull request as ready for review May 26, 2026 18:52
@li-em li-em requested a review from paraseba May 26, 2026 19:25
@li-em li-em added this pull request to the merge queue May 28, 2026
Merged via the queue into main with commit 751f4e4 May 28, 2026
40 checks passed
@li-em li-em deleted the li-em/2105 branch May 28, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repository.open on local storage creates repository directory if it doesn't exist

2 participants