From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gJyux-0002ju-Oi for guix-patches@gnu.org; Tue, 06 Nov 2018 05:49:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gJyuu-0004XP-Hd for guix-patches@gnu.org; Tue, 06 Nov 2018 05:49:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gJyuu-0004XI-DU for guix-patches@gnu.org; Tue, 06 Nov 2018 05:49:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gJyut-0008Un-Mg for guix-patches@gnu.org; Tue, 06 Nov 2018 05:49:04 -0500 Subject: [bug#33286] Add 'list-formats' to 'guix pack' Resent-Message-ID: Date: Tue, 6 Nov 2018 12:48:09 +0200 From: Efraim Flashner Message-ID: <20181106104809.GD1206@macbook41> References: <20181106095316.GB1206@macbook41> <20181106113915.645b3756@scratchpost.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="uCPdOCrL+PnN2Vxy" Content-Disposition: inline In-Reply-To: <20181106113915.645b3756@scratchpost.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: 33286@debbugs.gnu.org --uCPdOCrL+PnN2Vxy Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 06, 2018 at 11:39:15AM +0100, Danny Milosavljevic wrote: > Hi Efraim, >=20 > On Tue, 6 Nov 2018 11:53:16 +0200 > Efraim Flashner wrote: >=20 > > I was looking at the help menu for 'guix pack' and I realized that I > > didn't know what formats were available and there wasn't a flag to show > > them. >=20 > Good idea! In principle LGTM, but why not (also?) always show them on "-= -help"? > It's kinda weird to have "--help" not show something and then having to i= nvoke a > command again to get it. It's not like the new output is long in proport= ion > to the existing output of "--help" or anything. we also have 'guix refresh --list-updaters' and 'guix lint --list-checkers'. 'guix system', for file-system-type, shows '(one of 'ext4', 'iso9660')' right in the options. also 'guix hash' allows other formats but doesn't have a list-updaters having "(one of 'tarball', 'squashfs', 'docker')" would be easier, but IMO my patch gives more information, specifically about squashfs and needing to run 'docker load'. --=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 --uCPdOCrL+PnN2Vxy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlvhcWUACgkQQarn3Mo9 g1G4Ew//UKOB3TkEk6eXnIY9TZvBfTRnFLZa0kcsiggkXiKkVVyG0iWUTR9bOY+w JZgV4UxNtaVw51UqBaS3dGDAToc+vgmQB+59U1uQltx3eTt8eFPUP/KcZcwF6QI+ 9IqLYl8WKvFdmWC6Mvj9NXZtsDHXfYu5Um8uy4QyZA7ZI0ATXlJVQG8DFcUCTNqi mtUQ2zoEjqRjJiba/q3/AewD35gOVmurNzH0Cl+5eNjlrvwzoymmIF4jueJOcPtQ W9fu36wFbNt94VnrT+sdfRQYNHrW2KoBY/FO9GQrXc+b47VHp8JFiGOBXfn4/ju6 3gneYEvx0MpEQyfmPSK8VNiZ3g0g6cx7nJSc2s2h4TAjKA+DrAeQ9YEKuVFaWAWM JxEGFvabuy0q54avc6YyMe98A6EcTtRDEBRIpDeEfM4TZuldNH41NJ9qKdZX/kB/ BrapD0aSYriLvDOd5tc/wIfK+yVvD0ZgVZMQU1ZjqJS4NsU8Q4N10cXqAkJCDpmZ ZPHPY9ESwCuiTnXWvXOW35y+K1ePhY23AKYLATKQ5qODUyRDPShr1P96LrLUaKkc jdcoDrWfg09HjNotLUcB2dnQriiwNslJTTXj5XeQYV/ksXNi8pDCMzfE4y9RGQWO zGMj9HMa3t9mjoKXDe6qo4CymnIUeHbR30/DViwLPQTEBb5idH8= =lXvv -----END PGP SIGNATURE----- --uCPdOCrL+PnN2Vxy--