Re: [gentoo-portage-dev] Atom matching behavior

2006-08-02 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Mike Frysinger wrote:
> On Tuesday 01 August 2006 15:49, Thomas de Grenier de Latour wrote:
>>  - =sys-libs/db-1.8* matches 1.85 (found in
>> net-nds/directoryadministrator)
>>
>>  - =app-text/docbook-xsl-stylesheets-1.6* matches 1.68.1 and 1.69.1
>> (found in media-sound/solfege)
> 
> these should actually be SLOT deps, but portage sucks
> -mike

I've reopened bug 93469 and I'll be investigating what it will be necessary to 
implement this.  This feature is blocking bug 4698 which is an annoying problem 
that I'd really like to get fixed.

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFE0Wtp/ejvha5XGaMRArjGAJ9dEVZ0CnD/2YOdEmXNASnbnWh+TwCcC4zU
DylTJfDd/BxApOiBdiYrLbU=
=aBzd
-END PGP SIGNATURE-
-- 
gentoo-portage-dev@gentoo.org mailing list



Re: [gentoo-portage-dev] Re: Atom matching behavior

2006-08-02 Thread Simon Stelling
Brian Harring wrote:
> Response to this is that "well don't have versions like that", 
> which while valid, is ignoring the point- cpvs are exact in their 
> version specification, there isn't anything implicit about them. 

This sounds to me like 'division through zero doesn't make sense, but
i've still got the right to do it'. Really, if anybody is ever going to
release 1.0 and 1.0.0 along each other, that person is completely on
crack. You can't do 2/0, either can you have 1.0 and 1.0.0 being
different versions. They should be the same.

That being said, which one is higher?

> Tag on a (.0)* implicitly, you open up potential issues like above.

Nonissue, really.

-- 
Kind Regards,

Simon Stelling
Gentoo/AMD64 Developer
-- 
gentoo-portage-dev@gentoo.org mailing list



Re: [gentoo-portage-dev] Atom matching behavior

2006-08-02 Thread Mike Frysinger
On Tuesday 01 August 2006 15:49, Thomas de Grenier de Latour wrote:
>  - =sys-libs/db-1.8* matches 1.85 (found in
> net-nds/directoryadministrator)
>
>  - =app-text/docbook-xsl-stylesheets-1.6* matches 1.68.1 and 1.69.1
> (found in media-sound/solfege)

these should actually be SLOT deps, but portage sucks
-mike


pgp5ECbXPG1Dw.pgp
Description: PGP signature


Re: [gentoo-portage-dev] Atom matching behavior

2006-08-02 Thread Mike Frysinger
On Tuesday 01 August 2006 02:58, Thomas de Grenier de Latour wrote:
>  - "=sys-devel/autoconf-2.1*" matches autoconf-2.13 (found in
> net-proxy/privoxy and dev-tcltk/expect)

this is because stupid portage lacks SLOT deps

>  - "=sys-devel/autoconf-2.5*" matches autoconf-2.59 (found in
> x11-libs/gtk-server and media-plugins/xmms-jack)

this too is because SLOT deps are missing, but this is broken anyways as it'll 
work with autoconf-2.6x ...
-mike


pgp44n4PDPuyl.pgp
Description: PGP signature


Re: [gentoo-portage-dev] Re: Atom matching behavior

2006-08-02 Thread Mike Frysinger
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