1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-20 10:48:40 +01:00
phorge-phorge/src/applications/diffusion/protocol
epriestley 55a698a28a Use HTTPEngineExtension proxy for git HTTP operations
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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10227

Differential Revision: https://secure.phabricator.com/D16092
2016-06-09 12:17:10 -07:00
..
__tests__ Extract repository command construction from Repositories 2016-04-19 04:51:48 -07:00
DiffusionCommandEngine.php Use HTTPEngineExtension proxy for git HTTP operations 2016-06-09 12:17:10 -07:00
DiffusionGitCommandEngine.php Use HTTPEngineExtension proxy for git HTTP operations 2016-06-09 12:17:10 -07:00
DiffusionMercurialCommandEngine.php Extract repository command construction from Repositories 2016-04-19 04:51:48 -07:00
DiffusionMercurialWireProtocol.php Added an intercept to Mercurial's capabilities command to remove bundle2. 2015-10-10 07:14:48 -07:00
DiffusionRepositoryClusterEngine.php Use HTTPEngineExtension proxy for git HTTP operations 2016-06-09 12:17:10 -07:00
DiffusionRepositoryClusterEngineLogInterface.php Make cluster repositories more chatty 2016-04-25 11:20:57 -07:00
DiffusionSubversionCommandEngine.php Extract repository command construction from Repositories 2016-04-19 04:51:48 -07:00
DiffusionSubversionWireProtocol.php phtize all the things 2015-05-22 21:16:39 +10:00