delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/11/07/05:25:29

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:message-id:from:to:subject:references
:in-reply-to:content-type; q=dns; s=default; b=tgVtJQ03LjPfuM7Cj
g0qsflL56s6+NEX+6LaEy7qtQMmERNQT0JQ2MH1LL66i/KRcQ7YZw2EGxHF+uDBz
xIkQiRVuXxXtMndo7KtBQBc6R2FW/hFXvdyJopwkbgroJcytzHteGfUNHncbhQnC
4Z36Hka5CCKIM6hm3xDlr5/Ats=
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:message-id:from:to:subject:references
:in-reply-to:content-type; s=default; bh=8p2eIEoeJ26uvB2IxNfFb9T
wYzc=; b=P4GLoTc3p1JLPO32QLGJG2+4tm1DVuIpe7RG4Holl1+6+g1WnrfuhbB
URL0iV7MvEH2eAfbcSot3IOoO+ptOTdD2e+V3DjKAElopmb9mBls8QocUyLsiayT
xdwRIVQnjW8/vhdE9/Y7YlT+Jdn66X2ziwAsGFoyMIKuOENgdeGQ=
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=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*nl
X-HELO: lb2-smtp-cloud9.xs4all.net
Date: Tue, 07 Nov 2017 11:25:10 +0100
Message-ID: <7b7758f7e2017b5c236b96adb4a1efb4@smtp-cloud9.xs4all.net>
From: Houder <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: Re: setup.ini has multiple "prev" entries ... Why?
References: <20e5f0520f9831ecd59e509dc7f7d852 AT xs4all DOT nl> <fa73b1f580569c798dbe8c3867b6a01d AT xs4all DOT nl> <d62f76d8-5f85-5de6-caf2-7f4b933f861c AT dronecode DOT org DOT uk> <87tvy7e15r DOT fsf AT Rainer DOT invalid>
In-Reply-to: <87tvy7e15r.fsf@Rainer.invalid>
User-Agent: mua.awk 0.99
X-CMAE-Envelope: MS4wfK7iFhd84G08mG1C2KVKuy2wekKZat1nqyRT+c5NRluhcxa6LNeN+/V3ZierU2aOwDIGSxFXt4Hls5v5eGLHzQD6Lg0+yowsfQTugm53wd6C2JutMEx0 S3J6IZuxRY6Wvml42xHi+IVoJRjlqmhbQI/qCfyVc/a5y+wYIabHS1RIooNAMsKoJiaS7YQg8e/GOg==

On Mon, 06 Nov 2017 19:02:08, Achim Gratz wrote:
> Jon Turney writes:
> > Since [1], there's no way to install a prev version using setup,
> > without explicitly selecting which version you want, so the ordering
> > of those [prev] versions in setup.ini is relatively unimportant.
> 
> For setup that is true, but linear parsers that can only keep one
> version for each section would benefit if the last [prev] section was
> the one that immediately precedes [curr].  So it would be helpful if you
> could ensure it's done that way and state it in the documentation.

Agreed! A linear parser of setup.ini would _definitely_ benefit if

 - the "current" section,
 - the most recent [prev] section, and
 - the most recent [test[ section

would have a "fixed" position relative to the package section. I concur.

Moreover it would make the "version" comparison superfluous in case one
is only interested in the these 3 versions of a package.

Being able to skip the "version" comparison is definitely a plus!

Regards,

Henri


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