[Pkg-php-pecl] [php-maint] [pkg-php-pear] Extension (PECL?) naming scheme (Was: pkg-php-tools for 7.0 in master-7.0 branch and bootstrapping PEAR packaging)

Mathieu Parent math.parent at gmail.com
Tue Jan 5 21:25:14 UTC 2016


2015-12-31 17:14 GMT+01:00 Ondřej Surý <ondrej at sury.org>:
> On Thu, Dec 31, 2015, at 17:04, Daniel Beyer wrote:
>> Following the Fedora naming scheme [1] it would be php-pecl-<name>. But
>> I don't see a benefit in having the distribution channel in the package
>> name. Fortunately enough in the Fedora naming scheme this is not done
>> for packages distributed through Composer.

OK. I just tested the Fedora naming scheme at :
http://anonscm.debian.org/cgit/pkg-php/pkg-php-tools.git/log/?h=master-fedora-naming

Not sure what to think about it. I like it because distribution
divergence is not needed here. But It will require to re-upload every
PEAR and PECL package (and Composer packages depending on them).

With this naming scheme, we would have php-twig-twig (from
composer.json), and php-twig-ctwig (See "pear install twig/CTwig"
from: http://twig.sensiolabs.org/doc/installation.html).

In summary, this naming scheme will map nicely when the composer
project name matches the PEAR channel alias.

(NB: the testsuite needs the pear-channels package installed)

Regards

-- 
Mathieu



More information about the Pkg-php-pecl mailing list