Skip to content
This repository was archived by the owner on Sep 21, 2024. It is now read-only.

feat: Do not proactively create directories when creating spheres via CLI. Fixes #599#643

Open
jsantell wants to merge 1 commit into
mainfrom
599
Open

feat: Do not proactively create directories when creating spheres via CLI. Fixes #599#643
jsantell wants to merge 1 commit into
mainfrom
599

Conversation

@jsantell

Copy link
Copy Markdown
Contributor

No description provided.

@cdata

cdata commented Sep 19, 2023

Copy link
Copy Markdown
Collaborator

Can you provide a rationale for the change? Maybe a test?

Comment thread rust/noosphere/src/sphere/builder.rs Outdated
@jsantell

Copy link
Copy Markdown
Contributor Author

Can you provide a rationale for the change? Maybe a test?

In #599, for early failures (like an invalid key), the SpherePaths initialization proactively creates all of the .sphere dirs., preventing follow up commands with the correct key, as the sphere dirs are no longer uninitialized. Added a test in noosphere/tests/cli.rs

@cdata

cdata commented Sep 19, 2023

Copy link
Copy Markdown
Collaborator

Thanks, I missed that the bug was in the title at first 👍

Comment thread rust/noosphere/tests/cli.rs
@github-actions

github-actions Bot commented Oct 31, 2023

Copy link
Copy Markdown
Contributor

Test flake analysis

No flakes detected 🎉

status platform features toolchain
🟢 macos-13 test-kubo,headers stable
🟢 macos-13 test-kubo,headers,rocksdb stable
🟢 ubuntu-latest test-kubo,headers,rocksdb stable
🟢 ubuntu-latest test-kubo,headers stable
🟢 windows-latest test-kubo,headers stable

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants