[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: New package dependency field format



On Thu, Sep 04, 2003 at 08:17:28PM +0200, Josip Rodin wrote:
> > > > > > ! is probably needed.
> > > > > 
> > > > > What for, exactly? I can think of
> > > > > 
> > > > > Depends: foo (!= 1.34-2)
> > > > > 
> > > > > but that sounds more like eye candy than really necessary...
> > > > 
> > > > Depends: foo | ! bar
> > > > 
> > > > That can be read as "If bar is installed, then foo must also be
> > > > installed".
> > > 
> > > That still sounds redundant, and can be currently expressed with
> > > 
> > > Depends: foo, foo | bar
> > 
> > No, that requires either foo or bar be installed.
> 
> Which is what "If bar is installed, then foo must also be installed" meant
> if you apply it only to the part after the pipe, as the present parser
> does... I didn't realize that you meant the whole expression means that.
> 
> I guess it shows something about my vgrep, but also about the readability
> of such a thing.

Hmm. Or maybe that comment just threw me off track, because I parse
"foo | !bar" the same way as you do now.

-- 
     2. That which causes joy or happiness.



Reply to: