From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Lirzin Subject: Re: New =?utf-8?B?4oCYZ3VpeCBncmFwaOKAmQ==?= command Date: Thu, 27 Aug 2015 12:58:08 +0200 Message-ID: <87egipgfr3.fsf@openmailbox.org> References: <87io8164s0.fsf@gnu.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]:54326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUutP-0008MO-CB for Guix-devel@gnu.org; Thu, 27 Aug 2015 06:58:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUutL-0005Ap-RN for Guix-devel@gnu.org; Thu, 27 Aug 2015 06:58:51 -0400 In-Reply-To: <87io8164s0.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 27 Aug 2015 00:53: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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Guix-devel Nice job, It is really convenient to have such utility. Does it sound feasible to produce different edge colors depending of the ty= pe of inputs? ludo@gnu.org (Ludovic Court=C3=A8s) writes: > =E2=80=98bag-emerged=E2=80=99 > This is the package DAG, _including_ implicit inputs. > > For instance, the following command: > > guix graph --type=3Dbag-emerged coreutils | dot -Tpdf > dag.pdf > > ... yields this bigger graph: > > > > At the bottom of the graph, we see all the implicit inputs of > GNU-BUILD-SYSTEM (*note =E2=80=98gnu-build-system=E2=80=99: Build Sy= stems.). > > Now, note that the dependencies of those implicit inputs=E2=80=94tha= t is, > the =E2=80=9Cbootstrap dependencies=E2=80=9D (*note Bootstrapping::)= =E2=80=94are not shown > here, for conciseness. > > =E2=80=98bag=E2=80=99 > Similar to =E2=80=98bag-emerged=E2=80=99, but this time including al= l the bootstrap > dependencies. Not really important, but IMO it would be clearer to define bag-emerged in terms of what bag is doing with something like this. --8<---------------cut here---------------start------------->8--- =E2=80=98bag=E2=80=99=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 This is the package DAG, _including_ implicit inputs.=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =E2=80=98bag-emerged=E2=80=99=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 Similar to =E2=80=98bag=E2=80=99, but this time without all the bootst= rap dependencies. For instance, the following command:=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 guix graph --type=3Dbag-emerged coreutils | dot -Tpdf > dag.pdf=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 [...] --8<---------------cut here---------------end--------------->8--- What do you think? -- Mathieu Lirzin