From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Generation 0 Date: Sun, 22 Sep 2013 23:15:36 +0200 Message-ID: <8738ow5zif.fsf@gnu.org> References: <87vc2o4qwc.fsf@gnu.org> <87y57kljro.fsf@karetnikov.org> <87hae81uvo.fsf@gnu.org> <87li2oslzh.fsf_-_@karetnikov.org> <87hadcr4sh.fsf_-_@karetnikov.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]:37599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNr5B-0002RK-Lb for guix-devel@gnu.org; Sun, 22 Sep 2013 17:20:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNr55-0001bY-UU for guix-devel@gnu.org; Sun, 22 Sep 2013 17:20:45 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:52323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNr55-0001bN-I7 for guix-devel@gnu.org; Sun, 22 Sep 2013 17:20:39 -0400 In-Reply-To: <87hadcr4sh.fsf_-_@karetnikov.org> (Nikita Karetnikov's message of "Mon, 23 Sep 2013 00:15:58 +0400") List-Id: 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: Nikita Karetnikov Cc: guix-devel@gnu.org Nikita Karetnikov skribis: > I think we should change =E2=80=98--list-generations=E2=80=99 to not outp= ut the zeroth > generation. Even though it could be present in the profile, users > shouldn=E2=80=99t be concerned about it. Agreed. > Currently, =E2=80=98--delete-generations=E2=80=99 ignores the zeroth gene= ration. Other > options seem even more confusing: > > 1. If you don=E2=80=99t have any other generations and delete it, profile > couldn=E2=80=99t point to anything. > > 2. If you delete it along with the profile, users might be confused (or > angry). > > WDYT? I think it should be impossible to remove Generation 0 through the command-line tools, because that generation exists precisely so that the profile always points to something valid. So yes, =E2=80=98--delete-generations=E2=80=99 must ignore Generation 0. Ludo=E2=80=99.