FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux General Discussion

 
 
LinkBack Thread Tools
 
Old 11-24-2007, 12:02 AM
"Cesar G. Miguel"
 
Default Dependencies view between arch packages

Hi Scott,

> Thanks Cesar, I'm working on integrating it (you had added it into an
> older version of the script ). I'll probably use a passed argument
> to generate the dependency tree image so people don't need pydot to
> run the rest of the script.

You're right, that's better :-)

> Also, how long does it take to generate the image? I waited >15
> minutes and then gave up. Did I screw up my integration of the code or
> does it simply take a long time?

Strange... it takes about 10 seconds @ 3 Ghz to generate the svg image
(using the core/base and core/extra repositories).

> I'll hopefully post an updated version in the next couple of days,
> just have a few other things to improve.

Take your time. I've tried to implement a depth-first search to find
cycles in the repository graph structure, but yours is working better
and faster, so I gave up :-)

> Ok nevermind, it simply takes a while. I must've stopped just short of
> the generation, it takes ~18 minutes here.
> Now to figure out why it generates a blank png file...

That's unusual! Can you send me the code? I'll run the same script
you're working on and time the results. You could also uncomment those
3 lines in function visualize_repo to save to disk the output string
used by pydot and try it manually with graphviz:

$dot output.dot -Tpng -o dependency_tree.png

Let me know how it goes!

[]'s
Cesar

On Nov 23, 2007 4:56 PM, Scott Horowitz <stonecrest@gmail.com> wrote:
> On Nov 22, 2007 5:45 PM, Cesar G. Miguel <cesargm@ime.usp.br> wrote:
> > @Scott: please fell free to merge the differences and distribute.
> > There are probably some minor bugs yet.
>
> Thanks Cesar, I'm working on integrating it (you had added it into an
> older version of the script ). I'll probably use a passed argument
> to generate the dependency tree image so people don't need pydot to
> run the rest of the script.
>
> Also, how long does it take to generate the image? I waited >15
> minutes and then gave up. Did I screw up my integration of the code or
> does it simply take a long time?
>
> I'll hopefully post an updated version in the next couple of days,
> just have a few other things to improve.
>
> Scott
>
> _______________________________________________
> arch mailing list
> arch@archlinux.org
> http://archlinux.org/mailman/listinfo/arch
>

_______________________________________________
arch mailing list
arch@archlinux.org
http://archlinux.org/mailman/listinfo/arch
 

Thread Tools




All times are GMT. The time now is 03:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org