[darcs-users] Mac OSX testers wanted: darcs unstable uses standard cache location
Josh Tilles
merelyapseudonym at gmail.com
Tue Jul 23 22:26:41 UTC 2013
As a Mac OS X user & a fan of using $XDG_*, I think it would be better to adhere to the spec:
$XDG_DATA_HOME defines the base directory relative to which user specific data files should be stored. If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used.
$XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.
…
$XDG_CACHE_HOME defines the base directory relative to which user specific non-essential data files should be stored. If $XDG_CACHE_HOME is either not set or empty, a default equal to $HOME/.cache should be used.
(from http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)
That said, I completely agree that an appropriate value for $XDG_CACHE_HOME on a Mac is ~/Library/Caches; it's even defined in my dotfiles that way.
On Jul 19, 2013, at 9:26 AM, Guillaume Hoffmann <guillaumh at gmail.com> wrote:
> Hi,
>
> I've just pushed to screened (ie http://darcs.net) a patch that makes
> darcs use a more standard cache location (
> http://bugs.darcs.net/patch1080 ):
>
> This patch basically makes darcs using ~/.cache/darcs/ instead of
> ~/.darcs/cache. Unless $XDG_CACHE_HOME is set, in which case it
> will use $XDG_CACHE_HOME/darcs/.
>
> If $XDG_CACHE_HOME is set but does not exist, or if it
> is not set and ~/.cache does not exist, the missing directory
> is created with permissions 0700.
>
> Under for Mac OSX, this patch makes darcs use the directory
> ~/Library/Caches/, which is the current norm.
>
> Can someone using Mac OSX please try it?
>
> Guillaume
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20130723/31b7f043/attachment.html>
More information about the darcs-users
mailing list