SVN update through a proxy ?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
jboom
Posts: 5
Joined: Tue Jan 31, 2006 8:59 pm

SVN update through a proxy ?

Post by jboom »

Hey all,

Firstly, thanks for a great forum ! I've been reading alot and learning alot here, and it's a great place for information :) I only just got my PSP, at last, and looking to start playing with some code.

My problem is that my network here is quite restricted. I've only got port 80 and 21 open to me, and a proxy in the way too.

This means my 'svn update' command isn't working in Cygwin :( I have tried to manually make the changes listed in SVN, and getting a bit further, but it's a pain in the *rse !!!

Can anyone please tell me if it's possible to set SVN to use a proxy ? wget works OK with the env. variable set but not SVN....

Very sorry for the newbie question !! I know this is only the first step and it should be easy, but this damn network is restricted and causing all the problems !

Thanks for any advice,
Ben
jboom
Posts: 5
Joined: Tue Jan 31, 2006 8:59 pm

Post by jboom »

OK, update, still not working :(

The FAQ on the subversion site mentions proxies, but can't find my local configuration file...

How would a user without Internet connection use SVN update ?

Are the updated files available anywhere else ? Most changes are in the config.sub files - can't I grab newer versions with the updates already applied from somewhere ?

Thanks.
User avatar
nullp01nter
Posts: 26
Joined: Wed Jan 04, 2006 7:40 am
Location: Saxony/Germany

Post by nullp01nter »

The FAQ on the subversion site mentions proxies, but can't find my local configuration file...
The documentation for svn 1.2 states:
http://svnbook.red-bean.com/nightly/en/ ... ref.svn.sw
Your configfile normally should be ".subversion" in your /home folder. Either you did not see the file because it is a hidden file (it starts with a ".") or you have a completely different configuration. Also you could try to submit your own configuration file to svn with the command line switch "--config-dir DIR".

Thoralt
jboom
Posts: 5
Joined: Tue Jan 31, 2006 8:59 pm

Post by jboom »

Hi Thoralt,

Thanks alot for the response, that is really appreciated !!

The --config has helped me a little bit, now I can set my own config file and I have setup the proxy OK :)

But next problem - DNS isn't getting resolved !! arrgh ;)

Well, I setup my hosts file, and now the DNS does get resolved, but I get a "connection timed out" error.

Think I had better stop before I pull all my hair out. I guess I'll try this all again on my laptop and slow internet connection at home - at least there is no proxy there !! And once I've cleared the gb's needed....

Heh. Thanks again for your advice.
Ben.
User avatar
nullp01nter
Posts: 26
Joined: Wed Jan 04, 2006 7:40 am
Location: Saxony/Germany

Post by nullp01nter »

AFAIK the svn default server port is TCP/3690. As you said you're restricted to ports 80 and 21 (HTTP and FTP), there's little chance that you are able to use svn. The only (theoretical) solution is to set up an external tunnel server which accepts connections on either of these ports and redirects it to where ever you want. But this is no easy job (and I didn't do it, this is why I call it theoretical).

Seems you're out of luck with your current network...

Thoralt
jboom
Posts: 5
Joined: Tue Jan 31, 2006 8:59 pm

Post by jboom »

yep, I was just reading about SVN on port 3690 as well, bah humbug !! No doubt this is the problem.

I've setup some tunnels before so I could use VNC on this network back home, but it's a real pain. I'll just clear some space on my old laptop and install from there :) Could take a while on my crap connection, but it's better than nothing.

Cheers dude.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

I've set up a read-only HTTP mirror of the psp and pspware repositories:

Code: Select all

svn://svn.pspdev.org/psp/     --> http://psp.jim.sh/svn/psp/
svn://svn.pspdev.org/pspware/ --> http://psp.jim.sh/svn/pspware/
It should stay relatively up to date, and the revision numbers should match up with the official repositories. Enjoy.
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

If you want to pursue the proxy traversal route, you can try http://www.buzzsurf.com/surfatwork/ in unison with sockscap from http://www.socks.nec.com/.

Jim
jboom
Posts: 5
Joined: Tue Jan 31, 2006 8:59 pm

Post by jboom »

jimparis and jim - thank you both very much for your help :)

seems that my proxy still won't allow me to use your HTTP SVN though, it's just too restrictive.

Not too worry, I setup my old laptop and it's downloading everything at home now - might take a while, but at least it's going !!!

thanks to all.

ben
hubevolution
Posts: 32
Joined: Wed Mar 17, 2004 6:59 pm

Post by hubevolution »

@jimparis : thx soooo much for the http mirrors I could make svn work through http proxy thx to you !! THX !
Post Reply