[pkg-php-pear] composer and debian
Mathieu Parent
math.parent at gmail.com
Fri Jun 7 08:02:44 UTC 2013
2013/6/6 andrea rota <a at xelera.eu>:
> hi,
Hi,
> i am resuming work on packaging wp-cli (http://wp-cli.org/) for Debian,
> and i notice that since my initial work on the Debian package for this
> software a while ago, upstream - like some other PHP projects - have
> switched to using Composer (http://getcomposer.org/) for dependency
> management, from the previous PEAR packaging.
Yes, composer seems to get some audience, but I don't see a real
benefit of it over PEAR.
Some other people miss the PEAR package file (example:
https://github.com/fruux/sabre-dav/issues/336).
What we need to ease the composer support in Debian is to add support
for it in pkg-php-tools.
Raw TODO list:
- package composer (maybe not needed, as the composer format is simply json)
- enhance pkg-php-tools :
- add a dh_phpcomposer translating included infos to substvars
(converting composer dependencies to Debian ones)
- add a debhelper buildsystem "phpcomposer.pm"
> i see a post on this ML about composer and debian, but no further
> comments after January 2013
> (http://lists.alioth.debian.org/pipermail/pkg-php-pear/2013-January/000866.html)
> and i see no mention of Composer in WNPPs: my understanding is that
> Composer is mainly considered (by upstream) as a tool for per-project
> dependency management, but thinking about e.g. SaaS installs where we
> may have one project/app per virtual machine, leveraging Composer's
> metadata for Debian packaging of some PHP libs sounds interesting: is
> any developer on this list working on integration of Composer or
> libraries using Composer with Debian?
I won't have enough time for this now, but patches are welcome.
Regards
--
Mathieu Parent
More information about the pkg-php-pear
mailing list