Homec4science

Proxy VCS HTTP requests

Authored by epriestley <git@epriestley.com> on Jan 27 2015, 23:51.

Description

Proxy VCS HTTP requests

Summary:
Ref T7019. When we receive a git clone https:// (or git push on HTTP/S), and the repository is not local, proxy the request to the appropriate service.

This has scalability limits, but they are not more severe than the existing limits (T4369) and are about as abstracted as we can get them.

This doesn't fully work in a Phacility context because the commit hook does not know which instance it is running in, but that problem is not unique to HTTP.

Test Plan:

  • Pushed and pulled a Git repo via proxy.
  • Pulled a Git repo normally.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7019

Differential Revision: https://secure.phabricator.com/D11494

Details

Committed
epriestley <git@epriestley.com>Jan 27 2015, 23:51
Pushed
aubortJan 31 2017, 17:16
Parents
rPH51b2c4d01eed: Add an AphrontHTTPProxyResponse
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHfb5e50e6cc1f: Proxy VCS HTTP requests (authored by epriestley <git@epriestley.com>).Jan 27 2015, 23:51