From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Extracting a reachability path out of a (package) DAG Date: Fri, 03 Aug 2018 20:54:22 -0700 Message-ID: <87a7q2947l.fsf@gmail.com> References: <20180717101033.113807d5@alma-ubu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1flne8-0001Zn-4b for guix-devel@gnu.org; Fri, 03 Aug 2018 23:54:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1flne7-0006zk-Cw for guix-devel@gnu.org; Fri, 03 Aug 2018 23:54:28 -0400 Received: from mail-pl0-x22b.google.com ([2607:f8b0:400e:c01::22b]:41052) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1flne7-0006xp-58 for guix-devel@gnu.org; Fri, 03 Aug 2018 23:54:27 -0400 Received: by mail-pl0-x22b.google.com with SMTP id w19-v6so1719598ply.8 for ; Fri, 03 Aug 2018 20:54:26 -0700 (PDT) In-Reply-To: <20180717101033.113807d5@alma-ubu> (=?utf-8?Q?=22Bj=C3=B6rn?= =?utf-8?Q?_H=C3=B6fling=22's?= message of "Tue, 17 Jul 2018 10:10:33 +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: =?utf-8?Q?Bj=C3=B6rn_H=C3=B6fling?= Cc: guix-devel --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Bj=C3=B6rn! Bj=C3=B6rn H=C3=B6fling writes: > gvpr -f markpath.g -a "ex 64168128 64167936" < qt-thing/qt.package.dot >>qt-acw.dot > > This extracts (ex) the path (sub-DAG) to the two seed nodes and outputs > it in a new graph. This result is quite compact with only 12 nodes (attac= hed). > > [...] > > Hope that is useful to someone else, This is so cool! I used this today to reduce a spaghetti monster graph of dependencies into a small, understandable graph. I didn't even know about gvpr, but now it's one of my favorite little tools! :-) Thank you for sharing the knowledge, and the script! =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAltlI24ACgkQ3UCaFdgi Rp3PLQ//VALr74r1qhgEt9M854dpsctaE3xJnSpaG9UDFkkd3xOPE0WhrVvE3Z8H onzBdhvsD38tvXicTwS62glRu1sX+9g9/Xjcs8nBMCc3sZzbQm4nQUWjIPE2fTvQ z2dWKmTLfuBmcSMB9ssFp2h2tpizUtCpJFabgjQ9F+r/T6RE1Vk5gH7I+Sj8roVr 0m2pfdJlnCf06enQZT5Ziul2MzTRPxy7CiymNbeYQ7NmziL3nbIq4KBQb6jjGETk cmoukLALkZNP3J/CCzm8vgmf0eVM5/heVXRR14TtzuNv6AGH2UjBlaWsszPWAPYY teURriARNXx/GmoW3JCkKpWtuhROze+OK5peIF/OgYjaWCXmriPIqe6wv8Yl3JWc RRHN21JVcIg9QqiOIdzhaZ/HHOda5czFPx2yay/kxlJB4sX6xrg3DQKERhBwfdNT RQG8BP80OkHDfCObznzvbMD6fdlqoTfbCy/eimyqJ7d+5V+nHJHO7hRh7bxAcAD+ Y9HQ2bENH4aOiZ5IqneNbZBFMeUHStaH0BSq7OgVhITwR3XROMWez8oj7YwbSWev JFyNjqixGMkXbKijedZuXVv+B6+ccIBs4XfmyftypxG4nxtBns5nDkBKdZ0yeyVY 1igXgdK6juGsnDA40D5IatHW/Q9Ms1gm2WfaXgdB6p4vgKRRueM= =HiEZ -----END PGP SIGNATURE----- --=-=-=--