[dev] too strict dependency?

Michael M Slusarz slusarz at horde.org
Thu Apr 7 16:11:00 UTC 2011


Quoting Jan Schneider <jan at horde.org>:

> Zitat von Mathieu Parent <math.parent at gmail.com>:
>
>> Hi,
>>
>> I'm preparing some automated packaging for Horde4 in Debian and went
>> to the following dependency in pear package "Cache":
>> [[
>> ...
>> <optional>
>> ...
>> <package>
>>  <name>lzf</name>
>>  <channel>pecl.php.net</channel>
>>  <recommended>1.5.2</recommended>
>> </package>
>> ]]
>>
>> The meaning of recommended is very strict in
>> <http://pear.php.net/manual/fr/guide.developers.package2.dependencies.php>:
>>
>> [[
>> <recommended> - recommended version of a dependency. This tag is used
>> for *strict* version control. The installer will refuse to install a
>> package without the --force option unless the version exactly matches
>> recommended. This can be used to provide a level of extra security, as
>> a package can be set to install using a version that is known to work
>> without limiting future upgrades.
>> ]]
>>
>> Is it the intented behavior? (or should it be <min>1.5.2</min> ?)
>
> No, it should really be <min>. Actually, I'm not sure we really need  
> a minimum version at all. Michael?

I really have no recollection of why (or even if) I did this.  It  
seems that min would be appropriate usage here.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list