Ipfs-desktop: Multiple "configuration" files

Created on 4 Sep 2019  路  2Comments  路  Source: ipfs-shipyard/ipfs-desktop

Right now, IPFS Desktop is storing its configuration in two different places:

  1. Here, for both logs and config.json.
  2. ~/.ipfs-desktop for other files such as IPFS_PATH.

@lidel shared his concern on #1079 about it:

Digression: I am worried this separate file will produce bugs in the long run. Additional code is required to keep it in sync with config.json and we need to remember about it. This concern should not block this PR form being merged, just something to think about :)


We're using ~/.ipfs-desktop for things that must be easily accessible from other scripts: it's a well-known location and it works cross-platform!

The application is now small, and the burden of maintenance of this specific topic is not really bug, but might be something to think about in the future!

P3 help wanted

All 2 comments

I think it is a good idea to move all the configuration and logs to ~/.ipfs-desktop. It's a well-known location and much easier to get the files.

Also, move ~/.ipfs-desktop to ~/.config/ipfs-desktop to leave the home directory cleaner... (those things you notice when adding filters to your backup...).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

daviddias picture daviddias  路  6Comments

machawk1 picture machawk1  路  3Comments

lidel picture lidel  路  4Comments

zerotrzy picture zerotrzy  路  4Comments

svitekpavel picture svitekpavel  路  4Comments