From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Package file indexing Date: Thu, 09 Jan 2020 16:41:35 +0100 Message-ID: <87woa07i34.fsf@ambrevar.xyz> References: <20190314204941.GA21065@jasmine.lan> <87mulx9kuv.fsf@nckx> <87zhpx846u.fsf@ambrevar.xyz> <87bm21y2s2.fsf_-_@gnu.org> <87imw7cpe7.fsf@bababa.i-did-not-set--mail-host-address--so-tickle-me> <87pnqdhkpf.fsf@gnu.org> <87imlt3hr2.fsf@ambrevar.xyz> <87v9pk94ch.fsf@ambrevar.xyz> <8736co90dg.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:40424) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ipZwO-0000OK-K1 for guix-devel@gnu.org; Thu, 09 Jan 2020 10:41:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ipZwM-000186-Nz for guix-devel@gnu.org; Thu, 09 Jan 2020 10:41:44 -0500 In-Reply-To: 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-mx.org@gnu.org Sender: "Guix-devel" To: zimoun Cc: Guix-devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable zimoun writes: >> The benefit of "/" is that it works _incidentally_. If you are looking >> for "bin/hg", then `guix search bin/hg` will do the right thing. > > I agree. > > To be clear, to search the binary 'hg', I find clearer "guix search bin/h= g". > However, to search any file which you do not the path, I find clearer > "guix search file:foo.h". To be clear, you don't need to know the path. It's enough to know the basename, e.g. `guix search /foo.h`. >> What I meant is that we already have a subcommand that outputs a >> property of the given packages, i.e. "guix size". If I'm not mistaken, >> there is no "guix package" flag that displays any property for the given >> packages. > > You are suggesting "guix size emacs --list-files", right? No, I'm saying that if we follow the current approach for printing our package properties, we should have guix list-files emacs =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl4XSa8ACgkQm9z0l6S7 zH9ZtAgAir8RlKBrJC13oVHw1/wZkKJpFp7aFuJ1VROhmR08+CLMQrmuIm1tTBWz ecZZlIM89xEqbvumLXsnysyMZVWUXsepZ0JNNefkzeu7Xxi9VPl62RsnfHF81bYN Em9Regqm3uOepyYSmX598FDArpXHPCiOp/UHC4T014tCIBxSDCXI9BvlZXYFNA1C 0hFEsBVKK8nvsVZfUvTq4OxviaSGqrrNBUyftslw6H6++VitzLoT9m7crWxqv+GG HDmFBQ3z8bCGjqbLgER15eMaCjtRN9e+lPT2yoncUGDma45ascmfli4U2hEIpbKD xc/UMeBzuA9Bn2FRPZXuXpAP3yUgrw== =EG7J -----END PGP SIGNATURE----- --=-=-=--