From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Guix size reduction work group Date: Mon, 10 Feb 2020 09:09:57 +0100 Message-ID: <87r1z2c17u.fsf@ambrevar.xyz> References: <87pneul50i.fsf@ambrevar.xyz> <87blqdnjuv.fsf@gnu.org> <875zghdo7j.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]:36275) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j148p-00038p-VQ for guix-devel@gnu.org; Mon, 10 Feb 2020 03:10:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j148o-0006S9-Cq for guix-devel@gnu.org; Mon, 10 Feb 2020 03:10:03 -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 , Christopher Baines Cc: Guix Devel --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable zimoun writes: >> Say FOO has BAR in its closure, but not in the explicit inputs, how can >> I figure out which of the indirect inputs drags BAR in? > > I do not understand what you are looking for, but there is already: > > guix graph -t reverse-package > guix graph -t reverse-bag Yes, but this produces way too big a graph, which was my point below. > Maybe something more dynamic using 'd3.js' or similar to view *big* > graphs could help. Indeed! > The first step seems to list what operations and filtering is missing. I'm not sure what d3.js can do, but I can think of the following: =2D The ability to "hide" nodes and all their edges by making them translucent (so that they can be unhidden). =2D Hide/show all nodes inside the mouse rectangular selection. =2D Hide/show all nodes matching some text. =2D Close the current selection, that is, if some intermediary nodes are hidden for the currently showing nodes, show them. > You could propose such feature to the Guix Data Service. > For example, on this webpage [1], the history of all the Git package > in Guix is shown. The closure size could be reported. > > [1] http://data.guix.gnu.org/repository/1/branch/master/package/git This is a great idea! Christopher, what do you think? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5BD9UACgkQm9z0l6S7 zH9JyAf+I4M9+0jGvuT/RlVxYt3hwyNrDx0/K0SYu+WGlGFceN0VN//BNoxkzexM vMARrcUntOhbVjJ+tTiJgr0yN0iKvS9F5CdZhegVfAMgVX6943tz02lIpwlqjqKT 8LE0JuqCabjDYCSsRXEZ8EQXX7s7gQmljRd2OvmjpY2CdvuCfyTDMlTYu1ImebXI 5VkHj8VrLEyNLvlnYgTSy0VaL9h5+pHM7FJgG9r9kgEL5Dcx49ZOF9jjzPs2M34x Lv6cKV03v67EiMjaEEuVLa7ZW1mkJDZnJrXgYW7sOmoOvU3RW3EGbge8rKgDM64P OjE6DblVdrABmh0WSLmEj71YTmFkmQ== =SchV -----END PGP SIGNATURE----- --=-=-=--