From owner-cvs-ports@FreeBSD.ORG Thu May 6 16:13:14 2004 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8609F16A4CE; Thu, 6 May 2004 16:13:14 -0700 (PDT) Received: from mtaw4.prodigy.net (mtaw4.prodigy.net [64.164.98.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0ACA543D1D; Thu, 6 May 2004 16:13:14 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (0f7e1d56a47a5b277f92706723499b84@adsl-67-115-73-128.dsl.lsan03.pacbell.net [67.115.73.128]) by mtaw4.prodigy.net (8.12.10/8.12.10) with ESMTP id i46ND9fj004848; Thu, 6 May 2004 16:13:10 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 73BD3521DA; Thu, 6 May 2004 15:44:27 -0700 (PDT) Date: Thu, 6 May 2004 15:44:27 -0700 From: Kris Kennaway To: "Jacques A. Vidrine" , Kris Kennaway , Garance A Drosihn , Oliver Eikemeier , ports-committers@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.org Message-ID: <20040506224427.GA96804@xor.obsecurity.org> References: <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> <20040506212442.GF2316@madman.celabo.org> <20040506213641.GA93452@xor.obsecurity.org> <20040506220855.GI2316@madman.celabo.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <20040506220855.GI2316@madman.celabo.org> User-Agent: Mutt/1.4.2.1i Subject: Re: discussion on package-version numbers... (PR 56961) X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 May 2004 23:13:14 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 06, 2004 at 05:08:55PM -0500, Jacques A. Vidrine wrote: > > 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. >=20 > That's true, mistakes will happen. But simpler conventions could make > the mistakes more obvious. >=20 > Strawman version grammar >=20 > ::=3D ( ()? )? '_' ',' > ::=3D > ::=3D > ::=3D ('.' )? > ::=3D > ::=3D > ::=3D 'a'..'z' > ::=3D 32-bit integer >=20 >=20 > The components are compared in this order: > { epoch, major, letter, minor, revision } > with this exception: > - Certain combinations represent `prereleases'. These are > versions with a component, but no component. > All prerelease versions are less than all non-prerelease versions > with the same and components. >=20 > The troublesome ports we discussed are now tame. >=20 > 3.8.1p2 > 3.8p2 > 3.8 > 3.8b > 3.8a > 1.0.1x2003.09.16 > 1.0x2003.09.16 >=20 > Perhaps we want '+' to be a `letter' :-) >=20 > Obviously, things like 1.0rc1, 1.0rc2,... (where RC is release > candidate) would need to become 1.0a, 1.0b... But one exception sure > seems like a win. Now, what have I left out ? :-) openssl 0.9.7d > 0.9.7 > You might even be able to kill the exception if you allow > and to have different meanings... The more special cases, the more mistakes people will make and the more PORTEPOCH bumps that will need to be made to correct for it. Kris --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAmr/LWry0BWjoQKURAifdAJ9+9+UFBI5i8yReSmbrdcATTZrbogCgkFAt 6ckgmDTz8R++m6wO9hP65jA= =dpZ9 -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn--