From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 108783 invoked by alias); 6 Nov 2017 16:15:36 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 102647 invoked by uid 89); 6 Nov 2017 16:15:24 -0000 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 Received: from lb2-smtp-cloud7.xs4all.net (HELO lb2-smtp-cloud7.xs4all.net) (194.109.24.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 06 Nov 2017 16:15:13 +0000 Received: from webmail.xs4all.nl ([IPv6:2001:888:0:22:194:109:20:208]) by smtp-cloud7.xs4all.net with ESMTPA id Bk3EeRxXBVNbYBk3EePY7T; Mon, 06 Nov 2017 17:15:04 +0100 Received: from a83-162-234-136.adsl.xs4all.nl ([83.162.234.136]) by webmail.xs4all.nl with HTTP (HTTP/1.1 POST); Mon, 06 Nov 2017 17:15:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 06 Nov 2017 16:15:00 -0000 From: Houder To: cygwin@cygwin.com Subject: Re: setup.ini has multiple "prev" entries ... Why? In-Reply-To: References: <20e5f0520f9831ecd59e509dc7f7d852@xs4all.nl> 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= X-SW-Source: 2017-11/txt/msg00126.txt.bz2 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