From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5375 invoked by alias); 7 Nov 2017 14:19:49 -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 5322 invoked by uid 89); 7 Nov 2017 14:19:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Hx-languages-length:1235, H*Ad:D*nl, Hx-spam-relays-external:ESMTPA, documents X-HELO: out4-smtp.messagingengine.com Received: from out4-smtp.messagingengine.com (HELO out4-smtp.messagingengine.com) (66.111.4.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 07 Nov 2017 14:19:45 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3FD15208A1; Tue, 7 Nov 2017 09:19:44 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Tue, 07 Nov 2017 09:19:44 -0500 X-ME-Sender: Received: from [192.168.1.102] (host86-162-230-154.range86-162.btcentralplus.com [86.162.230.154]) by mail.messagingengine.com (Postfix) with ESMTPA id C1BB324BCA; Tue, 7 Nov 2017 09:19:43 -0500 (EST) Subject: Re: setup.ini has multiple "prev" entries ... Why? To: The Cygwin Mailing List References: <20e5f0520f9831ecd59e509dc7f7d852@xs4all.nl> <87tvy7e15r.fsf@Rainer.invalid> <7b7758f7e2017b5c236b96adb4a1efb4@smtp-cloud9.xs4all.net> From: Jon Turney Cc: Houder Message-ID: <37b4645e-630c-d2eb-3229-4dfb275dda12@dronecode.org.uk> Date: Tue, 07 Nov 2017 14:19:00 -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: <7b7758f7e2017b5c236b96adb4a1efb4@smtp-cloud9.xs4all.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2017-11/txt/msg00145.txt.bz2 On 07/11/2017 10:25, Houder wrote: > 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. I'd much rather put things in version order, but it seems that is impossible. I've added a sentence to the description of setup.ini which documents the position of preferred [test] and [prev] sections. Note that it is 'previous' in the sense of 'version comes before the current version', not 'previously was current'. -- 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