Date: Thu, 19 Apr 2001 14:40:01 -0700 From: bmah@FreeBSD.org (Bruce A. Mah) To: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Cc: bmah@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>, "David O'Brien" <obrien@FreeBSD.org>, Akinori MUSHA <knu@iDaemons.org>, Chris Faulhaber <jedgar@fxp.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/editors/vim6 Makefile distinfo pkg-plist Message-ID: <200104192140.f3JLe1263886@bmah-freebsd-0.cisco.com> In-Reply-To: <yfk66g0wpvu.fsf@vader.clickarray.com> References: <200104111956.f3BJukl93003@freefall.freebsd.org> <20010419140501.A253@jive.44bsd.net> <8666g0d8ws.wl@archon.local.idaemons.org> <20010419122255.B29435@dragon.nuxi.com> <20010419123216.A53260@xor.obsecurity.org> <200104191955.f3JJtQV60074@bmah-freebsd-0.cisco.com> <yfk66g0wpvu.fsf@vader.clickarray.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--==_Exmh_11074381P Content-Type: text/plain; charset=us-ascii If memory serves me right, Satoshi - Ports Wraith - Asami wrote: > * From: "Bruce A. Mah" <bmah@FreeBSD.org> > > * The Porters Handbook nominally defines this but it doesn't handle the > * case of versions with *multiple* letters in them. Also it doesn't try > * to define the semantics of what the letters mean. > > That's because when I wrote that section I didn't think that there > would be cases where there are multiple letters, and more than one of > those would be significant. ;) I.e., if the alphabetical string in the > version number is "alpha", "beta", etc., you can just take the first > letter and have it sort before the numbers. To be perfectly honest I didn't consider this a shortcoming in the PH because this was the first time I had ever seen this situation. > Of course, it will still break down with 1.0gamma -> 1.0.g sorting > before 1.0delta -> 1.0.d, but most software only have alpha, beta and > release candidates (and they all come before real releases, in this > order). ;) I think that's fine; it's wrong for us to try to impose some semantics on the version number strings because we don't know what they are, a priori. > As for multiple letters, I think the only sensible thing to do if it > is really necessary is to compare them in dictionary order. For the one case we saw here, with 6.0aa > 6.0z, dictionary comparison gives the wrong answer. That sucks, but we always have PORTEPOCH to bail us out. > Do you think we should treat the string of digits and string of > non-digits separately, and sort them in numerical order and in > dictionary order, respectively? That will handle the 1.0.b10 case as > well as allowing a 1.0b release to follow 1.0 release (like emacs did > with 19.34 and 19.34b). That's what pkg_version does now, or what it should be doing once I get things caught up. IMHO the PH should allow this case, particularly since there's so many ports that seem to do this anyways. Thanks, Bruce. --==_Exmh_11074381P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE631sx2MoxcVugUsMRAiq0AJ9OXWMhsvtxmyrZ6IYSDeL51mi/UwCgl3XM d+ITFz7PzvOP/ACaOxsj3gU= =hNrA -----END PGP SIGNATURE----- --==_Exmh_11074381P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104192140.f3JLe1263886>