[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977150: No package should (build-)depend on composer



Package: lintian
Version: 2.104.0
Severity: normal
X-Debbugs-Cc: pkg-php-pear@lists.alioth.debian.org

Hi,

It would be nice to warn maintainers if their package (build-)depend on
composer: it’s most likely an error. Composer is a PHP tool to install
PHP packages (like pip for Python, or npm for Node.js), and should not
be pulled as a (build-)dependency: we have other ways to deal with
composer packages like dh_phpcomposer(1) (from pkg-php-tools) and
phpab(1) to generate a static autoloader.

Since not all PHP related packages are maintained under the usual PHP
PEAR (and Composer) Maintainers umbrella, it should help maintainers not
aware of the usual conventions to do the right thing® (and eventually
maintain their package with the dedicated team).

Regards

David

P.-S.: I do maintain a package build-depending on composer, as used
during the testsuite, hence the proposal to make this a warning rather
than an error.

Attachment: signature.asc
Description: PGP signature


Reply to: