From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Profiles/manifests-related command line interface enhancements Date: Tue, 26 Nov 2019 10:36:44 +0100 Message-ID: <8736ebc72r.fsf@gnu.org> References: <87mudrxvs8.fsf@ambrevar.xyz> <87mudd59ho.fsf@gnu.org> <877e4glyc3.fsf@ambrevar.xyz> <87v9rxx8ri.fsf@gnu.org> <87r227qxf7.fsf@gnu.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:470:142:3::10]:54076) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iZXOS-0000ru-5C for guix-devel@gnu.org; Tue, 26 Nov 2019 04:44:25 -0500 In-Reply-To: (zimoun's message of "Mon, 18 Nov 2019 15:15:23 +0100") 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" To: zimoun Cc: Guix Devel Hello, zimoun skribis: > On Sat, 16 Nov 2019 at 23:27, Ludovic Court=C3=A8s wrote: > >> > Me too :-) It's "guix package" that is the worst offender in my >> > opinion. It does two distinct things: querying the package database and >> > managing profiles. And now that we have "guix search" for queries, >> >> We also have =E2=80=98guix show=E2=80=99, but there=E2=80=99s no standal= one command equivalent >> to =E2=80=98--list-installed=E2=80=99, =E2=80=98--list-available=E2=80= =99, =E2=80=98--list-profiles=E2=80=99, and >> =E2=80=98--list-generations=E2=80=99. > > IMHO, we should have a generic alias system "=C3=A0 la" Git or an UI > modifier via channel. I agree, that=E2=80=99d be nice. >> 1. Arrange so that =E2=80=98--ad-hoc=E2=80=99 becomes the default in = =E2=80=98guix >> environment=E2=80=99, and add a =E2=80=98--devel=E2=80=99 (?) optio= n for what=E2=80=99s currently >> the default. > > I agree. David proposed that in "The future of 'guix environment'". > > https://lists.gnu.org/archive/html/guix-devel/2017-08/msg00300.html > > And as Konrad mentioned, I prefer "--inputs-of" instead of "--devel". OK, fine with me! :-) >> Tricky because of compatibility considerations, but would be an >> improvement, and goes in the direction of shortening the distance >> between =E2=80=98guix environment=E2=80=99 and =E2=80=98guix packag= e=E2=80=99. > > Let bump the version and break compatibility. :-p Heh, I think we owe our users a smooth transition. >> 2. Add that same =E2=80=98--devel=E2=80=99 option to =E2=80=98guix pac= kage=E2=80=99. > > And to be consistent, why not add a similar option to manifest (via > "package-environment-inputs" exporting as "" same than > "--option-name"; I opt for option-name equal inputs-of instead of > devel :-)) You mean we=E2=80=99d have a way to create a manifest and pass it the same options as on the command line, as strings? Thanks, Ludo=E2=80=99.