Hi
Dne 13.2.2016 v 10:17 Remi Collet napsal(a):
Composer.json also is a nice way to have good
description of dependency
requires: {
"udan11/sql-parser": "^3.1",
}
And composer.lock in the release tag gives even more information (exact
version, commit reference, for each bundled external lib).
Having a "vendor" dir with all the external lib is rather a good thing,
and easy to manage downstream, just have to remove its content and
create an vendor/autoload.php to use the system libraries instead.
This can also allow to cleanup the libraries/vendor_config.php file.
Of course, the "vendor" dir have to be included in the distributed
tarball, but doesn't have to be in the git repo, developer are probably
used to run "composer install" in such project.
Thinking more about this, using composer is probably best approach here.
It's too late for including this change in 4.6.0, but we can target on
4.7.0:
https://github.com/phpmyadmin/phpmyadmin/issues/11962
--
Michal Čihař |
http://cihar.com |
http://blog.cihar.com