From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: GC hints Date: Thu, 20 Dec 2018 23:03:41 +0300 Message-ID: <875zvohso2.fsf@gmail.com> 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> 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]:56975) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga4Xn-0008D5-Dq for help-guix@gnu.org; Thu, 20 Dec 2018 15:03:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ga4Xh-00073o-9Z for help-guix@gnu.org; Thu, 20 Dec 2018 15:03:43 -0500 In-Reply-To: <874lb8xupw.fsf@netris.org> (Mark H. Weaver's message of "Thu, 20 Dec 2018 07:12:16 -0500") 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 Cc: help-guix Mark H Weaver (2018-12-20 07:12 -0500) wrote: > 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. > > It's certainly true that git performs GC automatically, but does it > automatically delete GC roots by default? I've never seen it do this, > and I would be surprised and angry if it did. > > I consider Guix GC roots to be potentially valuable user data, > regardless of age. For example, an old GC root might be valuable > because it was used to perform an experiment that should be repeatable, > or because it is known to work reliably for a given job, and newer > versions have not yet been tested. > > I, for one, expect my old profiles, system generations, and other GC > roots to be kept unless I explicitly delete them, and I suspect I'm not > alone. If I hadn't been paying close attention to Guix development, and > later discovered that Guix had deleted my GC roots without my consent, I > would be surprised and angry. You are not alone! I completely agree with your points. --=20 Alex