[pkg-php-pear] pkg-php-tools for 7.0 in master-7.0 branch and bootstrapping PEAR packaging

Mathieu Parent math.parent at gmail.com
Tue Dec 29 16:44:54 UTC 2015


2015-12-29 9:00 GMT+01:00 Ondřej Surý <ondrej at sury.org>:
> Hi,
>
> the first thing: I prepared 1.32~exp1 pkg-php-tools (mostly replacing
> php5 with php, but also some other little changes needed to run under
> 7.0) in master-7.0 branch in the git. It currently needs
> src:php-defaults to fall through NEW.

Great!

i've looked at you commit, and they look good. But:
The way php-defaults currently works will drop any versioned
dependency (as 18 is >= 5.x or 7.x).

> the bigger second thing:
>
> some PEAR packages are currently unboostrapable as they have circular
> build-dependencies, f.e.:
>
> phpunit build-depends on php-codecoverage
> and
> php-codecoverage build-depends on phpunit

This side of the dep is probably only used for test. Could we use
build profiles?

> Most probably, there will be more than just these two, so either we will
> have to tackle these manually, or I can prepare transitional packages
> from src:php5 that will just depend 1:1 on src:php-defaults.

I'm not fan of the 2nd solution, but given the amount of work of the
manual one...

> There's one thing I would like to avoid -> automatic transition from
> /etc/php5/ config files to /etc/php/7.0/, as there are just too many
> things that might break (custom config files, etc.).

OK

Cheers,

Mathieu



More information about the pkg-php-pear mailing list