Page MenuHomePhabricator

Proxy VCS HTTP requests
ClosedPublic

Authored by epriestley on Jan 25 2015, 4:42 PM.
Tags
None
Referenced Files
F13982240: D11494.id.diff
Oct 19 2024, 9:59 PM
F13973099: D11494.diff
Oct 17 2024, 11:06 PM
F13964976: D11494.id27735.diff
Oct 15 2024, 11:04 PM
Unknown Object (File)
Sep 26 2024, 12:57 PM
Unknown Object (File)
Sep 17 2024, 7:45 AM
Unknown Object (File)
Sep 12 2024, 6:41 AM
Unknown Object (File)
Sep 10 2024, 3:53 AM
Unknown Object (File)
Sep 5 2024, 11:05 AM
Subscribers

Details

Reviewers
btrahan
Maniphest Tasks
T7019: Proxy HTTP VCS traffic
Commits
Restricted Diffusion Commit
rPfb5e50e6cc1f: 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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Proxy VCS HTTP requests.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.

(To make this testable and less surprising, this follows the same proxying rules that the Conduit stuff does: if a repo is on a service, we always proxy, even if the service is locally.)

btrahan edited edge metadata.
This revision is now accepted and ready to land.Jan 27 2015, 10:22 PM
This revision was automatically updated to reflect the committed changes.