Date: Mon, 28 Jun 2004 18:35:58 +0400 From: Sergey Matveychuk <sem@ciam.ru> To: Oliver Eikemeier <eikemeier@fillmore-labs.com> Cc: FreeBSD ports <ports@FreeBSD.org> Subject: Re: Ports with version numbers going backwards: devel/ode Message-ID: <40E02CCE.6020001@ciam.ru> In-Reply-To: <30D9B1DE-C8F9-11D8-9FE1-00039312D914@fillmore-labs.com> References: <30D9B1DE-C8F9-11D8-9FE1-00039312D914@fillmore-labs.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Eikemeier wrote: >> 0.005 < 0.039 < 0.05 < 0.050 < 0.39 < 0.390 < 0.5 < 0.50 < 0.500 >> >> 4.01 < 4.1 < 4.10 < 4.100 >> >> It makes problems? > > > In you example above you have 0.39 < 0.5, which gives you > > 4.01 < 4.02 < ... < 4.09 < 4.1 < 4.10 < 4.11 < 4.2 < 4.20 < ... > > So basically FreeBSD 4.10 < FreeBSD 4.2 (which is not FreeBSD 4.02, the > latter doesn't exist). Many ports follow this conventions, for example > devel/cvs+ipv6, with 1.11.5 < 1.11.15. Besides, You'll have stuff like > 1.0 < 1.00, which is strange too. I meant we can treat leading zeros as decreasing factor. So, x.001 < x.002 < x.01 < x.02 < x.1 < x.2 < x.10 < x.20 In other words - zeros never can dropped except there are only zeros in the number i.e. X = X.0 = X.00 = X.000 etc. We can look on a version number part with leading zeros as on a number with an implicit dot: 001 -> 0.01, 02 -> 0.2 etc. So comparing will not be a problem. -- Sem.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40E02CCE.6020001>