Page MenuHomePhabricator

Consider fetching updates over https
Open, LowPublic

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

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 15 2019, 8:44 AM
hashar added a comment.EditedMay 16 2019, 11:26 AM

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.

Nikerabbit triaged this task as Low priority.May 20 2019, 10:14 AM

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