Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 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.

None yet

2 participants