couchbaselabs / cbft

*THIS PROJECT HAS MOVED* from couchbaselabs TO: https://github.com/couchbase/cbft -- no further development will be done here on couchbaselabs/cbft
Other
27 stars 5 forks source link

would be nice if cbft didn't require a data directory for first-timers #102

Closed steveyen closed 9 years ago

steveyen commented 9 years ago

From usability test feedback from James M., it'd be nice if cbft didn't require first-timers to pre-create a data directory beforehand. Perhaps it can use a /tmp directory?

But, there are issues if the user restarts their cbft, they would lose everything (it chooses to create yet another tmp directory instead of reusing the old directory)?

mschoch commented 9 years ago

I don't like the idea of defaulting to temp. What is the problem with creating "data" if it doesn't exist? Or using it if it does? I think this is what ES does.

steveyen commented 9 years ago

What is the problem with creating "data" if it doesn't exist? Or using it if it does?

Ok, going use that then as plan A.

steveyen commented 9 years ago

Also from testing with Bin on windows, found that "mkdir -p data" creates a "data" directory and a "-p" directory :-)

steveyen commented 9 years ago

cbft now creates the data directory automatically if the user is using the default data directory of "data".