Page MenuHomePhabricator

Use HTTPEngineExtension proxy for `git` HTTP operations
ClosedPublic

Authored by epriestley on Jun 9 2016, 6:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 17, 5:45 AM
Unknown Object (File)
Jul 30 2026, 11:02 PM
Unknown Object (File)
Jun 2 2026, 7:49 AM
Unknown Object (File)
Apr 11 2026, 10:50 PM
Unknown Object (File)
Apr 11 2026, 3:29 PM
Unknown Object (File)
Nov 25 2025, 10:34 AM
Unknown Object (File)
Nov 5 2025, 10:54 PM
Unknown Object (File)
Nov 4 2025, 10:00 AM
Subscribers
None

Details

Summary

Ref T10227. When we perform git http operations (fetch, mirror) check if we should use a proxy; if we should, set http_proxy or https_proxy in the environment to make git have curl use it.

Test Plan
  • Configured a proxy extension to run stuff through a local instance of Charles.
  • Ran repository pull and repository mirror.
  • Saw git HTTP requests route through the proxy.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable