delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/11/06/11:15:51

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: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 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=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
Date: Mon, 06 Nov 2017 17:15:04 +0100
From: Houder <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: Re: setup.ini has multiple "prev" entries ... Why?
In-Reply-To: <d62f76d8-5f85-5de6-caf2-7f4b933f861c@dronecode.org.uk>
References: <20e5f0520f9831ecd59e509dc7f7d852 AT xs4all DOT nl> <fa73b1f580569c798dbe8c3867b6a01d AT xs4all DOT nl> <d62f76d8-5f85-5de6-caf2-7f4b933f861c AT dronecode DOT org DOT uk>
Message-ID: <4d21a147a71d1d54b153b9f580c07886@xs4all.nl>
X-Sender: houder AT xs4all DOT 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

- Raw text -


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