From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: bug#33137: [Wishlist] recursive guix lint Date: Tue, 30 Oct 2018 09:35:29 +0200 Message-ID: <20181030073529.GI1297@macbook41> References: <20181024123915.GB1297@macbook41> <875zxqup8r.fsf@gnu.org> <20181027203013.GF1297@macbook41> <878t2h66yf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="xGGVyNQdqA79rdfn" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHOZK-000623-67 for bug-guix@gnu.org; Tue, 30 Oct 2018 03:36:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHOZG-0000sw-6t for bug-guix@gnu.org; Tue, 30 Oct 2018 03:36:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:48919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHOZG-0000sa-2i for bug-guix@gnu.org; Tue, 30 Oct 2018 03:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gHOZF-0005BK-Up for bug-guix@gnu.org; Tue, 30 Oct 2018 03:36:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <878t2h66yf.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33137@debbugs.gnu.org --xGGVyNQdqA79rdfn Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 28, 2018 at 11:29:28PM +0100, Ludovic Court=C3=A8s wrote: > Efraim Flashner skribis: >=20 > > On Thu, Oct 25, 2018 at 03:31:32PM +0200, Ludovic Court=C3=A8s wrote: > >> Hello, > >>=20 > >> Efraim Flashner skribis: > >>=20 > >> > We have the linter check for CVEs and updates to packages in a list,= but > >> > what about those packages they depend on? It would be great to be ab= le > >> > to 'guix lint --recursive foo' and get foo and also all the packages= in > >> > the different types of inputs. > >>=20 > >> On the question of CVEs, see also > >> . > >>=20 > >> Do you think --recursive would be useful for other types of linters? > >>=20 > >> Thanks, > >> Ludo=E2=80=99. > > > > Checking for new versions would definately be good. >=20 > But that=E2=80=99s what =E2=80=98guix refresh=E2=80=99 does, right? >=20 I assume you mean 'guix lint -c refresh'. 'guix lint -c refresh foo' is nice, but we don't have anything that could take the place of 'guix lint -c refresh --recursive foo' I just saw again 'guix refresh', 'guix refresh --recursive -m my-manifest.scm' would be great. > > It seems to me that checking everything would make for better code > > overall, but the behavior I would expect is that it would check all > > the linters specified in the command. >=20 > If you run =E2=80=98guix lint=E2=80=99 without any arguments, all the pac= kages are > checked. Is this what you meant? I meant more like "hey, khard can be upgraded to 0.12.2, after I've checked the upgrade with 'guix lint khard', now I'd like to check the rest of the dependency tree with 'guix lint --recursive khard' to see if anything else can be upgraded or has any linter errors." >=20 > Thanks, > Ludo=E2=80=99. --=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 --xGGVyNQdqA79rdfn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAlvYCb0ACgkQQarn3Mo9 g1FyeBAAjtNjer2zTl9KqD1tGByV+eDMeC+bpIX9qZ9mDERTJ6P4Fv+STc3PHhC6 2QLymnojsG34lo1Bp7tkev5lTfz2Tu+OWb6MsqT/bzEe1LHesTH2xZNACUYjOmeG D1MWWiZDBc/235w6PLnxL3dBJpMUlcJD8DWCDJ77sMow8XJ6lLfehD185+YUTz2x OlJ2ZSHMOtxHJfSq+Wm4R9at+yFKT285JBTD3l+jQuARKAnElnksHo0UT3jDuccm ceL5d3iMFnKqvHeEy25cve487Hb6KDTAEKlBMhIzpGqWHKy2xp9nAseJjM7EV4WH s2tTtufOvXbAmaCRC1yjYct30a85CiZdjCEKHm56tu2wN2sK+Ce9YpybaCFlIYsO s90q1lKpgCozrRXhyzfvftSZN08vOIh9j7zGEMmcDHPtsZ2LXn8cFv0/Ktj1OX83 hTdZ3+kOz/dTbjT24svN46yK5DABJSJihilhivCuyerdPhs2XpxB3JNLlp92h9ok w6fiJJkrZMauZLDrwziR3E+NwgSaopTaJ6OqXb6yKEodV2Ta+EOuMDq2LsFier3H Kej1BHGVOVzlBCv+Iy1htFsroBchr3rhlUVFbkBAc1V9tov54xc84YqnBBniPT/N j+hjKl68JoqfYN2UbSXNQk+mwiSBnewx4BvxIDcKt/V4bpSKGaA= =w+i0 -----END PGP SIGNATURE----- --xGGVyNQdqA79rdfn--