chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Minor changes to egg cache dir handling


From: felix . winkelmann
Subject: Re: [Chicken-hackers] [PATCH] Minor changes to egg cache dir handling
Date: Thu, 04 Jan 2018 12:22:26 +0100

> Hello,
>
> Here is a patch with some small changes to the egg cache dir handling
> code, mostly to make it more robust when the cache directory or any of
> its parents don't exist.
>
> I've removed the use of /tmp for the egg cache when a user's $HOME can't
> be determined. My thinking here is that, since the cache is meant to be
> relatively persistent (otherwise, there's not much point), it doesn't
> make sense to put it in a location that's specifically non-persistent.
> You don't want the cache to be blown away on reboot, for example, so
> it's better put it directly in the CWD rather than /tmp if we can't use
> the user's $HOME. This will be a very rare case, anyway.
>
> I have also made the cache a subdirectory under ~/.chicken-install, so
> that we can use ~/.chicken-install for other egg-related purposes in the
> future without introducing more dotfiles in the user's home.
>

Thanks, pushed.


felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]