Page MenuHomePhabricator

Consider fetching updates over https
Closed, DeclinedPublic

Description

You can also fetch over https instead of via ssh.

git remote set-url origin https://gerrit.wikimedia.org/mediawiki/extensions/Foo.git
git remote set-url --push origin ssh://gerrit.wikimedia.org:29418/mediawiki/core.git

This could mean that url|export will be replaced with push-url (like push-branch).

Event Timeline

As you noted T223365, with SSH persistent connection, the ssh fetch will be faster. I do not think Git has support for https persistence short of maybe using an intermediate proxy :-/ Then the https connections are not subject to the 4 max connections per user so you could potentially do 16 or more fetches in parallel.

Marking as low priority for now. Should be explored if we don't get exports times clearly under one hour.