-
Notifications
You must be signed in to change notification settings - Fork 1k
Follow XDG cache directory standard by default #1225
Comments
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label |
What's the point of this? |
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label |
I'd like to show my support to this change. A common consequence of not following such conventions, in this case the Freedesktop (aka XDG) basedir spec1, are messy backups. As an example, my backup system works on As this seems to be cached data that can be fetched again, it would be better placed under Hope this helps 😃 Cheers! Footnotes
|
Noted, but can't be implemented before the next major release. |
This issue is stale because it has been open 90 days with no activity. Remove the stale label or comment or this will be closed in 5 days. To ignore this issue entirely you can add the no-stale label |
Notes on my experience of extracting stuff from a VFS for use as dependencies, pkg style: On Windows, I use ProgramData// to cache pkg-like files from a virtual FS. I was using temp, and that also worked fine except on linux and OSX, where it got cleaned periodically (i.e. I lost my dependencies whilst the app was running!). The programData equivalents work fine on linux and osx now without issues. For pkg, I would suggest something like .cache/pkg/appname/ as the root for a certain app, just to separate possibly conflicting data? The use of a written standard like the one mentioned above seems a good solution, but we'd need a humanised description detailing where it would be on Windows & OSX. |
The cache directory by default should use
~/.cache/pkg
according to the XDG Base Directory Specification rather than~/.pkg-cache
which doesn't follow any standard. Most applications today use this standard and pkg should do the same to be compliant and keep the home directory clean.#222 from many years ago also requested it.
The text was updated successfully, but these errors were encountered: