Closed johnlettman closed 3 weeks ago
This PR implements the XDG Base Directory Specification using xdgenvpy for the cache and configuration files used in status_keeper.py.
status_keeper.py
In general, this relocates them as follows:
~/.jockey/cache.json
${XDG_CACHE_HOME}/jockey/cache.json
~/.cache/jockey/cache.json
~/.jockey/config.json
${XDG_CONFIG_HOME}/jockey/config.json
~/.config/jockey/config.json
As an added benefit, this permits users to relocate these files on their system by modifying the XDG_ environment variables with minimal management from Jockey's perspective.
XDG_
This may not merge with #32. If that's the case, I can rebase if it's merged.
I will fix this PR once #32 lands as it's failing on a dependency issue.
Fixing due to PR #32 merge.
Fixed and rebased to master.
This PR implements the XDG Base Directory Specification using xdgenvpy for the cache and configuration files used in
status_keeper.py
.In general, this relocates them as follows:
~/.jockey/cache.json
-->${XDG_CACHE_HOME}/jockey/cache.json
-->~/.cache/jockey/cache.json
~/.jockey/config.json
-->${XDG_CONFIG_HOME}/jockey/config.json
-->~/.config/jockey/config.json
As an added benefit, this permits users to relocate these files on their system by modifying the
XDG_
environment variables with minimal management from Jockey's perspective.