On Tuesday 01 August 2006 13:19, Brian Harring wrote: > On Tue, Aug 01, 2006 at 12:48:05AM -0400, Mike Frysinger wrote: > > On Monday 31 July 2006 23:57, Drake Wyrm wrote: > > > The question I'm trying to ask is this: =foo-1.2.* should obviously > > > match "foo-1.2.3", but should it also match on "foo-1.2"? It seems more > > > _useful_ that the 1.2 version would also match, despite not having the > > > .3 subversion, but perhaps that is not perfectly intuitive from the > > > syntax. > > > > portage versions have implicit .0 extension ad infinitum so matching 1.2 > > would make logical sense as it is really just 1.2.0 ... > > Err... wrong actually (try emerge -pv =dev-util/diffball-0.6.5 and > emerge -pv =dev-util/diffball-0.6.5.0). cpv's don't have implicit .0 > extensions, and that should _not_ be changed.
when it comes to version comparing, there is implicit .0 extension ... which is what we're talking about here, comparing versions -mike
pgpQJGnVPTQDE.pgp
Description: PGP signature