Re: New ‘guix graph’ command

2015-09-11 Thread Ludovic Courtès
Cyril Roelandt skribis: > On 08/27/2015 12:53 AM, Ludovic Courtès wrote: >> Here’s a long overdue ‘guix graph’ command (documentation below.) >> Comments welcome! > > Would it be hard to do the opposite of what guix graph does ? I'd like > to be able to find the list of packages which depend on a

Re: New ‘guix graph’ command

2015-09-11 Thread Leo Famulari
I think that is what `guix gc --referrers /gnu/store/...package` does. http://www.gnu.org/software/guix/manual/html_node/Invoking-guix-gc.html On Thu, Sep 10, 2015, at 20:02, Cyril Roelandt wrote: > On 08/27/2015 12:53 AM, Ludovic Courtès wrote: > > Here’s a long overdue ‘guix graph’ command (doc

Re: New ‘guix graph’ command

2015-09-10 Thread Cyril Roelandt
On 08/27/2015 12:53 AM, Ludovic Courtès wrote: > Here’s a long overdue ‘guix graph’ command (documentation below.) > Comments welcome! Would it be hard to do the opposite of what guix graph does ? I'd like to be able to find the list of packages which depend on a given package. This would be usefu

Re: New ‘guix graph’ command

2015-09-04 Thread Andreas Enge
On Fri, Sep 04, 2015 at 10:13:01AM +0200, Pjotr Prins wrote: > Maybe we should have both. Well, there is no real need for two versions; if most people like things as they are, they should stay as they are. Andreas

Re: New ‘guix graph’ command

2015-09-04 Thread Pjotr Prins
t; > From: guix-devel-bounces+mec=stowers@gnu.org [mailto:guix-devel- > > bounces+mec=stowers@gnu.org] On Behalf Of Ludovic Courtès > > Sent: Thursday, September 03, 2015 3:47 PM > > To: Andreas Enge > > Cc: Guix-devel > > Subject: Re: New ‘guix graph’

RE: New ‘guix graph’ command

2015-09-03 Thread Cook, Malcolm
-devel- > bounces+mec=stowers@gnu.org] On Behalf Of Ludovic Courtès > Sent: Thursday, September 03, 2015 3:47 PM > To: Andreas Enge > Cc: Guix-devel > Subject: Re: New ‘guix graph’ command > > Hey! > > Andreas Enge skribis: > > > Very neat indeed!

Re: New ‘guix graph’ command

2015-09-03 Thread Thompson, David
On Thu, Sep 3, 2015 at 4:46 PM, Ludovic Courtès wrote: > Hey! > > Andreas Enge skribis: > >> Very neat indeed! A tiny bit of nitpicking: Would it not be preferable if >> the arrows were reversed, from the inputs to the dependent packages? > > Dunno, maybe the graph people would choose the other d

Re: New ‘guix graph’ command

2015-09-03 Thread Ludovic Courtès
Hey! Andreas Enge skribis: > Very neat indeed! A tiny bit of nitpicking: Would it not be preferable if > the arrows were reversed, from the inputs to the dependent packages? Dunno, maybe the graph people would choose the other direction but I like it this way, looks more “intuitive” to me. Wha

Re: New ‘guix graph’ command

2015-09-03 Thread Andreas Enge
Hello! On Thu, Aug 27, 2015 at 12:53:03AM +0200, Ludovic Courtès wrote: > Here’s a long overdue ‘guix graph’ command (documentation below.) > Comments welcome! Very neat indeed! A tiny bit of nitpicking: Would it not be preferable if the arrows were reversed, from the inputs to the dependent pack

Re: New ‘guix graph’ command

2015-08-27 Thread Thompson, David
On Thu, Aug 27, 2015 at 4:55 PM, Ludovic Courtès wrote: > "Thompson, David" skribis: > >> Just one question: I see that when using the 'references' type, each >> node in the graph has an arrow pointing to itself. Is that >> intentional? > > It’s not really “each node” but rather “most nodes.” :

Re: New ‘guix graph’ command

2015-08-27 Thread Ludovic Courtès
"Thompson, David" skribis: > Just one question: I see that when using the 'references' type, each > node in the graph has an arrow pointing to itself. Is that > intentional? It’s not really “each node” but rather “most nodes.” :-) The daemon keeps track of all the references of each item, inc

Re: New ‘guix graph’ command

2015-08-27 Thread Thompson, David
On Wed, Aug 26, 2015 at 6:53 PM, Ludovic Courtès wrote: > Hi! > > Here’s a long overdue ‘guix graph’ command (documentation below.) > Comments welcome! This is awesome! I think it will prove to be a really helpful tool for understanding the relationships between packages and discovering issues l

Re: New ‘guix graph’ command

2015-08-27 Thread Alex Kost
Ludovic Courtès (2015-08-27 01:53 +0300) wrote: > Here’s a long overdue ‘guix graph’ command (documentation below.) > Comments welcome! This is really cool! Thank you! -- Alex

Re: New ‘guix graph’ command

2015-08-27 Thread Ludovic Courtès
Mathieu Lirzin skribis: > Nice job, It is really convenient to have such utility. > > Does it sound feasible to produce different edge colors depending of the type > of inputs? Of course! But this is left as an exercise to the reader. :-) Similarly, I thought we could use different color boxe

Re: New ‘guix graph’ command

2015-08-27 Thread Mathieu Lirzin
Nice job, It is really convenient to have such utility. Does it sound feasible to produce different edge colors depending of the type of inputs? l...@gnu.org (Ludovic Courtès) writes: > ‘bag-emerged’ > This is the package DAG, _including_ implicit inputs. > > For instance, the followin

Re: New ‘guix graph’ command

2015-08-27 Thread Pjotr Prins
Very useful! On Thu, Aug 27, 2015 at 12:53:03AM +0200, Ludovic Courtès wrote: > Hi! > > Here’s a long overdue ‘guix graph’ command (documentation below.) > Comments welcome! > > Ludo’.