| View previous topic :: View next topic |
| Author |
Message |
jboom
Joined: 31 Jan 2006 Posts: 5
|
Posted: Tue Jan 31, 2006 9:04 pm Post subject: SVN update through a proxy ? |
|
|
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 |
|
| Back to top |
|
 |
jboom
Joined: 31 Jan 2006 Posts: 5
|
Posted: Tue Jan 31, 2006 11:41 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
nullp01nter

Joined: 04 Jan 2006 Posts: 26 Location: Saxony/Germany
|
Posted: Wed Feb 01, 2006 12:47 am Post subject: |
|
|
| Quote: | | 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/svn-book.html#svn.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 |
|
| Back to top |
|
 |
jboom
Joined: 31 Jan 2006 Posts: 5
|
Posted: Wed Feb 01, 2006 1:49 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
nullp01nter

Joined: 04 Jan 2006 Posts: 26 Location: Saxony/Germany
|
Posted: Wed Feb 01, 2006 2:05 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
jboom
Joined: 31 Jan 2006 Posts: 5
|
Posted: Wed Feb 01, 2006 2:32 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Feb 01, 2006 5:53 pm Post subject: |
|
|
I've set up a read-only HTTP mirror of the psp and pspware repositories:
| Code: |
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. |
|
| Back to top |
|
 |
Jim

Joined: 02 Jul 2005 Posts: 487 Location: Sydney
|
|
| Back to top |
|
 |
jboom
Joined: 31 Jan 2006 Posts: 5
|
Posted: Wed Feb 01, 2006 9:51 pm Post subject: |
|
|
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 |
|
| Back to top |
|
 |
hubevolution
Joined: 17 Mar 2004 Posts: 32
|
Posted: Thu Mar 16, 2006 6:55 pm Post subject: |
|
|
| @jimparis : thx soooo much for the http mirrors I could make svn work through http proxy thx to you !! THX ! |
|
| Back to top |
|
 |
|