Page MenuHomePhabricator

Use HTTPEngineExtension proxy for `git` HTTP operations
ClosedPublic

Authored by epriestley on Jun 9 2016, 6:50 PM.
Tags
None
Referenced Files
F19033462: D16092.id.diff
Tue, Nov 25, 10:34 AM
F18876245: D16092.id.diff
Nov 5 2025, 10:54 PM
F18869131: D16092.diff
Nov 4 2025, 10:00 AM
F18823858: D16092.id38717.diff
Oct 23 2025, 1:36 PM
F18757822: D16092.diff
Oct 5 2025, 7:39 PM
F18688125: D16092.id38714.diff
Sep 26 2025, 3:59 PM
F18675959: D16092.diff
Sep 25 2025, 6:37 PM
F18507687: D16092.id.diff
Sep 5 2025, 2:22 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