public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* A Perl script to visually show Cygwin setup dependencies
@ 2015-08-20  0:18 SundaraRaman R
  2015-08-20 23:16 ` Steven Penny
  0 siblings, 1 reply; 2+ messages in thread
From: SundaraRaman R @ 2015-08-20  0:18 UTC (permalink / raw)
  To: cygwin

 https://github.com/digital-carver/cygdepparser

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
useful.

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.

Cheers,
Sundar

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: A Perl script to visually show Cygwin setup dependencies
  2015-08-20  0:18 A Perl script to visually show Cygwin setup dependencies SundaraRaman R
@ 2015-08-20 23:16 ` Steven Penny
  0 siblings, 0 replies; 2+ messages in thread
From: Steven Penny @ 2015-08-20 23:16 UTC (permalink / raw)
  To: cygwin

On Wed, Aug 19, 2015 at 7:17 PM, SundaraRaman R wrote:
> 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
> useful.

Yes, yes it does:

    apt-cyg depends
    apt-cyg rdepends

http://github.com/transcode-open/apt-cyg

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-20 23:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-20  0:18 A Perl script to visually show Cygwin setup dependencies SundaraRaman R
2015-08-20 23:16 ` Steven Penny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).