The structured logging implementation that I began work on in February has been making progress through code review recently following the completion of Jenkins and Zuul tooling changes which allow the test infrastructure to cope with the introduction of the mediawiki/vendor repository. The next patch in the series [0] will require that all consumers of MediaWiki from the git repository either use Composer directly or clone the mediawiki/vendor repository to provide the PSR-3 [1] interfaces and abstract classes [2].
For the WMF production cluster, the mediawiki/vendor repository [3] is being included as a submodule on the wmf/1.25wmfX deployment branches. This repository is also used on the *.beta.wmflabs.org and with the Jenkins tests. The MediaWiki-Vagrant project includes Puppet configuration that automates the installation of \Psr\Log with Composer as defined in the mediawiki/core/composer.json configuration file. Developers and other users of MediaWiki via git clone can pick one installation option or the other as they prefer.
Starting with the 1.25 release cycle (which is several months away) the tarball release process will need to be updated to either include the mediawiki/vendor repository or provide the required external classes via other means.
[0]: https://gerrit.wikimedia.org/r/#/c/119941/ [1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-i... [2]: https://github.com/php-fig/log [3]: https://git.wikimedia.org/summary/mediawiki%2Fvendor
Bryan
On 10/19/14 3:13 PM, Bryan Davis wrote:
The structured logging implementation that I began work on in February has been making progress through code review recently following the completion of Jenkins and Zuul tooling changes which allow the test infrastructure to cope with the introduction of the mediawiki/vendor repository. The next patch in the series [0] will require that all consumers of MediaWiki from the git repository either use Composer directly or clone the mediawiki/vendor repository to provide the PSR-3 [1] interfaces and abstract classes [2].
Now merged \o/
For the WMF production cluster, the mediawiki/vendor repository [3] is being included as a submodule on the wmf/1.25wmfX deployment branches. This repository is also used on the *.beta.wmflabs.org and with the Jenkins tests. The MediaWiki-Vagrant project includes Puppet configuration that automates the installation of \Psr\Log with Composer as defined in the mediawiki/core/composer.json configuration file. Developers and other users of MediaWiki via git clone can pick one installation option or the other as they prefer.
tl;dr:
$ composer install
OR
$ git clone https://gerrit.wikimedia.org/r/p/mediawiki/vendor.git
-- Legoktm
wikitech-l@lists.wikimedia.org