#76 Moved ID2T data directory to XDG compliant location

Merged
carlos.garcia merged 1 commits from stefan.schmidt/db-location into SPIN/master 6 years ago

This change makes ID2T use the "pyxdg" python library to determine where to place the databases and the query history file. After reading the XDG Base Directory Specification, I figured that $XDG_CACHE_HOME (which defaults to ~/.cache) would be the correct place to put these files.

I also verified that it works correctly on macOS (in fact, some macOS programs also put their data there).

This fixes #71.

This change makes ID2T use the "pyxdg" python library to determine where to place the databases and the query history file. After reading the XDG Base Directory Specification, I figured that $XDG_CACHE_HOME (which defaults to ~/.cache) would be the correct place to put these files. I also verified that it works correctly on macOS (in fact, some macOS programs also put their data there). This fixes #71.
Carlos Garcia commented 6 years ago
Owner

I agree that $XDG_CACHE_HOME is the right place.

I agree that $XDG_CACHE_HOME is the right place.
This pull request has been merged successfully!
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.