[darwinbuild-dev] Graphical representation of plist hierarchy

Kevin Van Vechten kvv at apple.com
Wed Jan 9 17:07:38 PST 2008

On Jan 9, 2008, at 4:40 PM, Michael Franz wrote:

> Is there any way to display the inheritance hierarchy of plists?
> Since the ppc and intel version have diverged at some point it would
> be interesting to see the tree.
> I guess this could be done manually if there is no current facility.

DBCopyBuilds() will return an array of all builds known to the  
darwinxref database.

DBCopyBuildInheritance() will return an array of all builds that a  
given build inherits from (most recent build first, oldest build  
last).  Note that the inheritance for any single build is linear.

I'd recommend a simple plugin that writes a graphviz DOT file  
describing the hierarchy, then use graphviz to render it.

- Kevin

More information about the darwinbuild-dev mailing list