[pkg-php-pear] Bug#911832: polyfill should be dropped

Kunal Mehta legoktm at member.fsf.org
Thu Jan 3 07:57:27 GMT 2019


Hi,

First, I filed <https://github.com/symfony/polyfill/issues/163> upstream
about the test failures.

However, as I looked a bit more, I'm not sure why this package exists in
Debian in the first place. The purpose of the polyfill is to have pure
PHP fallback implementations for when the PHP install is missing an
extension or on an older version. But neither of those apply to Debian
where we can just depend on the PHP extension itself.

For example, instead of depending upon php-symfony-polyfill-mbstring,
the package should depend upon php-mbstring. All of the
php-symfony-polyfill-php* packages are useless since we're already
providing PHP 7.3.

The vast majority of dependencies are in src:symfony, so it shouldn't be
too difficult to remove:

km at km-pt:~$ reverse-depends src:php-symfony-polyfill
Reverse-Depends
===============
* civicrm-common                (for php-symfony-polyfill-iconv)
* php-respect-validation        (for php-symfony-polyfill-mbstring)
* php-symfony                   (for php-symfony-polyfill-php56)
* php-symfony                   (for php-symfony-polyfill-ctype)
* php-symfony                   (for php-symfony-polyfill-apcu)
* php-symfony                   (for php-symfony-polyfill-mbstring)
* php-symfony                   (for php-symfony-polyfill-php70)
* php-symfony                   (for php-symfony-polyfill-intl-icu)
* php-symfony-cache             (for php-symfony-polyfill-apcu)
* php-symfony-config            (for php-symfony-polyfill-ctype)
* php-symfony-console           (for php-symfony-polyfill-mbstring)
* php-symfony-doctrine-bridge   (for php-symfony-polyfill-ctype)
* php-symfony-doctrine-bridge   (for php-symfony-polyfill-mbstring)
* php-symfony-dom-crawler       (for php-symfony-polyfill-ctype)
* php-symfony-dom-crawler       (for php-symfony-polyfill-mbstring)
* php-symfony-filesystem        (for php-symfony-polyfill-ctype)
* php-symfony-form              (for php-symfony-polyfill-ctype)
* php-symfony-form              (for php-symfony-polyfill-mbstring)
* php-symfony-framework-bundle  (for php-symfony-polyfill-mbstring)
* php-symfony-http-foundation   (for php-symfony-polyfill-php70)
* php-symfony-http-foundation   (for php-symfony-polyfill-mbstring)
* php-symfony-http-kernel       (for php-symfony-polyfill-ctype)
* php-symfony-inflector         (for php-symfony-polyfill-ctype)
* php-symfony-intl              (for php-symfony-polyfill-intl-icu)
* php-symfony-ldap              (for php-symfony-polyfill-php56)
* php-symfony-lock              (for php-symfony-polyfill-php70)
* php-symfony-property-access   (for php-symfony-polyfill-php70)
* php-symfony-security          (for php-symfony-polyfill-php70)
* php-symfony-security          (for php-symfony-polyfill-php56)
* php-symfony-security-bundle   (for php-symfony-polyfill-php70)
* php-symfony-security-core     (for php-symfony-polyfill-php56)
* php-symfony-security-csrf     (for php-symfony-polyfill-php56)
* php-symfony-security-csrf     (for php-symfony-polyfill-php70)
* php-symfony-security-http     (for php-symfony-polyfill-php56)
* php-symfony-security-http     (for php-symfony-polyfill-php70)
* php-symfony-serializer        (for php-symfony-polyfill-ctype)
* php-symfony-templating        (for php-symfony-polyfill-ctype)
* php-symfony-translation       (for php-symfony-polyfill-mbstring)
* php-symfony-twig-bundle       (for php-symfony-polyfill-ctype)
* php-symfony-validator         (for php-symfony-polyfill-mbstring)
* php-symfony-validator         (for php-symfony-polyfill-ctype)
* php-symfony-var-dumper        (for php-symfony-polyfill-mbstring)
* php-symfony-web-profiler-bundle  (for php-symfony-polyfill-php70)
* php-symfony-web-server-bundle  (for php-symfony-polyfill-ctype)
* php-symfony-yaml              (for php-symfony-polyfill-ctype)
* php-webmozart-assert          (for php-symfony-polyfill-ctype)

I'm not sure how exactly the best way to remove the dependency is since
it's automatically generated from composer.json. We could update
pkg-php-tools to modify php-symfony-polyfill-* dependencies?

HTH,
-- Kunal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-php-pear/attachments/20190102/2c6bc435/attachment.sig>


More information about the pkg-php-pear mailing list