From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] guix: refresh: Use bags. Date: Fri, 10 Oct 2014 22:42:34 +0200 Message-ID: <87zjd3ac79.fsf@gnu.org> References: <87lhonvhz6.fsf@member.fsf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xch1J-0003GY-Ad for guix-devel@gnu.org; Fri, 10 Oct 2014 16:42:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xch1B-0006Sn-56 for guix-devel@gnu.org; Fri, 10 Oct 2014 16:42:34 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:53749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xch1A-0006Sb-Tq for guix-devel@gnu.org; Fri, 10 Oct 2014 16:42:29 -0400 In-Reply-To: <87lhonvhz6.fsf@member.fsf.org> (Eric Bavier's message of "Fri, 10 Oct 2014 14:32:13 -0500") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Eric Bavier Cc: guix-devel@gnu.org Eric Bavier skribis: > This patch allows the `guix refresh --list-dependent` option to be more > accurate in its dependency reporting, mostly by taking into account > implicit dependencies generated at the build-system level (thanks to our > new wonderful bags). Cool! > From ebc348a37addd53bab27ede856e0e4af3aa10b41 Mon Sep 17 00:00:00 2001 > From: Eric Bavier > Date: Fri, 10 Oct 2014 14:27:20 -0500 > Subject: [PATCH] guix: refresh: Use bags. > > * guix/packages.scm (bag-direct-inputs): New procedure. > * gnu/packages.scm (package-dependencies): Use it. OK! Would be good eventually to add tests for =E2=80=98package-direct-dependent= s=E2=80=99 & co. > Out of curiosity, I also produced this table of packages and their total > number of dependent packages. Something similar might be useful for us, > e.g., when deciding whether a package update should go in master or > core-updates. Definitely! I=E2=80=99m surprised gzip, diffutils, patch, and tar are very low, even th= ough they=E2=80=99re part of %final-inputs. Conversely, bzip2 (also part of %final-inputs) is higher. Any idea? Thanks, Ludo=E2=80=99.