[pkg-php-pear] ITP: php-symfony-process -- Symfony PHP Framework - Process component

Thomas Goirand zigo at debian.org
Fri Jun 28 05:49:48 UTC 2013

On 06/28/2013 10:57 AM, David Prévot wrote:
>> Last, and that's the most important bit that *must* be fixed before
>> upload, the resulting package doesn't depend on pear-symfony-channel.
> Thomas, this is not a PEAR package, but a Composer one, so maybe those
> advices are erroneous.
> Regards
> David

What we call a PEAR package isn't just the packages coming from
pear.php.net, but absolutely all packages that may be installed using
the "pear install" command. This includes as well for example packages
from pear.phpunit.de, the ones from the AWS channels, etc.

I'm convince that we do need php-pear dependencies, and the
${phppear:Debian-Depends}, ${phppear:Debian-Recommends} and
${phppear:Debian-Breaks}. Maybe Mathieu can write about it (since he is
the main author of pkg-php-tools).

It would be nice to enhance "debpear" so that it could create packages
automatically form a channel which wouldn't be pear.php.net. This would
be a real time saver (only debian/control and debian/copyright should
then be edited so that the packages would be in a good shape for upload).

Another thing: I have noticed that what is used as upstream source is
quite wrong for all packages. They should all be coming from
http://pear.symfony.com/. In there, you will find packages the way they
should: including a package.xml, so that we can use the PEAR things to
get them installed, have a registry file, manage dependencies
automatically, etc. Missing the package.xml is simply wrong, IMO.

The way things have been done using the Git repository from github isn't
correct (unless you find a way to generate the package.xml file and put
the source in the correct <project-version> folder, which will be
annoying to do), and should be IMO replaced by the tarball from the
above URL. This way, it would still be possible for our users to do
"pear install" from the symfony 2 channel.

Also, note that while http://pear.symfony.com/ holds all symfony 2 PEAR
packages, http://pear.symfony-project.com/ has the symfony 1 (also
called "legacy"). The 2 shouldn't be confused (it really is, confusing).

Last, something I didn't see at first: there's a Tests folder, which is
meant to be used with phpunit. If possible, it'd be nice to launch the
unit testings at build time. This might need phpunit 3.7, in which case
we should work on it (Parch: what's the status with that?).


More information about the pkg-php-pear mailing list