From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: 01/01: scripts: refresh: Allow searching recursively. Date: Sat, 05 Jan 2019 18:43:16 +0100 Message-ID: <87tvin2e6j.fsf@gnu.org> References: <20181224103304.24211.61386@vcs0.savannah.gnu.org> <20181224103305.59E3520448@vcs0.savannah.gnu.org> <87bm59fxzs.fsf@gnu.org> <20181225171003.GP2581@macbook41> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggsout.gnu.org ([209.51.188.92]:52395 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfpyp-00021y-0W for guix-devel@gnu.org; Sat, 05 Jan 2019 12:43:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfpyl-0000aU-6l for guix-devel@gnu.org; Sat, 05 Jan 2019 12:43:26 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:51590) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gfpyi-0000S5-Du for guix-devel@gnu.org; Sat, 05 Jan 2019 12:43:21 -0500 In-Reply-To: <20181225171003.GP2581@macbook41> (Efraim Flashner's message of "Tue, 25 Dec 2018 19:10:03 +0200") 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: Efraim Flashner Cc: guix-devel@gnu.org Efraim Flashner skribis: > On Tue, Dec 25, 2018 at 04:05:11PM +0100, Ludovic Court=C3=A8s wrote: >> Hello! >>=20 >> guix-commits@gnu.org skribis: >>=20 >> > efraim pushed a commit to branch master >> > in repository guix. >> > >> > commit c39491829a0c1d870f8133b8f7a699152fc71503 >> > Author: Efraim Flashner >> > Date: Wed Dec 19 22:08:18 2018 +0200 >> > >> > scripts: refresh: Allow searching recursively. >> >=20=20=20=20=20 >> > * guix/scripts/refresh.scm (refresh-recursive, list-transitive): N= ew >> > procedures. >> > (show-help): Document it. >> > (guix-refresh): Add flags and checks for new options. >> > * doc/guix.texi (Invoking guix refresh): Document new options. >>=20 >> Nice work! >>=20 >> > +@item --list-transitive >> > +List all the packages which one or more packages depend upon. >>=20 >> What about =E2=80=98--list-dependencies=E2=80=99, for clarity and symmet= ry with >> =E2=80=98--list-dependents=E2=80=99? >>=20 > > It was originally '--list-recursive' but Bavier suggested > '--list-transitive' so it would match 'guix build --sources=3Dtransitive' > > If it's too close to '--list-dependents' then I'm worried people could > look at it and ask 'packages FOO is dependent on or packages that are > dependent on FOO?' Good point. I do feel like =E2=80=98--list-dependencies=E2=80=99 is cleare= r though. With =E2=80=98list-transitive=E2=80=99, since =E2=80=9Ctransitive=E2=80=9D = is an adjective, I first wondered: transitive what? What do people think? Thanks, Ludo=E2=80=99.