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 08:33:40 -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> 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]:52307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmhj7-0004z9-S3 for guix-devel@gnu.org; Thu, 15 Oct 2015 08:33:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zmhj3-0002pl-DK for guix-devel@gnu.org; Thu, 15 Oct 2015 08:33:45 -0400 Received: from mail-yk0-f173.google.com ([209.85.160.173]:32947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmhj3-0002pg-8o for guix-devel@gnu.org; Thu, 15 Oct 2015 08:33:41 -0400 Received: by yknn9 with SMTP id n9so2305223ykn.0 for ; Thu, 15 Oct 2015 05:33:40 -0700 (PDT) In-Reply-To: <874mhsiae1.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:28 AM, Mathieu Lirzin wrot= e: > Eric Bavier writes: > >> On Wed, 14 Oct 2015 23:44:39 +0200 >> ludo@gnu.org (Ludovic Court=C3=A8s) wrote: >> >>> Mathieu Lirzin skribis: >>> >>> > ludo@gnu.org (Ludovic Court=C3=A8s) writes: >>> > >>> >> Dunno, I admit I=E2=80=99m not as enthusiastic as the other people h= ere. :-) >>> >> >>> >> What would =E2=80=98guix gc=E2=80=99 (without any option) do? >>> > >>> > Show --help and exit(0)? ;) >>> >>> Sure we could do that, but I=E2=80=99m not convinced it=E2=80=99s an im= provement. WDYT? >> >> FWIW, I'm not convinced either. > > I think the enthusiasm for changing =E2=80=98guix gc=E2=80=99 was induced= 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. - Dave