Page MenuHomePhabricator

Include git submodules, by default, or optionally
Closed, ResolvedPublic

Description

Some extensions, such as Extension:GuidedTour, require git submodules.

It would be a very useful enhancement if ExtensionDistributor included these in the download, by default or optionally.


Version: master
Severity: enhancement
URL: https://www.mediawiki.org/wiki/Extension_talk:ExtensionDistributor#Doesn.27t_do_submodules

Details

Reference
bz44022

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:18 AM
bzimport set Reference to bz44022.

Yeah, we need this for VE too.

Github doesn't support submodules, but it's easy to do this on labs (I already wrote a script to do it). Just requires a few changes to the extension...

Change 146430 had a related patch set uploaded by Legoktm:
Support having multiple API endpoints

https://gerrit.wikimedia.org/r/146430

I've set up an API endpoint for VisualEditor on labs: http://tools.wmflabs.org/extdist/?version=REL1_23&ext=VisualEditor

I don't see any submodules in GuidedTour?

Change 146430 abandoned by Legoktm:
Support having multiple API endpoints

Reason:
We're going to just point everything to labs instead.

https://gerrit.wikimedia.org/r/146430

Once we switch to the new labs tarball generator, this will be fixed.

(In reply to Kunal Mehta (Legoktm) from comment #3)

I've set up an API endpoint for VisualEditor on labs:
http://tools.wmflabs.org/extdist/?version=REL1_23&ext=VisualEditor

I don't see any submodules in GuidedTour?

Correct, we forked Guiders so there's no longer a submodule.

New tarball generator has been deployed, which now includes submodules.