Date: Thu, 6 May 2004 14:36:41 -0700 From: Kris Kennaway <kris@obsecurity.org> To: "Jacques A. Vidrine" <nectar@freebsd.org>, Garance A Drosihn <drosih@rpi.edu>, Oliver Eikemeier <eikemeier@fillmore-labs.com>, ports-committers@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.org Subject: Re: discussion on package-version numbers... (PR 56961) Message-ID: <20040506213641.GA93452@xor.obsecurity.org> In-Reply-To: <20040506212442.GF2316@madman.celabo.org> References: <200404160124.i3G1OlUd067575@repoman.freebsd.org> <20040416163635.GB49780@madman.celabo.org> <4080151C.1070200@fillmore-labs.com> <20040416173857.GA50670@madman.celabo.org> <20040416174418.GC50670@madman.celabo.org> <40802354.3030202@fillmore-labs.com> <20040417152242.GA5543@madman.celabo.org> <20040506190729.GD1777@madman.celabo.org> <p0602040bbcc04f36c2aa@[128.113.24.47]> <20040506212442.GF2316@madman.celabo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 06, 2004 at 04:24:42PM -0500, Jacques A. Vidrine wrote: > Another sticky area is e.g. openssh 3.8p2 versus 3.8.1p2. Under > current rules, 3.8p2 > 3.8.1p2, which is obviously not intended by > the ports committer. A workaround would have been to use 3.8.p2 < > 3.8.1.p2. I don't particularly like that, because 3.8 > 3.8.p2 --- it > wouldn't be a problem in practice, since all openssh portable versions > have the `p', but it is ugly. >=20 > This is really very similar to the previous thing... there is an > inadvertant attempt to use `p' to add another level of structure to > the version name. The problem is again clearer when it is viewed like > so: 3.8.2 > 3.8.1.2. >=20 > Hmm, I guess this might be part of why Oliver wanted to introduce a > special behavior for `pl' ? Some ports use "p1" for "patchlevel 1", some use it for "prerelease version 1". Since we can't have it both ways, committers need to remember to use pkg_version -t and some careful foresight to avoid running version numbers backwards. However ultimately there will be continue to be mistakes made, even if version monotonicity is somehow enforced at commit-time. Kris --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD4DBQFAmq/pWry0BWjoQKURAjo3AJd1MgtiPkfylooLiHa5dQoVAc4/AKD+iSJ3 g2XQnkA7KEJZjfri8F+DBA== =02kk -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040506213641.GA93452>