From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73340 invoked by alias); 22 Jul 2015 09:43:55 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 73325 invoked by uid 89); 22 Jul 2015 09:43:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 X-HELO: calimero.vinschen.de Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 22 Jul 2015 09:43:52 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 63C3FA80929; Wed, 22 Jul 2015 11:43:50 +0200 (CEST) Date: Wed, 22 Jul 2015 09:43:00 -0000 From: Corinna Vinschen To: cygwin-apps@cygwin.com Subject: Re: upset, genini: different version ordering Message-ID: <20150722094350.GI3864@calimero.vinschen.de> Reply-To: cygwin-apps@cygwin.com Mail-Followup-To: cygwin-apps@cygwin.com References: <87380i671e.fsf@Rainer.invalid> <55AD399D.7020001@dronecode.org.uk> <87y4ia4qnp.fsf@Rainer.invalid> <20150720190010.GV3864@calimero.vinschen.de> <87twsy4mms.fsf@Rainer.invalid> <20150721065556.GY3864@calimero.vinschen.de> <87r3o1phtw.fsf@Rainer.invalid> <20150721184914.GE3864@calimero.vinschen.de> <87mvyppbmf.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="djTb5EnuS5qMpC9h" Content-Disposition: inline In-Reply-To: <87mvyppbmf.fsf@Rainer.invalid> User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2015-07/txt/msg00165.txt.bz2 --djTb5EnuS5qMpC9h Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1377 On Jul 21 21:13, Achim Gratz wrote: > Corinna Vinschen writes: > > That's not sufficient, probably. I'm pretty sure you'd have to tweak > > setup as well. >=20 > Maybe, but the order setup itself imposes really comes into play only if > the system has a version installed that is not in setup.ini anymore and > that setup would order before all other versions listed there. And > forcing "curr" to be installed (the sync toggle that has been proposed) > takes care of that. But then, for the time being, you can take care of this weird ordering with prev and cutrr markers, right? > > And then there's still the questionable license of upset... >=20 > That's why I don't really want to look at the code. Well, apart from "me, no perl", me neither. Nevertheless I looked into upset briefly (I'm tainted anyway), and it turns out that the version number handling is entirely hand-made. Version.pm is a 85 lines perl script, providing two functions, Normalize($;$) and Sort(\@) Your suggestion was to change upset to use the version handling lib from http://search.cpan.org/~jpeacock/version-0.9912/lib/version.pod, right? Is anybody here willing to rework a set of perl scripts to improve the version handling :} Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --djTb5EnuS5qMpC9h Content-Type: application/pgp-signature Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVr2XWAAoJEPU2Bp2uRE+gXpEQAKTekpO3/cS6gSXJ89dw6wtI G/++EOAyF5F3yfkGErutQ12avzwEJ2AsQZuRgkaOiGvkc/0dGYzsq/7xHU11Z4Cp em3E53H2L9egW8PxY97rztmxtDp9KtOyDCUNtZZwf3w9NaRi3zvOQhYhr6tXxdOW Sf/AnjbnpF67eLwWP6Izlk1hT0TZ01qld+IySfTM9zN8B77o2A3JvdPTsf0ecAfs 72fN4XJNfXHxhCf1QPozXL14Ix/VOT4C7WyQu86J3GNIEgczqj5SKj6ycp8nC1HG azWlL/WTuakraHh40WJEICTuX7IXieDLAY26qlAv7P+/fs29caYdijsv8GtCSrlD bortrOgARSWF7+W6/cPSdRr77085PuurWcCEzNirJtYW/1HtajT3xITnjjM3++vK F/5DJKnlyQbXQuXH1M+LMsGqSLZeWUBD503akhYtt+X3kSNpKOlBrlReZvTV3aTB S4SO39StM/ecXLSBG+/VgsvFMVmIQSSmZi2WD4ltikkGghT2eY5po9ztGboKUtNW pdoTiMlQ1vVNFR4V2GGbWfBklFnyUdZNEqNNYLaiMVyrLZ0NZ9wSzawo7TWbm2tO VHW3nQL327y3nINFTpFHVab8u8JL9X1Pj50PbfTC8EpfAp5mG/Mm5UAEeSOiez9J 47+ixsrW1FHw+lutKzQi =ESCW -----END PGP SIGNATURE----- --djTb5EnuS5qMpC9h--