On 11/06/14 05:01, Matthew Walker wrote:
This also has knock on impacts elsewhere. BD808 has a patch that uses PSR-log and Monolog for logging. We're starting to move to a model where we recognize that we shouldn't write everything and that things in core have significantly better replacements in the wider PHP community. It doesn't make sense to keep maintaining the vastly inferior core components when more and more core and extensions are going to want to rely on the newer interfaces and features.
The question Tim posed in the commit comes down to:
- Do we bundle third party dependencies, or
- Do we allow composer to do what it was designed to do and manage the
dependencies for us
~Matt Walker Wikimedia Foundation Fundraising Technology Team
Problem with composer is it doesn't actually work for all use cases (farms in particular can be problematic, even if the wmf did get it working), so depending on it isn't really a good idea unless there is a sane fallback. What folks have mentioned as alternatives so far (submodules in core etc) do not sound sane.
I'm all for having better handling for things in core, but we need a sane way to include them, and sane defaults that don't require weird dependencies and bending over backwards when all you want to do is clone the thing and get set up.
-I