Skip to content
This repository has been 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
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jsantell
Copy link
Contributor

No description provided.

@cdata
Copy link
Collaborator

cdata commented Sep 19, 2023

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

@jsantell
Copy link
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
Copy link
Collaborator

cdata commented Sep 19, 2023

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

Copy link
Contributor

github-actions bot commented Oct 31, 2023

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