[pkg-php-pear] Bug#934104: composer: Don't use debian/copyright for LICENSE when generating autoloader

Kunal Mehta legoktm at debian.org
Wed Aug 7 03:33:08 BST 2019


Package: composer
Version: 1.9.0-2
Severity: important

0005-Pick-up-copyright-instead-of-LICENSE.patch switches the composer autoload
generator to use debian/copyright instead of upstream's LICENSE file. This is
problematic for a few reasons:

First, vendor/ directories are no longer identical with people who use an
upstream version of composer or from a different distribution (example:
https://gerrit.wikimedia.org/r/#/c/mediawiki/vendor/+/526262/1/composer/LICENSE).

And secondly, minimal installations (e.g. docker containers) of Debian that
don't keep doc/ around can no longer run composer install.

Is there a reason we need the patch? I could totally be missing something.

Thanks,
-- Kunal



-- System Information:
Debian Release: 10.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.14.74-1.pvops.qubes.x86_64 (SMP w/2 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages composer depends on:
pn  jsonlint                     <none>
pn  php-cli                      <none>
pn  php-common                   <none>
pn  php-composer-ca-bundle       <none>
pn  php-composer-semver          <none>
pn  php-composer-spdx-licenses   <none>
pn  php-composer-xdebug-handler  <none>
pn  php-json-schema              <none>
pn  php-psr-log                  <none>
pn  php-symfony-console          <none>
pn  php-symfony-filesystem       <none>
pn  php-symfony-finder           <none>
pn  php-symfony-process          <none>

Versions of packages composer recommends:
ii  git    1:2.20.1-2
ii  unzip  6.0-23

Versions of packages composer suggests:
pn  fossil      <none>
pn  mercurial   <none>
pn  php-zip     <none>
pn  subversion  <none>



More information about the pkg-php-pear mailing list