From owner-freebsd-ports@FreeBSD.ORG Mon Jun 28 18:00:35 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15FCC16A4CE for ; Mon, 28 Jun 2004 18:00:35 +0000 (GMT) Received: from out004.verizon.net (out004pub.verizon.net [206.46.170.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 940B843D31 for ; Mon, 28 Jun 2004 18:00:32 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from [192.168.1.3] ([68.161.84.3]) by out004.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040628180031.FANU1551.out004.verizon.net@[192.168.1.3]>; Mon, 28 Jun 2004 13:00:31 -0500 Message-ID: <40E05CBE.40507@mac.com> Date: Mon, 28 Jun 2004 14:00:30 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040608 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Oliver Eikemeier References: <5BD6716A-C917-11D8-9FE1-00039312D914@fillmore-labs.com> In-Reply-To: <5BD6716A-C917-11D8-9FE1-00039312D914@fillmore-labs.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out004.verizon.net from [68.161.84.3] at Mon, 28 Jun 2004 13:00:31 -0500 cc: FreeBSD ports cc: Sergey Matveychuk Subject: Re: Ports with version numbers going backwards: devel/ode X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jun 2004 18:00:35 -0000 Oliver Eikemeier wrote: > Sergey Matveychuk wrote: [ ... ] > As far as I understand your proposal this will give us > > 0.005 < 0.05 < 0.039 < 0.050 < 0.5 < 0.39 < 0.50 < 0.390 < 0.500 > > while the current order is > > 0.005 = 0.05 = 0.5 < 0.039 = 0.39 < 0.050 = 0.50 < 0.390 < 0.500 > > so you have `interesting' sequences like `0.05 < 0.039 < 0.5 < 0.39'. > This is what you intended, but it looks strange to me. Consider perl-5.006 versus perl-5.6. Should they be equal, or should the second be greater? We have almost exactly that with the base version at 5.005 and the default perl port at 5.6.1. :-) Sergy is saying .006 < .6, or ought to be, rather than equal. Basicly, use the presence of a leading zero to indicate the version # should be considered via a decimal math comparision, rather than "version # as integer counter". -- -Chuck