Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 1.04 KB

README.md

File metadata and controls

34 lines (27 loc) · 1.04 KB

repoproxy

Script to proxy git and svn protocols via http proxy

Use socat to proxy common SCM protocols through HTTP CONNECT firewall. Useful if you are trying to use svn or git where a http version of the repo is not available for use. For svn, while it supports setting a http proxy in the config file, I've not found it particularly reliable.

Save this file as repoproxy somewhere in your path (e.g., ~/bin), make it executable, and then create the symlinks either gitproxy or svnproxy in the same location and following the instructions appropriate to them.

("clone" form http://www.darraghbailey.com/wordpress/?p=23 )

GIT

gitproxy

git config --global core.gitproxy gitproxy

More details and original at

SVN

svnproxy

edit ~/.subversion/config and add "socat = " under the tunnels section

then whenever using svn, simply change the line "svn://" to read "svn+socat://"

and continue to use as normal