Subject: Re: pkg_install, small bug&patch for dewey.c
To: Lukasz Stelmach <lukasz.stelmach@telmark.waw.pl>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-pkg
Date: 10/08/2007 11:37:39
On Mon, Oct 08, 2007 at 08:38:04AM +0200, Joerg Sonnenberger wrote:
> On Mon, Oct 08, 2007 at 03:07:24AM +0200, Lukasz Stelmach wrote:
> > 02:19:13, Monday 08 October, Joerg Sonnenberger wrote:
> > 
> > > britannica% cd wd/pkgsrc/packages 
> > > britannica% pkg_admin lsbest All/libX11-1.1.3    
> > > /home/joerg/wd/pkgsrc/packages/All/libX11-1.1.3.tgz
> > > 
> > > So it certainly does. Besides, this code path should not have been
> > > reached with a full version number.
> > 
> > OK but... Shouldn't '!=' work either? IMHO (very, very humble)
> > both equality operators should be available. It doesn't break
> > anything after all.
> 
> != was never part of part. There will be an "update" to the dependency
> handling in the future and that will also include an inequality
> operator, but that doesn't exist ATM. You can somewhat workaround it
> using a combination of ranges and {}.

!= and == were both included in the original code, and could
easily be brought out to do what the OP wants. I'm a bit
concerned that Joerg's update hasn't been mooted on any list
that I subscribe to (ewww, grammar, tsk, tsk), and that
changes are being made on the hoof. The change which caused
problems in the dewey code, for example - (and, yes, we've
had words about this, but nothing was resolved).

Having said all of that, we've managed to do without using
!= and == in the Dewey code and pkgsrc for 8 or 9 years -
I'm just wondering why it's something that we need now?

Thanks,
Al