delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/30/05:05:33

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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=BwhWoPzTA4GpQW35
fvp2iq5BQIX5ePJuLq3id4d9fX0oT+TDMGw6awi2bd+3K563dr/kqC8ZNsLOPUUH
UCkDQDYGcmxEqg48udQQx3tlmQ5E26S5ZISqKHeyobm73EcYRBnJDtfoK2ZIGp52
FENx0SSVIYFGk9AyeGPRmWIFXMo=
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:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=Rf2jccrgRh1sW88i+Bmy/1
GEcec=; b=rU/cHPpUFkSgkeFaz6N5l5he5TETVTzSVPVUa4XBxGXKg7tkRvrqEa
Prxmt5KDm1av9EkG7ogCIMaS3g+687p7Keoxfbi5FGf36ZXC+MpKGRkY5vd7n91O
wI57e4YcVoPBtXXyvtk41++bNk8LO8wlalxy+Eycq4OV8YKIMXXrk=
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=1.9 required=5.0 tests=BAYES_40,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=terrible, HX-Priority:Normal, H*F:D*yandex.ru, Hx-languages-length:1538
X-HELO: forward105j.mail.yandex.net
Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Sat, 30 Sep 2017 12:00:08 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <216159991.20170930120008@yandex.ru>
To: "Sam Edge (Cygwin)" <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com
Subject: Re: Dependency issues in setup.ini.
In-Reply-To: <505405e4-5a2f-8d6b-f012-404bd7d69009@gmx.com>
References: <505405e4-5a2f-8d6b-f012-404bd7d69009 AT gmx DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Sam Edge (Cygwin)!

> I've been developing a Python package that can interrogate and
> manipulate local package caches (the directories where setupXXX.exe
> keeps its downloads) and installation databases (from Cygwin
> /etc/setup/installed.db files) with a mind to pruning, merging and
> reporting in the spiript of Michael A. Chase's 'clean_setup' utility but
> as a scriptable tool set rather than a stand-alone utility.

I'm eager to see the fruits of your labor.

> It's not production ready yet but it's already flagged up some issues.

> For example we have lots of dependency loops in the 'requires' fields in
> setup.ini - even to the point that some packages depend upon themselves!

Dependency upon itself is curious, but other than that, this is a normal
situation for a package manager. Some packages are split for easier
maintenance of each, but are interlocked in their typical usage pattern.

> And also we have some dependency omissions. For example, mintty doesn't
> depend upon anything - it has no requires field. Surely, every binary
> package should depend at least upon 'cygwin'?

While this is "not good", this is also not particularly bad for packages in
base - this group is always installed.

> Is this a known issue or should I report in more detail?

Nonetheless, such issues are best kept highlighted, unless it is clearly
seen/documented as intended.


-- 
With best regards,
Andrey Repin
Saturday, September 30, 2017 11:54:56

Sorry for my terrible english...


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