From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Graphs are cool Date: Wed, 14 Oct 2015 21:52:56 +0200 Message-ID: <87oag1qlbb.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]:45716) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmS6k-0002EL-57 for guix-devel@gnu.org; Wed, 14 Oct 2015 15:53:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmS6f-0008Gd-Ut for guix-devel@gnu.org; Wed, 14 Oct 2015 15:53:06 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmS6f-0008GK-Qz for guix-devel@gnu.org; Wed, 14 Oct 2015 15:53:01 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:36118 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ZmS6d-0005YX-2v for guix-devel@gnu.org; Wed, 14 Oct 2015 15:52:59 -0400 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: guix-devel Hello! The =E2=80=98guix system=E2=80=99 command now supports two new sub-commands: =E2=80=98extension-graph=E2=80=99 and =E2=80=98dmd-graph=E2=80=99. The for= mer produces a Dot representation of the service extension graph, while the latter produces a Dot representation of the graph of dmd services (part of the documentation pasted below.) Comments welcome! Personally I think it=E2=80=99s pretty neat. :-) Ludo=E2=80=99. The =E2=80=98guix system=E2=80=99 command has even more to offer! The f= ollowing sub-commands allow you to visualize how your system services relate to each other: =E2=80=98extension-graph=E2=80=99 Emit in Dot/Graphviz format to standard output the =E2=80=9Cservice extension graph=E2=80=9D of the operating system defined in FILE (*note Service Composition::, for more information on service extensions.) The command: $ guix system extension-graph FILE | dot -Tpdf > services.pdf produces a PDF file showing the extension relations among services. =E2=80=98dmd-graph=E2=80=99 Emit in Dot/Graphviz format to standard output the =E2=80=9Cdependency graph=E2=80=9D of dmd services of the operating system defined in FILE. *Note dmd Services::, for more information and for an example graph.