Skip to content
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

Follow XDG Base Directory Specification #2

Open
anarcat opened this issue Jan 26, 2016 · 2 comments
Open

Follow XDG Base Directory Specification #2

anarcat opened this issue Jan 26, 2016 · 2 comments

Comments

@anarcat
Copy link

anarcat commented Jan 26, 2016

right now, spigot throws the DB and config file in ./. that seems wrong. that should be, in my opinion, $XDG_CONFIG_HOME (.config/spigot.json) and $XDG_CACHE_HOME (~/.cache/spigot.db).

see also:

https://live.gnome.org/GnomeGoals/XDGConfigFolders
http://standards.freedesktop.org/basedir-spec/latest/

@nathans
Copy link
Owner

nathans commented Jan 29, 2016

I'll look into this, but I'd also like to preserve the possibility of having multiple spigot instances for a single user. This would require either keeping local paths, or coming up with some sort of namespace scheme.

@anarcat
Copy link
Author

anarcat commented Jan 29, 2016

sure, you can always support arbitrary config files through a --config-file argument or something. This is just about the default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants