[dev] too strict dependency?

Jan Schneider jan at horde.org
Thu Apr 7 09:46:48 UTC 2011


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?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list