Last modified: 2014-09-07 19:57:57 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 T70940, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 68940 - ExtensionDistributor: package composer dependencies inside tarballs
ExtensionDistributor: package composer dependencies inside tarballs
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
ExtensionDistributor (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-07-31 18:36 UTC by Kunal Mehta (Legoktm)
Modified: 2014-09-07 19:57 UTC (History)
2 users (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2014-07-31 18:36:13 UTC
Suggested by Jeroen: http://lists.wikimedia.org/pipermail/wikitech-l/2014-July/077888.html
Comment 1 Kunal Mehta (Legoktm) 2014-09-03 00:01:04 UTC
This should be doable, once I figure out a way to get composer installed via puppet.

Running "composer install" will create a vendor/autoload.php. How does that file get require'd? Is that the user's responsibility to do so? Or the extension's?

https://github.com/wmde/WikimediaBadges/blob/15d4f2fbf78c1bd531b7eb27d7d6df908a8996f9/WikimediaBadges.php#L28 will autoload vendor/ if it's there, while AFAIS, https://github.com/wikimedia/mediawiki-extensions-Translate/blob/master/Translate.php doesn't (picked a random example).

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


Navigation
Links