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:from:subject:to:cc:references:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=TsTDsdHKaQU+mafV itQTAG11kp1JrdBBdbJcey1B6vy+zqZetzdFHZEnkg1GZLG0bWk9VukexNd5gjkv t3eFJdQtlfqHbsgygahTzwHBnLEPwbRfl0AMsjIJYaxkYMUEMaJIAvoTLiuQBmKU f2zx1I9a+NOYT0+x9fjA5r4Y7kE= 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:from:subject:to:cc:references:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=uoDsblg9UZrQhQDZ+zQ2AE cb6ps=; b=PyOaE/6rlSAvbrPLVPxQt4xnA/HYpQvk2kTtqDzGPdYliEqKcIsZFq HBS3RuvWZ81vLwWhRN4luOfI5gSBTp7JtfBkmJx1685ZxmeVvVPcSyHytCIw2vfE CFpQADMh2h/0fsWosbEzZeZkyYopOt9FdnVGyTXbpOJpI06AiUOy4= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-3.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=H*Ad:D*nl, highest, HCc:D*nl, Hx-spam-relays-external:ESMTPA X-HELO: out4-smtp.messagingengine.com X-ME-Sender: From: Jon Turney Subject: Re: setup.ini has multiple "prev" entries ... Why? To: The Cygwin Mailing List Cc: Houder References: <20e5f0520f9831ecd59e509dc7f7d852 AT xs4all DOT nl> Message-ID: Date: Mon, 6 Nov 2017 14:20:20 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 05/11/2017 17:32, Houder wrote: > On 2017-11-05 13:48, Houder wrote: >> After I had downloaded and exercised setup version 2.882, I noticed >> that setup.ini has multiple (2?) "prev" entries per package ... >> >> Why? Did I miss one of your announcements mentioning this change? > >     https://cygwin.com/ml/cygwin-apps/2017-10/msg00047.html > >> Because of the way setup works, the last [test] section is the version >> which >> is selected when 'test' is selected, so a specific ordering of the >> sections >>  would be required. ... >> [...] > So ... if I read the above correctly, the "prev" entries can be ordered > arbitrarily with respect to each other (within a package section) ????? > (and basically, the same question with respect to the "test" entries) 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 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