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

Save in the correct OS cache location #7

Closed
bcomnes opened this issue Feb 27, 2019 · 2 comments
Closed

Save in the correct OS cache location #7

bcomnes opened this issue Feb 27, 2019 · 2 comments

Comments

@bcomnes
Copy link

bcomnes commented Feb 27, 2019

Home folder dot files are out of hand! It would be better if this module instead saved to the preferred operating system locations for cache content.

A module like https://github.com/sindresorhus/env-paths or https://github.com/sindresorhus/xdg-basedir makes it very easy to find that path. Would you be open to changing the default to one of these alternate locations?

@bcomnes bcomnes changed the title Save in the correct cache location Save in the correct OS cache location Feb 27, 2019
@lukeed
Copy link
Owner

lukeed commented Feb 27, 2019

Hey, no thank you :) I understand the concern, but changing this would be breaking for all current users of gittar.

While it may be annoying to hand yet-another dot-directory inside homedir, it's obvious. Having hidden config directories buried inside other locations is far more annoying, especially when it comes time for spring cleaning.

However, this (along with existing, long-standing issues) did inspire me to make it configurable.

I'll close this in favor of that ticket & get to it this weekend for a minor release. I think it should satisfy your needs & concerns :D

Thanks!

@bcomnes
Copy link
Author

bcomnes commented Feb 27, 2019

I had to ask :)

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