[pkg-php-pear] Bug#971552: composer: Allow duplicate dashes in package names

Pierre Rudloff contact at rudloff.pro
Thu Oct 1 18:36:39 BST 2020


Package: composer
Version: 1.8.4-1
Severity: minor
Tags: upstream

composer 1.8.4 wrongfully complains about package names that contain duplicate
dashes:

Deprecation warning: require.npm-asset/fortawesome--fontawesome-free is
invalid, it should have a vendor name, a forward slash, and a package name. The
vendor and package name can be words separated by -, . or _. The complete name
should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure
you fix this as Composer 2.0 will error.

This was fixed upstream in 1.10.6:
https://github.com/composer/composer/commit/2e7ace238a51fb66969ecd70d4dd823976b96dfb



-- System Information:
Debian Release: 10.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-11-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages composer depends on:
ii  jsonlint                     1.7.1-1
ii  php-cli                      2:7.3+69
ii  php-common                   2:69
ii  php-composer-ca-bundle       1.1.4-1
ii  php-composer-semver          1.4.2-1
ii  php-composer-spdx-licenses   1.5.0-1
ii  php-composer-xdebug-handler  1.3.2-1
ii  php-json-schema              5.2.8-1
ii  php-psr-log                  1.1.0-1
ii  php-symfony-console          3.4.22+dfsg-2+deb10u1
ii  php-symfony-filesystem       3.4.22+dfsg-2+deb10u1
ii  php-symfony-finder           3.4.22+dfsg-2+deb10u1
ii  php-symfony-process          3.4.22+dfsg-2+deb10u1
ii  php7.3-cli [php-cli]         7.3.19-1~deb10u1

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

Versions of packages composer suggests:
ii  fossil                1:2.8-1
ii  mercurial             4.8.2-1+deb10u1
ii  php-zip               2:7.3+69
ii  php7.3-zip [php-zip]  7.3.19-1~deb10u1
ii  subversion            1.10.4-1+deb10u1

-- no debconf information



More information about the pkg-php-pear mailing list