From owner-cvs-ports@FreeBSD.ORG Thu May 6 14:24:45 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 E43E216A4CE; Thu, 6 May 2004 14:24:45 -0700 (PDT) Received: from gw.celabo.org (gw.celabo.org [208.42.49.153]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D7D643D45; Thu, 6 May 2004 14:24:43 -0700 (PDT) (envelope-from nectar@celabo.org) Received: from madman.celabo.org (madman.celabo.org [10.0.1.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "madman.celabo.org", Issuer "celabo.org CA" (not verified)) by gw.celabo.org (Postfix) with ESMTP id C2E6154840; Thu, 6 May 2004 16:24:42 -0500 (CDT) Received: by madman.celabo.org (Postfix, from userid 1001) id 64C6E6FF36; Thu, 6 May 2004 16:24:42 -0500 (CDT) Date: Thu, 6 May 2004 16:24:42 -0500 From: "Jacques A. Vidrine" To: Garance A Drosihn Message-ID: <20040506212442.GF2316@madman.celabo.org> Mail-Followup-To: "Jacques A. Vidrine" , Garance A Drosihn , Oliver Eikemeier , ports-committers@freebsd.org, cvs-ports@freebsd.org, cvs-all@freebsd.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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://www.celabo.org/ User-Agent: Mutt/1.5.6i cc: cvs-ports@freebsd.org cc: ports-committers@freebsd.org cc: cvs-all@freebsd.org cc: Oliver Eikemeier 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 21:24:46 -0000 On Thu, May 06, 2004 at 04:57:48PM -0400, Garance A Drosihn wrote: > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=56961 > > I have thought from time-to-time that the version-numbering > scheme seems a bit hard to follow for some ports. Yes, in the end I'd really like a simpler scheme. > I don't > know if the PR does exactly what I want. The rule of: > > - characters !~ [a-zA-z0-9.] are treated as separators > (1.0+2003.09.16 = 1.0.2003.09.16). This may not be > what you expect: 1.0.1+2003.09.16 < 1.0+2003.09.16 > > seems like it would cause confusion, for instance. I don't > know exactly what would be a better tactic, though. Ports committers must be aware of such gotchas. If we tried to add another level of structure, for example, it would not be clear which of the following was the latest version: 1.0.1+2003.09.16 or 1.0+2003.12.25 ? I think I'd be in favor of disallowing `alternative' separators, just so such gotchas are more obvious. I mean, the problem is likely more obvious if you have 1.0.2003.09.16 and 1.0.1.2003.09.16. 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. 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. Hmm, I guess this might be part of why Oliver wanted to introduce a special behavior for `pl' ? Cheers, -- Jacques Vidrine / nectar@celabo.org / jvidrine@verio.net / nectar@freebsd.org