[darwinbuild-dev] Graphical representation of plist hierarchy

Michael Franz mvfranz at gmail.com
Wed Jan 9 17:18:54 PST 2008


On 1/9/08, Kevin Van Vechten <kvv at apple.com> wrote:
> 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
>
>
I have used graphiviz before, and was thinking that would be the way
to go.  I have seen this done with the linux source.  Interesting.


More information about the darwinbuild-dev mailing list