[pkg-php-pear] composer and debian

Mathieu Parent math.parent at gmail.com
Wed Jun 26 09:00:48 UTC 2013


2013/6/26 Prach Pongpanich <prachpub at gmail.com>:
> On Wed, Jun 26, 2013 at 4:20 AM, andrea rota <a at xelera.eu> wrote:
> [..]
>> so i have actually started from a dependency mainly to assess how much
>> work it would take me to go through dependencies before composer
>> itself: php-symfony-process is uploaded to git.debian.org
>>
>> http://anonscm.debian.org/gitweb/?p=users/hotzeplotz-guest/php-symfony-process.git;a=summary

Great.

Some quick remarks (don't hesitate to ask if it's too quick and you
don't understand):
- Can you move it to pkg-php?
- control's Vcs-* fields should point to the packaging repo (and not
the upstream repo)
- Have you run lintian on it? It seems long desc is probably too
short. You should explain what symfoy is here.
- Can you fill an ITP and add it to changelog?
- the tests should probably be installed

I have not tried to build nor tested (using phpunit), but the packages
seems good.

>> and if that's convenient for tests, to mentors.d.o as well:
>> http://mentors.debian.net/package/php-symfony-process
>>
>> i have tried re-compiling on a pristine lxc container with sid using the
>> .dsc on mentors.d.o and that worked ok, but haven't done further tests
>> on anything else than amd64 dev environments.
>>
>> i have left the ${phpcomposer:description} substvar in debian/control as
>> my understanding is that this should be handled correctly as soon as
>> dpkg-dev is fixed, as mentioned in
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=712939#32
>>
>> if this package looks ok, once i incorporate any feedback i can move on
>> to packaging the other dependencies and composer itself. i actually
>> notice that symfony 2 packages are being worked on
>> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710788), which would
>> make three of the five dependencies for composer available directly via
>> the symfony2 PEAR channel, but in the meanwhile, at least to be able to
>> test my composer package, packaging the two other symfony components
>> should be straightforward as they share the same layout as the one i've
>> been working on to start with.
>
> Hi Andrea,
>
> You can see a example from the php-symfony2-yaml [1],

THis one is a PEAR package and not a Composer package.


> I'm glad to help with these.
>
> - php-symfony2-console
> - php-symfony2-finder
> - php-symfony2-process

according to composer naming scheme, it is php-symfony-* and no php-symfony2-*.

> [1] http://anonscm.debian.org/gitweb/?p=pkg-php/php-symfony2-yaml.git
>
> Regards,
>  Prach


Regards
--
Mathieu Parent



More information about the pkg-php-pear mailing list