Last modified: 2014-11-03 17:22:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T74703, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 72703 - integrate wikidata (composer) built with mediawiki/vendor
integrate wikidata (composer) built with mediawiki/vendor
Status: NEW
Product: Wikimedia
Classification: Unclassified
Wikidata (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=infrastructure p=0
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-29 21:16 UTC by Jan Zerebecki
Modified: 2014-11-03 17:22 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jan Zerebecki 2014-10-29 21:16:44 UTC
Integrate wikidata (composer) built with mediawiki/vendor . Otherwise stuff will break as soon as core and wikidata share a dependency. Because the composer run for mediawiki/core does not know about the composer from the wikidata built. So we need to have one build with one composer run that knows about both parts so it does not duplicate the same namespace.
Comment 1 Jan Zerebecki 2014-10-30 13:58:31 UTC
Oops we yesterday in all the discussions forgot that the autoloader does not try to load a class again that is already loaded. And the next autoloader is only tried until one succeeds. (So as long as nobody uses require/include on a duplicate that will not break.)
Proof: https://github.com/JeroenDeDauw/DoubleLoad

We still probably want to have a unified build, because composer then will detect incompatible version requirements.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links