delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/08/19/20:18:22

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; q=dns; s=default; b=hay4VewI+xEkUPAkbnLO5dt258maz
TjChdZCp7G4n0xzmDCxQc3hnLMtMj7yqQ7/JWBFYpomnUWlWSzM504/XJioQs7zs
LuELCKfaQ/3Y2xCdApagp5Y6pDna3tSXobSFT+T1xMdnROwzz0zI8lB2cmIqyeeR
8PuCeAa4Vfxr0Q=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:from:date:message-id:subject:to
:content-type; s=default; bh=wKCQ8G+qfe28lMbJQJ4Bwje7Muw=; b=nMw
+DxHJn6lW0Tu84UltQc6XmUOyyjlQIV0a8WDUuAUHVB3KTM5Lh4eDULgav0tTqhD
bKQPQIJLsr8Fcq+F+6d/MlAz9b2RfiXwqYkrobrjs1/xJygxi71yUDkuF/85+y04
l5y4sAPJkKxt3ia1q9WcWWbrDQ1Zm3JWklAlvE14=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.3 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-ig0-f179.google.com
X-Received: by 10.50.72.6 with SMTP id z6mr5082474igu.65.1440029880288; Wed, 19 Aug 2015 17:18:00 -0700 (PDT)
MIME-Version: 1.0
From: SundaraRaman R <sundaryourfriend AT gmail DOT com>
Date: Thu, 20 Aug 2015 05:47:21 +0530
Message-ID: <CAOORhHouCeMbcrFLMacxR07A-UQWE0-f8hxJQF4u6Dgh3pyWAA@mail.gmail.com>
Subject: A Perl script to visually show Cygwin setup dependencies
To: cygwin AT cygwin DOT com

 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019