From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: Reorganizing guix package commands Date: Thu, 21 Apr 2016 05:49:39 +0300 Message-ID: <20160421024939.GB18423@debian-netbook> References: <874mazi99k.fsf@gmail.com> <877ffual6i.fsf@gnu.org> <877ffujasf.fsf@gmail.com> <8737qh1tqm.fsf@gnu.org> <87wpns4oi2.fsf@T420.taylan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="+g7M9IMkV8truYOl" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1at4gc-0001RX-Fl for guix-devel@gnu.org; Wed, 20 Apr 2016 22:49:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1at4gZ-0006Bs-B2 for guix-devel@gnu.org; Wed, 20 Apr 2016 22:49:46 -0400 Content-Disposition: inline In-Reply-To: <87wpns4oi2.fsf@T420.taylan> 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: Taylan Ulrich =?utf-8?B?QmF5xLFybMSxL0thbW1lcg==?= Cc: guix-devel@gnu.org, Alex Kost --+g7M9IMkV8truYOl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 20, 2016 at 11:29:25AM +0200, Taylan Ulrich Bay=C4=B1rl=C4=B1/K= ammer wrote: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: >=20 > >> Maybe instead of --list-generations and others, these options should > >> transform into subcommands (list-generations) of "guix profile". > > > > I agree. But what should we do of transactions? >=20 > I'd like to re-propose the use of '--' to delineate the end of arguments > to a sub-command. E.g.: >=20 > guix install foo bar -- remove baz bat >=20 > (Leaving aside whether it's 'guix install', 'guix package install', > 'guix profile add', or anything else.) >=20 > Taylan >=20 Currently you can already call guix package -i foo bar -r baz and it'll install and remove packages as you'd expect. Another option that'll cut down on the length of the command but keep it obvious what's going on is if it were changed to guix profile +foo +bar -baz --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --+g7M9IMkV8truYOl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJXGD+/AAoJEPTB05F+rO6TM04P/ReC/wV/kxOAfhky4fjgu6Jf MclllOGeGgJJhgtitnRwsnxvKA4K8p3QG1AqzWBOOsvQk2Fvu7pCyjcUakcNSmYI A3hzq/uJ9W9eC7maOA64Nvr5mC/dLUdn9zeoth2YM5f1XV8UuKOwRmgWf2nwpoph eUS5Xbp19muN0xSBoq20XpnEdYQZKwpXrfSAGRlvYcve2J/rMrNtCuBu3kkSu4JK syWIlxTnfY1G5WxScKcdvvG/dQfVW9cQQIm0Z97z+O+kmMTcFTYKW0fnqJWcfMqG LghAZ51Cs7ZCF6NTFIUVhbW7cq9RbiX13Z6z0VivJo6t5QrFPlBiPnmGi/qpdfAn p8m6QpkR8ZmsztGV5uC05Qm43a1s5gkuQVzPkVAKc4Bi+K5xbz0W3Wd77T5j0szH 4sz6FYT/D+A7VjLOGHZ5cIRTHqzRccrAFucHOsQ/XlJ5XrWD+4pEAJzT90ecW457 PT+zj55jTETXXGGKpCO0WSmZN6jmoMvzBmbiSBxUkNKQgmY+qHd0LbuC2MGO+DlE 4dwG5CFiYuEw2HrKpvQuGQ8bUlo5mUqe0y/+EU4IguoKGNYcoXCegSc9O9a4K55K 4ytwH8EltNMcsDfWWW9qb+5FWh/Dm7bXeV4i6mEVVF6bqggEG0xuE0X2v18xOYhx 4phgSELEjij3Hxt8RX/z =/qg8 -----END PGP SIGNATURE----- --+g7M9IMkV8truYOl--