[Phpmyadmin-devel] Outdated Libraries

Marc Delisle marc at infomarc.info
Tue Apr 14 14:31:59 CEST 2015


Dan Ungureanu a écrit :
> Hello,
> 
> In about two months, the first PHP 7 release candidate will be delivered
> [1] and by then, I think that phpMyAdmin should be able to run on this new
> version without any problems. At this moment, some tests fail on the latest
> PHP nightly build because of the libraries phpMyAdmin uses.
> 
> Looking through the `libraries` folder I realized that most of those
> libraries have not been updated for a long time. I consider it a priority
> to update the broken libraries, but other libraries would benefit from an
> update as well.
> 
>  - bfShapeFiles - Causes some tests to fail (uses old-style constructors).
> Project is no longer maintained. [2]
>  - php-gettext - Causes some tests to fail (uses old-style constructors).
> Project is no longer maintained. [3]
>  - phpseclib - Works fine. Project is maintained and a new version is
> available. [4]
>  - tcpdf -  Works fine. Project is maintained and a new version is
> available. [5]
>  - recaptcha - Works fine. Project is maintained and a new version is
> available. [6]
> 
> Those libraries that are not maintained anymore will require forking and
> very little maintenance to get them working with the latest PHP version.
> 
> Another suggestion I have is to use Composer for managing these
> dependencies, instead of adding them directly to phpMyAdmin's repository.
> This way, it will be much easier to update those libraries and keep the
> repository clean.
> 
> Best regards,
> Dan Ungureanu
> 
> [1] https://wiki.php.net/rfc/php7timeline
> [2] https://sourceforge.net/projects/bfshapefiles/
> [3] https://launchpad.net/php-gettext/
> [4] https://sourceforge.net/projects/phpseclib/
> [5] https://sourceforge.net/projects/tcpdf/
> [6] https://github.com/google/recaptcha

Dan,
thanks for the suggestions. About Composer, I have a few issues:

1. Usually when we upgrade an external library, we test the new version 
to ensure everything goes smoothly. How would this test be done if the 
upgrade is done via Composer?

2. Not everyone is using Composer, so

2.1 The mechanism that produces downloadable kits would have to be modified

2.2 How about people directly using the git version who don't have Composer?

-- 
Marc Delisle (phpMyAdmin)




More information about the Developers mailing list