ipfs / ipfs/kubo

Implement XDG base directories

Open
#120 11 comments 0 reactions 0 assignees View on GitHub
help wanted P2
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

See: http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

Basically:

configuration should be searched in:
- XDG_CONFIG_HOME/go-ipgs/config
- XDG_CONFIG_DIRS/go-ipgs/config

Some rules :
- XDG_CONFIG_HOME defaults to HOME/.config when not set
- XDG_CONFIG_DIRS defaults to /etc/xdg when not set

The same logic applies to persistent data files (the one we want to keep) and cached data files (the one we may delete at any moment)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.