This is the mail archive of the
mailing list for the Cygwin project.
A Perl script to visually show Cygwin setup dependencies
- From: SundaraRaman R <sundaryourfriend at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 20 Aug 2015 05:47:21 +0530
- Subject: A Perl script to visually show Cygwin setup dependencies
- Authentication-results: sourceware.org; auth=none
When you try to uninstall stuff from Cygwin, it might present you with
a list of other packages which claim to depend on what you're
uninstalling. If you're trying to uninstall a bunch of packages, it
can get pretty confusing as to what depends on what and where the
dependency chain actually starts.
This script reads such a list, and generates a graph that shows the
dependencies among the listed packages, which could help you decide
which ones you want to go back and add to the Uninstall list, and
which of the to-be-uninstalled stuff you want to keep after all.
It's a small (~50 line) Perl script, with most of the heavy-lifting
being done by the GraphViz program.
I don't know if something similar already exists, I didn't even
attempt to google for it since it seemed like an interesting thing to
write and my Perl was getting rusty. Hope someone here finds it
Note: This was written for and tested in Windows' Strawberry Perl, and
I haven't checked whether this works with Cygwin's Perl and GraphViz.
It probably does, but caveat emptor.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple