From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" Subject: Re: Plan for 0.9.0 Date: Thu, 15 Oct 2015 09:10:09 -0400 Message-ID: References: <87io6b943m.fsf@gnu.org> <878u75ql2q.fsf@gnu.org> <87eggxfc5o.fsf@openmailbox.org> <87k2qpp1ko.fsf@gnu.org> <20151014170227.3a293b5a@openmailbox.org> <874mhsiae1.fsf@openmailbox.org> <87vba8gurr.fsf@openmailbox.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]:36974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmiIR-000646-87 for guix-devel@gnu.org; Thu, 15 Oct 2015 09:10:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmiIM-0001Fc-3x for guix-devel@gnu.org; Thu, 15 Oct 2015 09:10:15 -0400 Received: from mail-yk0-f171.google.com ([209.85.160.171]:33289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmiIM-0001Ey-0T for guix-devel@gnu.org; Thu, 15 Oct 2015 09:10:10 -0400 Received: by yknn9 with SMTP id n9so3265987ykn.0 for ; Thu, 15 Oct 2015 06:10:09 -0700 (PDT) In-Reply-To: <87vba8gurr.fsf@openmailbox.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mathieu Lirzin Cc: guix-devel On Thu, Oct 15, 2015 at 8:51 AM, Mathieu Lirzin wrot= e: > "Thompson, David" writes: > >> On Thu, Oct 15, 2015 at 8:28 AM, Mathieu Lirzin w= rote: > [...] >>> I think the enthusiasm for changing =E2=80=98guix gc=E2=80=99 was induc= ed by somekind of >>> shared experience of typing it loosely and ending up having to download >>> a lot of substitutes again. So maybe we can keep =E2=80=98guix gc=E2= =80=99 as it is but >>> make it interactive by listing what is going to be deleted and ask for >>> confirmation with a [Y/n] prompt. This solution will also require >>> somekind of a =E2=80=98--force=E2=80=99 option for scripting purposes. >>> >>> Does it sound better? >> >> In general, I do not like interactive CLIs. I'm fine with 'guix gc' >> working as-is. The re-downloading lots of substitutes issue is not an >> issue about the CLI, but rather about not making store items that you >> want to hang around GC roots. > > You mean a problem between the keyboard and the chair, or a problem with > the GC being too greedy? The GC is not too greedy. It's doing exactly what it should. The issue is that we need more tools to let people protect things from the GC that they want protected. One example that is that 'guix environment' will eventually generate profiles that are registered as GC roots, which will protect development environments from the GC. - Dave