X-Recipient: archive-cygwin@delorie.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:content-type
	:content-transfer-encoding:date:from:to:subject:in-reply-to
	:references:message-id; q=dns; s=default; b=EspLU+/Wev/CpVRbKgTf
	EUXpu8mxarSBy2L+IxX0MO3DE0ygqiXdpcyz21ynpGQq3fqZhZyvJWddaALcH1/P
	LL9hh+QW7ktEQoOAVSBsVPFNScoWaKFgJQq1amAFf1OiFBE87AFuYGbDkszBU18V
	8eT1pMpGs3oro7AhCFf9oO8=
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:content-type
	:content-transfer-encoding:date:from:to:subject:in-reply-to
	:references:message-id; s=default; bh=WXVuZ3XGyxvoJWpwkPgz0UO+g7
	o=; b=HZZFWfhXW/AcelcWnzRfJCyD2BQ5ExZmJG4By64FCwuCvDiSitbGwhWvEU
	i+sz8YrnXRgF0XJSEmzQzarB9UE+vbSKUkyE5iSwQmtxTlkFQjnuXmjAhRY0ZGM2
	MGhmt1AqBSC5bsX9A+DEQWl9k+uAd+UxKBRFk26RNXL8QRx/4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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=and!, Hx-languages-length:1253, H*F:D*nl, Hx-spam-relays-external:ESMTPA
X-HELO: lb2-smtp-cloud7.xs4all.net
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Content-Transfer-Encoding: 7bit
Date: Mon, 06 Nov 2017 17:15:04 +0100
From: Houder <houder@xs4all.nl>
To: cygwin@cygwin.com
Subject: Re: setup.ini has multiple "prev" entries ... Why?
In-Reply-To: <d62f76d8-5f85-5de6-caf2-7f4b933f861c@dronecode.org.uk>
References: <20e5f0520f9831ecd59e509dc7f7d852@xs4all.nl> <fa73b1f580569c798dbe8c3867b6a01d@xs4all.nl> <d62f76d8-5f85-5de6-caf2-7f4b933f861c@dronecode.org.uk>
Message-ID: <4d21a147a71d1d54b153b9f580c07886@xs4all.nl>
X-Sender: houder@xs4all.nl
User-Agent: XS4ALL Webmail
X-CMAE-Envelope: MS4wfFhSY4K+OAl/8XpB2pDaFLNixH/zABfWgwHgQavIssRp/76lKB/Xf1yyXEieGtAO0rP5kvx79NStWEzNY3N7Yx9lFEU/cjAa8P++jDchDxE4+0320T87 KC4dJKM6YC9CyySXpTmtmPDPFYDiekoildEJyj/xmL8BlakWZ8R469cBQmxx0K2OxGhWvE7gCMJVuqXEDvkkbnpSBhW/sL1+GSg=

On 2017-11-06 15:20, Jon Turney wrote:
[snip]

> 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.
> 
> [1] https://cygwin.com/ml/cygwin-apps/2011-07/msg00064.html

True from the perspective of using setup ... yes ... and! as long as
"version" is able to express (and OBEYS) an UNIQUE order (i.e. "A is
more recent than B"), which may fail in practice by chance ...

Otherwise (if there is no unique order), it will be "hard" to provide
an answer to a question, like

     "what is the most recent previous version of this package?",

... even when using setup.

Regards,

Henri

> However, you can tell setup to install "the test version", so we
> ensure that the highest version [test] section is last, to ensure it's
> the one that setup installs.
> 
>> Meaning, one has to "interpret" the version id of each "prev" entry,
>> in order to be able to establish the _latest_ "prev" entry (i.e. the
>> version of the package before the current one) ?
> 
> Yes.
> 
> (Although due to historical mistakes with version numbers, that
> ordering might be wrong)

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

