Detecting dependencies

Jason Hellenthal jhell at DataIX.net
Thu Sep 15 05:25:26 UTC 2011


Thank YOU! this is a fine example of some of the better things that can
be done to ease a maintainers lifecycle of ports and administration of
systems.

On Thu, Sep 15, 2011 at 12:06:03AM +0300, chukharev at mail.ru wrote:
> Hi,
> 
> There have been a discussion about finding interdependencies of ports.
> I have a relatively simple Python script for that. There is a pr ports/160007
> to add its early version. Unfortunately, I missed a reply to it, so there is
> an issue which I have not yet addressed...
> 
> Since that time, I added reverse dependencies with full ports tree scanning
> (1 h on my 2.5GHz notebook) and saving the tree (directed graph, actually)
> to a file, so that rescanning all ports tree is not needed.
> 

A cache... awesome!

> See http://code.google.com/p/porttree/
> 
> If there will be interest, scanning packages interdependencies could
> also be added.
> 

Yes! I certainly am interested.

Idea Board:

1. Would be cool if this would work on already installed ports or packages
too! just a thought.

2. If it would detect the presence of UTF-8 in the LANG or LC_ALL
environment vars and use the appropriate drawing method for each rather
than a default to UTF-8. "I am happy with it as is though"

3. Also upon note (2) detect the presence of networkx and not depend on
it for your port and fall back to an ealier drawing method. "not sure
how well this would play out"


To be honest, I really wouldnt change anything about it from my
standpoint. Its simplicity compliments its use. Bravo & Kudo's!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 522 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20110915/d7dd3cbf/attachment.pgp


More information about the freebsd-ports mailing list