Re: optional requirements

From: Date: Fri, 21 Jun 2002 05:26:44 +0000
Subject: Re: optional requirements
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-7258@lists.php.net to get a copy of this message
On 20 Jun 2002 23:06:51 +0200, Stig S. Bakken wrote: >On Thu, 2002-06-20 at 10:56, Martin Jansen wrote: >> >> At such a point it would be good to have the possibility to mark a >> dependency optional: >> >> <deps> >> <dep type="pkg" rel="ge" version="1.0" >> optional>Cache</dep> >> </deps> > >I had the exact same idea yesterday, but it'll have to be like this to >be valid XML: > > <dep type="pkg" rel="ge" version="1.0" > optional="yes">Cache</dep> > >To me this means, "contains functionality that will be enabled if the >Cache package is installed, if Cache is installed, version 1.0 or newer >is required". Yeah, that's exactly what I meant. - Martin -- Martin Jansen, <mail@martin-jansen.de> http://www.martin-jansen.de/

« previous php.pear.dev (#7258) next »