From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Re: GC hints Date: Tue, 25 Dec 2018 13:05:38 +0100 Message-ID: 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> <87h8f4i69i.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:41082) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gblMZ-0005WP-Fg for help-guix@gnu.org; Tue, 25 Dec 2018 06:59:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gblMW-0000Ek-AQ for help-guix@gnu.org; Tue, 25 Dec 2018 06:59:07 -0500 Received: from mx1.riseup.net ([198.252.153.129]:56877) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gblMW-0000BZ-3L for help-guix@gnu.org; Tue, 25 Dec 2018 06:59:04 -0500 In-Reply-To: <87h8f4i69i.fsf@netris.org> Content-Language: en-US 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: Mark H Weaver , Chris Marusich , Pierre Neidhardt Cc: help-guix On 2018-12-23 16:58, Mark H Weaver wrote: > Chris Marusich writes: >=20 >> Mark H Weaver writes: >> >>> Hi Ludovic, >>> >>> Ludovic Court=C3=A8s writes: >>> >>>> Actually, I was also wondering whether we should provide a configura= ble >>>> mechanism that would, by default, automatically delete old GC roots = and >>>> maybe even run the GC automatically when needed=E2=80=94similar to w= hat Git >>>> does. >>>> >>>> Thoughts? >>> >>> I think it's reasonable to automatically run GC by default, but I wou= ld >>> 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 G= C >> roots according to some policy (e.g., retain the last 2, and delete an= y >> 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 be= en >> set, the default would be not to delete any of the GC roots. >=20 > As long as it's not the default behavior, I think this would be a nice > feature to have. >=20 > Thanks! > Mark >=20 Pierre, could you send an updated patch? --=20 Cheers Swedebugia