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)
Tue, Jan 21, 10:22 AM
Unknown Object (File)
Mon, Dec 30, 8:48 PM
Unknown Object (File)
Dec 19 2024, 4:57 PM
Unknown Object (File)
Dec 12 2024, 10:57 PM
Unknown Object (File)
Dec 12 2024, 2:42 PM
Unknown Object (File)
Dec 11 2024, 11:23 AM
Unknown Object (File)
Nov 27 2024, 9:36 AM
Unknown Object (File)
Nov 25 2024, 1:20 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