public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: SundaraRaman R <sundaryourfriend@gmail.com>
To: cygwin@cygwin.com
Subject: A Perl script to visually show Cygwin setup dependencies
Date: Thu, 20 Aug 2015 00:18:00 -0000	[thread overview]
Message-ID: <CAOORhHouCeMbcrFLMacxR07A-UQWE0-f8hxJQF4u6Dgh3pyWAA@mail.gmail.com> (raw)

 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

             reply	other threads:[~2015-08-20  0:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-20  0:18 SundaraRaman R [this message]
2015-08-20 23:16 ` Steven Penny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOORhHouCeMbcrFLMacxR07A-UQWE0-f8hxJQF4u6Dgh3pyWAA@mail.gmail.com \
    --to=sundaryourfriend@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).