-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
move to using ~/.ipfs #970
Comments
why not $XDG_CONFIG_HOME/ipfs ? |
This has been discussed before, and decided against. (although I do not recall the specific reasoning) |
Yeah, @mildred wants this too. I don't know how widely used XDG is. I'm not opposed to having the option of being compatible with it, but i don't think it makes sense as a default to force upon people.
|
Most GNOME, XFCE, Qt and KDE apps, and many others :
I don't know how you managed to have an empty
|
There are a few things there, but...
People can set |
I don't want to repeat myself too much, but the XDG spec separate three kind of files:
Separating these can be useful. For example, I frequently This is also the reason why historical applications such as Mozilla Firefox still keep everything in |
This is normal: this environment variable is empty by default. If it is empty, it has a default value of
|
@mildred so how would you recommend splitting up the repo? |
I don't really know what's in .ipfs currently, but
|
Someone can make an |
@jbenet maybe a simpler yet efficient solution would be to use XDG_CONFIG_HOME/ipfs if XDG_CONFIG_HOME is set, else just use ~/.ipfs Having some other way (like a command line argument) to set the path to the ipfs folder would be a nice and appreciated alternative though 👍 |
You can use $IPFS_PATH already.
|
@fazo96 @jbenet What about There is another aspect to this whole "where do we put our data?" thing. If IPFS is to be run as a system daemon, I would expect configuration to be in /etc and most of everything in /var. I think having a way to separate config and data would be valuable for this use case. (but this is another issue than this one) |
👍 to |
from
.go-ipfs -> .ipfs
The text was updated successfully, but these errors were encountered: