Mark Wielaard wrote:
On Mon, 2005-06-27 at 09:55 +0100, Gary Benson wrote:
> Nicolas Mailhot wrote:
> > Le lundi 27 juin 2005 à 09:36 +0100, Gary Benson a écrit :
> > > The graphs get very messy. I've done them separately for ant,
> > > tomcat and jonas, but never all together.
> >
> > Would be great to post them on jpackage-discuss - people often
> > do not realise what a new release means (and a new release means
> > getting at least ant and tomcat right)
>
> Ok, I'll post them next time I make a set...
Could you post instructions on how to make such a set? It doesn't
have to be some fancy graph. Just a list of all
dependencies/packages would be nice. I assume yum/rpm actually has
them. I hope there is some easy way to get a list starting from the
jonas or eclipse-platform package.
I've generally written scripts to query the rpm database and/or a
directory full of rpms and emit graphviz files for printing.
Generally the scripts will start with a package at the top of the tree
(tomcat5-admin-webapps, for example, or lately jonas-examples) and
work their way down through whatever set of dependencies I was
interested in and ignoring whatever set of things I didn't want to
see.
I attached an example, so you can see what I mean. If I recall, it
draws a graph of the runtime dependencies of the packages I maintain
in FC4, with subpackages treated as separate entities.
Hope that helps,
Gary