From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 121697 invoked by alias); 7 Nov 2017 10:25:15 -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 121687 invoked by uid 89); 7 Nov 2017 10:25:14 -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=H*F:D*nl X-HELO: lb2-smtp-cloud9.xs4all.net Received: from lb2-smtp-cloud9.xs4all.net (HELO lb2-smtp-cloud9.xs4all.net) (194.109.24.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 07 Nov 2017 10:25:12 +0000 Received: from tmp.FUNYdmvStV ([83.162.234.136]) by smtp-cloud9.xs4all.net with ESMTPSA id C148e8otTnIXbC149eYT1o; Tue, 07 Nov 2017 11:25:10 +0100 Date: Tue, 07 Nov 2017 10:25:00 -0000 Message-ID: <7b7758f7e2017b5c236b96adb4a1efb4@smtp-cloud9.xs4all.net> From: Houder To: cygwin@cygwin.com Subject: Re: setup.ini has multiple "prev" entries ... Why? References: <20e5f0520f9831ecd59e509dc7f7d852@xs4all.nl> <87tvy7e15r.fsf@Rainer.invalid> In-Reply-to: <87tvy7e15r.fsf@Rainer.invalid> Content-Type: text/plain; charset=UTF-8; format=fixed User-Agent: mua.awk 0.99 X-CMAE-Envelope: MS4wfK7iFhd84G08mG1C2KVKuy2wekKZat1nqyRT+c5NRluhcxa6LNeN+/V3ZierU2aOwDIGSxFXt4Hls5v5eGLHzQD6Lg0+yowsfQTugm53wd6C2JutMEx0 S3J6IZuxRY6Wvml42xHi+IVoJRjlqmhbQI/qCfyVc/a5y+wYIabHS1RIooNAMsKoJiaS7YQg8e/GOg== X-SW-Source: 2017-11/txt/msg00143.txt.bz2 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. Moreover it would make the "version" comparison superfluous in case one is only interested in the these 3 versions of a package. Being able to skip the "version" comparison is definitely a plus! Regards, Henri -- 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