[php-maint] [pkg-php-pear] Moving forward with the PHP 7.0 transition [Was: phing depends on php5-xdebug, which is not available anymore]

Mathieu Parent math.parent at gmail.com
Sun Feb 21 21:51:22 UTC 2016


2016-02-16 11:24 GMT+01:00 Ondřej Surý <ondrej at sury.org>:
> Hi David,

Hi Ondřej and David,

> I am fine with switching to something like:
>
> 0:7.0+<debrev>
>
> but I would like to hear:
>
> - whether this is really needed?  Will you generate php (>= minver), php
> (<< maxver) from package.xml?

There are some package.xml with explicit php version constraints. But
as you said:

[...]
> A side thought - wouldn't this confuse people thinking they have
> installed PHP 7.0 by looking at the version number of php-fpm instead of
> looking at the version number of php7.0-fpm?

One solution would be to check for proper version at build time. As
FTBFS are regularly tested, this will handle the standard case (i.e
only one suite).

Another solution would be to use versioned provides, but this is not
correctly handled by some archive tools (britney if I remember
correctly, see #786803).

To sum up: We can keep the unversionned dep for now.

Cheers

-- 
Mathieu



More information about the pkg-php-maint mailing list