From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: GC hints Date: Sun, 23 Dec 2018 10:58:38 -0500 Message-ID: <87h8f4i69i.fsf@netris.org> References: <878t10xpam.fsf@ambrevar.xyz> <87wooj1fmx.fsf@gmail.com> <87efaqna9u.fsf@ambrevar.xyz> <87d0qana9e.fsf@ambrevar.xyz> <87k1kivmzt.fsf@ambrevar.xyz> <87h8f9y6cq.fsf_-_@gnu.org> <874lb8xupw.fsf@netris.org> <87y38j9t95.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gb6Aa-0005mY-Jn for help-guix@gnu.org; Sun, 23 Dec 2018 11:00:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gb6AW-000853-LO for help-guix@gnu.org; Sun, 23 Dec 2018 11:00:00 -0500 In-Reply-To: <87y38j9t95.fsf@gmail.com> (Chris Marusich's message of "Fri, 21 Dec 2018 00:30:30 -0800") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Chris Marusich Cc: help-guix Chris Marusich writes: > Mark H Weaver writes: > >> Hi Ludovic, >> >> Ludovic Court=C3=A8s writes: >> >>> Actually, I was also wondering whether we should provide a configurable >>> mechanism that would, by default, automatically delete old GC roots and >>> maybe even run the GC automatically when needed=E2=80=94similar to what= Git >>> does. >>> >>> Thoughts? >> >> I think it's reasonable to automatically run GC by default, but I would >> strongly advise against deleting GC roots automatically by default >> without the user's knowledge and consent. > > Just to be clear, I agree with you, Mark. Guix shouldn't delete GC > roots automatically by default. I think we were just saying that it > might be nice if a user could configure Guix to automatically delete GC > roots according to some policy (e.g., retain the last 2, and delete any > others older than 1 month). Guix would only delete the GC roots > according to the policy that the user has set, and if no policy has been > set, the default would be not to delete any of the GC roots. As long as it's not the default behavior, I think this would be a nice feature to have. Thanks! Mark