delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/04/14:15:49

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:to:from:subject:date:message-id:references
:mime-version:content-type; q=dns; s=default; b=auG5RBrA0rUXq4o+
951XEjcHBmbx7L/I5TAzJIzjBvYRVKIddP2nzePHcoRYfQ7Goy5/QqENZG2lmMBC
MkZvm9ZztEge2o0c/AkF/hoh0sIr3KwoWEOcnfNmfB9JPyl/RuAuRZk5bZvB3CgH
LpKBEHcX1lAQgNVqZdQ21njkAi4=
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:to:from:subject:date:message-id:references
:mime-version:content-type; s=default; bh=yBINUdA+3ZPl8AwZGB8WEd
2SsX0=; b=YtmKrhq27XKIxoZbzoF40JTg8UtYEqSI+5taGJjuZWP955NXZrXfHR
0WtlSx1tZpB9GSwD0RYMplrBhFb8r2a24uOahjLGaOhuljSqK76vtmozfgkZ3XxE
d4VjbhmHNpulRrNhfBhLH2iP9ylHCdLIqOx0SWJREq5iZ9Glf0nec=
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=0.8 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Achim Gratz <Stromeko AT nexgo DOT de>
Subject: Re: setup.ini dependency graph?
Date: Mon, 04 Nov 2013 20:13:18 +0100
Lines: 44
Message-ID: <87r4awm14h.fsf@Rainer.invalid>
References: <526A986D DOT 9040202 AT cwilson DOT fastmail DOT fm> <526B8DF9 DOT 5000004 AT tiscali DOT co DOT uk> <5271000D DOT 7000604 AT cwilson DOT fastmail DOT fm> <52710EC5 DOT 2020403 AT cs DOT utoronto DOT ca> <5277AFEA DOT 9060404 AT cwilson DOT fastmail DOT fm> <20131104160032 DOT GB5526 AT ednor DOT casa DOT cgf DOT cx> <5277D9C6 DOT 9030600 AT cwilson DOT fastmail DOT fm>
Mime-Version: 1.0
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
X-IsSubscribed: yes

Charles Wilson writes:
> On 11/4/2013 11:00 AM, Christopher Faylor wrote:
>> On Mon, Nov 04, 2013 at 09:32:10AM -0500, Charles Wilson wrote:
>>> I've got a few cleanups, and then I'll share the result.  It's already
>>> helped me generate a few re-packaging requests I plan to post over on
>>> cygwin-apps...
>>
>> Is this packagable?  It sounds pretty interesting.
>
> Probably. I could put it in cygutils, or standalone (like the new
> cygcheck-leaves package is a standalone utility).

Interesting, indeed.  I've been working on another script that creates
install directories for offline installation (using multiple package
repositories and a config file to control package selection) that I hope
to get polished for public release.  It doesn't explicitly produce a
dependency graph (I do have some optional debug output that could be
used for this), but it wouldn't be difficult to bolt on (I already have
a hash for the forward dependencies).

>> Would it be crazy to generate this and make it available on the cygwin
>> web site?  Or would the dependency graph generation overload
>> sourceware.org?
>
> The basic processing to generate a .dot file is pretty simple really;
> just string comparisons and hash manipulations. But as Ryan already
> pointed out, generating the actual graph in whatever format, is
> probably compute intensive.

It might be easier to keep things a bit more simple: the most common
question is to get the direct dependencies of a package and the direct
dependents (who is requiring this package).  This graph is almost
trivial and could be followed interactively up or down the dependency
chain with little effort.  It wouldn't look as pretty as a full
dependency graph on an 8k display, but it'd be very useful.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables


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