I remember that there was a tool to show graphically the package
dependencies. Did I dream? If not, where is it?
--
Pat
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
01-12-2008, 11:52 AM
Steve Grubb
graphically show dependencies
On Saturday 12 January 2008 06:53:28 Patrice Dumas wrote:
> I remember that there was a tool to show graphically the package
> dependencies. Did I dream? If not, where is it?
rpmgraph shows you the runtime dependencies that are in the rpm. Notably,
rpmbuild does not figure out shell script dependencies, so that is missing.
(But it could with a little work by scanning installed packages for shell
scripts and running bash --rpm-requires $TARGET).
I also wrote a utility for the rookery build system that captures the build
time dependencies suitable for graphing which is a little different than
runtime. This was to allow analysis of code or subsystem changes to see what
might be affected.
-Steve
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
01-12-2008, 12:19 PM
Caolan McNamara
graphically show dependencies
On Sat, 2008-01-12 at 07:52 -0500, Steve Grubb wrote:
> On Saturday 12 January 2008 06:53:28 Patrice Dumas wrote:
> > I remember that there was a tool to show graphically the package
> > dependencies. Did I dream? If not, where is it?
>
> rpmgraph shows you the runtime dependencies that are in the rpm. Notably,
> rpmbuild does not figure out shell script dependencies, so that is missing.
> (But it could with a little work by scanning installed packages for shell
> scripts and running bash --rpm-requires $TARGET).
It'd be nice to see a graph of dependencies in pirut, see what things
are at the tip of branches that nothing depends on that could be
removed.
C.
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
01-12-2008, 12:31 PM
Chris Snook
graphically show dependencies
Ignacio Vazquez-Abrams wrote:
On Sat, 2008-01-12 at 13:19 +0000, Caolan McNamara wrote:
It'd be nice to see a graph of dependencies in pirut, see what things
are at the tip of branches that nothing depends on that could be
removed.
Building such a graph is... non-trivial and shouldn't be done on the
fly.
http://en.wikipedia.org/wiki/Topological_sort
-- Chris
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
01-12-2008, 12:33 PM
Ignacio Vazquez-Abrams
graphically show dependencies
On Sat, 2008-01-12 at 13:19 +0000, Caolan McNamara wrote:
> It'd be nice to see a graph of dependencies in pirut, see what things
> are at the tip of branches that nothing depends on that could be
> removed.
Building such a graph is... non-trivial and shouldn't be done on the
fly.
--
Ignacio Vazquez-Abrams <ivazqueznet@gmail.com>
PLEASE don't CC me; I'm already subscribed
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
01-12-2008, 12:43 PM
"Jonathan Underwood"
graphically show dependencies
On 12/01/2008, Ignacio Vazquez-Abrams <ivazqueznet@gmail.com> wrote:
> On Sat, 2008-01-12 at 13:19 +0000, Caolan McNamara wrote:
> > It'd be nice to see a graph of dependencies in pirut, see what things
> > are at the tip of branches that nothing depends on that could be
> > removed.
>
> Building such a graph is... non-trivial and shouldn't be done on the
> fly.
>
That said, there is some of the logic in package-cleanup --leaves and
package-cleanup --leaves --all
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
01-12-2008, 11:59 PM
Andrew Farris
graphically show dependencies
Jonathan Underwood wrote:
On 12/01/2008, Ignacio Vazquez-Abrams <ivazqueznet@gmail.com> wrote:
On Sat, 2008-01-12 at 13:19 +0000, Caolan McNamara wrote:
It'd be nice to see a graph of dependencies in pirut, see what things
are at the tip of branches that nothing depends on that could be
removed.
Building such a graph is... non-trivial and shouldn't be done on the
fly.
That said, there is some of the logic in package-cleanup --leaves and
package-cleanup --leaves --all
If it could be built and saved as an addition to the rpm database perhaps...
might it be faster to 'check' or correct such a graph later so it doesn't need
to be built on the fly at all?
--
Andrew Farris <lordmorgul@gmail.com> <ajfarris@gmail.com>
gpg 0xC99B1DF3 fingerprint CDEC 6FAD BA27 40DF 707E A2E0 F0F6 E622 C99B 1DF3
No one now has, and no one will ever again get, the big picture. - Daniel Geer
---- ----
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list