Date: Mon, 28 Jun 2004 14:00:30 -0400 From: Chuck Swiger <cswiger@mac.com> To: Oliver Eikemeier <eikemeier@fillmore-labs.com> Cc: Sergey Matveychuk <sem@ciam.ru> Subject: Re: Ports with version numbers going backwards: devel/ode Message-ID: <40E05CBE.40507@mac.com> In-Reply-To: <5BD6716A-C917-11D8-9FE1-00039312D914@fillmore-labs.com> References: <5BD6716A-C917-11D8-9FE1-00039312D914@fillmore-labs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40E05CBE.40507>