From owner-cvs-all Thu Apr 19 14:40:17 2001 Delivered-To: cvs-all@freebsd.org Received: from sj-msg-core-3.cisco.com (sj-msg-core-3.cisco.com [171.70.157.152]) by hub.freebsd.org (Postfix) with ESMTP id 166F937B43E; Thu, 19 Apr 2001 14:40:03 -0700 (PDT) (envelope-from bmah@cisco.com) Received: from bmah-freebsd-0.cisco.com (bmah-freebsd-0.cisco.com [171.70.84.42]) by sj-msg-core-3.cisco.com (8.9.3/8.9.1) with ESMTP id OAA13489; Thu, 19 Apr 2001 14:38:40 -0700 (PDT) Received: (from bmah@localhost) by bmah-freebsd-0.cisco.com (8.11.3/8.11.1) id f3JLe1263886; Thu, 19 Apr 2001 14:40:01 -0700 (PDT) (envelope-from bmah) Message-Id: <200104192140.f3JLe1263886@bmah-freebsd-0.cisco.com> X-Mailer: exmh version 2.3.1 01/19/2001 with nmh-1.0.4 To: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Cc: bmah@FreeBSD.org, Kris Kennaway , "David O'Brien" , Akinori MUSHA , Chris Faulhaber , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/editors/vim6 Makefile distinfo pkg-plist In-Reply-To: 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> Comments: In-reply-to asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) message dated "19 Apr 2001 14:17:41 -0700." From: bmah@FreeBSD.org (Bruce A. Mah) Reply-To: bmah@FreeBSD.org X-Face: g~c`.{#4q0"(V*b#g[i~rXgm*w;:nMfz%_RZLma)UgGN&=j`5vXoU^@n5v4:OO)c["!w)nD/!!~e4Sj7LiT'6*wZ83454H""lb{CC%T37O!!'S$S&D}sem7I[A 2V%N&+ X-Image-Url: http://www.employees.org/~bmah/Images/bmah-cisco-small.gif X-Url: http://www.employees.org/~bmah/ Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_11074381P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 19 Apr 2001 14:40:01 -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --==_Exmh_11074381P Content-Type: text/plain; charset=us-ascii If memory serves me right, Satoshi - Ports Wraith - Asami wrote: > * From: "Bruce A. Mah" > > * 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