From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Installing multiple packages at once Date: Sun, 22 Sep 2013 23:23:16 +0200 Message-ID: <87r4cg4kl7.fsf@gnu.org> References: <87a9j4ppr6.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]:38683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNrCa-0003Dd-Kh for guix-devel@gnu.org; Sun, 22 Sep 2013 17:28:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNrCU-0003Mb-O1 for guix-devel@gnu.org; Sun, 22 Sep 2013 17:28:24 -0400 Received: from hera.aquilenet.fr ([141.255.128.1]:52348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNrCU-0003MT-HV for guix-devel@gnu.org; Sun, 22 Sep 2013 17:28:18 -0400 In-Reply-To: <87a9j4ppr6.fsf@karetnikov.org> (Nikita Karetnikov's message of "Mon, 23 Sep 2013 00:26:05 +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: > Someone on IRC said that they would prefer to write =E2=80=98-i foo bar b= az=E2=80=99 > instead of =E2=80=98-i foo -i bar -i baz=E2=80=99. Should we change this= or allow both > variants? And how hard would it be? Currently -i takes an argument, hence this syntax. What would be the syntax? Remember we want to allow users to both install and remove packages in a single transaction, as in: guix package -r bigloo -r hop -i guile -i racket We could imagine something like: guix package -r bigloo hop -i guile racket but I don=E2=80=99t think SRFI-37 allows us to know that =E2=80=98bigloo=E2= =80=99 and =E2=80=98hop=E2=80=99 occurred after =E2=80=98-r=E2=80=99 whereas the others occurred after =E2= =80=98-i=E2=80=99. And I don=E2=80=99t really like the syntax. In short, while open to suggestions, I=E2=80=99m mostly in favor of the status quo. :-) Ludo=E2=80=99.