Comments (5)
Then, I don't know if we should put that "critical" data in user's home instead of in more internal app directory (like
/var/srcd
or `~\AppData\Local).
Moving things to /var
makes sense to me.
what should be the behavior if the users run
sourced status
with no~/.srcd
?
- inform the users about no available sandbox? (what can be false in some examples)
- recommend them running
install
before runningstatus
? (what would also fix prev example)- other...
I would forget about the case where the user might be deleting files, it's outside of our control.
To me the reasonable output for status
, stop
etc. would be something along the lines of
cannot perform this action, source{d} needs to be initialized first with the 'install' sub command
from sourced-ce.
Can we assume that if there's no ~/.srcd
, there is no running sandbox?
Maybe we can't.
If ~/.srcd
is deleted after sourced install
, the ui is still working, but prune
, stop
, status
commands no longer work, so you need to install
again.
What should be the expected behavior?
could it be a good idea to store the "active" config in a volume?
from sourced-ce.
Can we assume that if there's no
~/.srcd
, there is no running sandbox?
Maybe we can't.If
~/.srcd
is deleted aftersourced install
, the ui is still working, butprune
,stop
,status
commands no longer work, so you need toinstall
again.What should be the expected behavior?
If the user deletes files we need, I don't think is reasonable to be able to recover.
A user that feels confident enough to delete this dir should also be able to fix anything with plain docker
commands.
could it be a good idea to store the "active" config in a volume?
I don't see much benefit for the extra complexity.
from sourced-ce.
Then, I don't know if we should put that "critical" data in user's home instead of in more internal app directory (like /var/srcd
or ~\AppData\Local
).
Anyhow.
what should be the behavior if the users run sourced status
with no ~/.srcd
?
- inform the users about no available sandbox? (what can be false in some examples)
- recommend them running
install
before runningstatus
? (what would also fix prev example) - other...
from sourced-ce.
Since running install
again will also fix the described problem, lgtm.
from sourced-ce.
Related Issues (20)
- When running `sourced stop` some containers doesn't exit with return code 0 HOT 1
- Add GOPROXY to travis HOT 4
- Allow to pass an index number with `sourced compose set` HOT 1
- More complete `sourced status` command
- Forbidden error while accessing docker compose file when initializing local Git repositories using source{d} HOT 5
- Add gitbase-spark-connector to the compose file HOT 2
- Docker exits with 1 when "sourced init local <repo>" HOT 6
- Error sourced init orgs --token HOT 9
- sourced init without the org parameter (or making it optional) HOT 4
- Support for GitHub Enterprise HOT 3
- Changes from GitBook might alter our docs HOT 9
- Update to go-1.13 HOT 3
- Docs outdated when listing sub-commands
- Installation Error message (inside corporate firewall) HOT 28
- Improve error messages
- Bitbucket support? HOT 1
- `docker-compose.override.yml` file breaks the `compose` sub cmd HOT 6
- Identify and show errors for old unsupported version of docker/docker-compose HOT 1
- gitcollector container stops after a few seconds of startup
- `sourced init orgs`: Invalid project name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sourced-ce.