26.10.2007

Subversion and the proxy

posted by Karsten

If you are going to use Subversion inside the “Great Firewall of University of Reading” (GeaFUoR) then you need to do the following:

Go to the “servers” file of subversion which is located in

your_machines_Documents_and_Settings_folderyour_usernameApplication DataSubversion

find the proxy settings and change them to something like (remember to remove the ‘#’ infront of them):

[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
http-proxy-host = wwwcache.rdg.ac.uk
http-proxy-port = 8080
http-proxy-username = uniUserName
http-proxy-password = yourPassword
# http-compression = no
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pe

And subversion will work. Unfortunately if you are using several computers, you’ll have to do this on all of them! I’ve now had to do this twice, and was incouraged to do write it down. This is now done… (A bit overdue, I know P@!!)

Share

7 Responses to “Subversion and the proxy”

  1. David Johnson says:

    Wow, that sounds like a pain in the arsenal…

     I use Eclipse for SVN stuff, and it lets me put in proxy settings in the Eclipse Internet connection settings.

  2. Rob Ashton says:

    SVN won't use the Eclipse internet connection settings because it's got nothing to with eclipse (assuming you're using Subclipse).

    All Subclipse does is run Svn in the background, so Svn will use Svn's settings. It's a pain in the arse because it's insecurely stored and … well needs doing in the first place!

  3. Karsten Oster Lundqvist says:

    Thanks Rob.

    David are you using cvs, cuz I believe that is fully integrated into eclipse… 

  4. David Johnson says:

    I'm using Subclipse… Europa (Eclipse 3.3) allows all plugins to access the Eclipse network settings, so I'd expect it includes Subclipse. But come to think of it, isn't the proxy only used for http traffic anyway? Shouldn't SVN work directly as is?

    I do use cvs as well… for some odd reason the project I'm on now has a repository on SVN and a different one on CVS somewhere in Germany.

  5. Karsten Oster Lundqvist says:

    Hmmn – we (Rob & I) just installed a completely fresh eclipse a couple of weeks ago, and that certainly didn't get through the wall… Do you use wireless? Otherwise it must be the buildings 😉

  6. Rob Ashton says:

    If you're using raw Svn then yeah you don't need proxy settings – but I think we're doing Svn over HTTP (Google Code), hence the necessity for proxy settings.

  7. David Johnson says:

    I'm totally wired… maybe my network up in ACET works differently to down in SSE.

Place your comment

Please fill your data and comment below.
Name
Email
Website
Your comment