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)
Wed, Jun 4, 7:40 AM
Unknown Object (File)
Tue, Jun 3, 6:06 AM
Unknown Object (File)
Sun, Jun 1, 9:55 AM
Unknown Object (File)
Tue, May 27, 11:14 AM
Unknown Object (File)
Apr 29 2025, 9:44 AM
Unknown Object (File)
Apr 6 2025, 8:05 PM
Unknown Object (File)
Apr 3 2025, 1:13 AM
Unknown Object (File)
Mar 31 2025, 6:34 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