-
-
Notifications
You must be signed in to change notification settings - Fork 766
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
pre-commit should meet the XDG Base Directory Specification #562
Comments
Pull requests welcome, note that this also has to work well for windows which doesn't adhere to XDG. I've been hesitant to move the directory as it'd be a bit awkward for current users (though perhaps |
Is there any documentation for pre-commit on Windows? Is it supposed to run on:
On which Windows version is it supposed to run? How do you proceed to test it on Windows? Do you use a VM or something?
I understand. But it won't break anything since it would just re-cache all the needed stuff, right? We can imagine three scenarios if
Well, it has been done already with the transition from |
@nagromc If you ^F windows on http://pre-commit.com you can see the current support matrix It is tested automatically through appveyor -- my home desktop at home also runs windows so I often do more-difficult debugging on that. As for the three solutions above:
|
OK I'll give it a try when I have time. Didn't know about AppVeyor. And for the third solution, should we delete |
I think just leave it alone for the most part (unless |
…e-config [pre-commit.ci] pre-commit autoupdate
XDG Base Directory Specification is quite common now. Just
ls ~/.cache ~/.config ~/.local
to realize it.I think
~/.pre-commit
should be moved to$XDG_CACHE_HOME
or$HOME/.cache
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
The text was updated successfully, but these errors were encountered: