Page MenuHomePhabricator

`git submodule update --init --recursive` in mediawiki/extensions fails
Closed, InvalidPublic

Description

git submodule update --init --recursive in the mediawiki/extensions repository fails with:

...
Submodule path 'Widgets': checked out '28b4ebd76df4e75cd045427a98a01c622ffc6130'
error: no such remote ref 35480f10e7ce9b0fdaf23d3799d7b79463919b1e
Fetched in submodule path 'Widgets/smarty', but it did not contain 35480f10e7ce9b0fdaf23d3799d7b79463919b1e. Direct fetching of that commit failed.
...
Failed to recurse into submodule path 'Widgets'

Event Timeline

Legoktm subscribed.

This needs to be fixed in the mediawiki/extensions/Widgets repository.

No. It was using some weird orphaned/forked remote

Swapped it to the proper one that wasn't abandoned

git submodule sync
git submodule update --init

It's something to "fix" locally

Oh, huh, okay. git submodule sync --recursive in mediawiki/extensions did it for me. Thanks.