forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SVN update through a proxy ?

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
jboom



Joined: 31 Jan 2006
Posts: 5

PostPosted: Tue Jan 31, 2006 9:04 pm    Post subject: SVN update through a proxy ? Reply with quote

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
View user's profile Send private message
jboom



Joined: 31 Jan 2006
Posts: 5

PostPosted: Tue Jan 31, 2006 11:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
nullp01nter



Joined: 04 Jan 2006
Posts: 26
Location: Saxony/Germany

PostPosted: Wed Feb 01, 2006 12:47 am    Post subject: Reply with quote

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
View user's profile Send private message
jboom



Joined: 31 Jan 2006
Posts: 5

PostPosted: Wed Feb 01, 2006 1:49 am    Post subject: Reply with quote

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
View user's profile Send private message
nullp01nter



Joined: 04 Jan 2006
Posts: 26
Location: Saxony/Germany

PostPosted: Wed Feb 01, 2006 2:05 am    Post subject: Reply with quote

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
View user's profile Send private message
jboom



Joined: 31 Jan 2006
Posts: 5

PostPosted: Wed Feb 01, 2006 2:32 am    Post subject: Reply with quote

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
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Wed Feb 01, 2006 5:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Wed Feb 01, 2006 7:26 pm    Post subject: Reply with quote

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
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
jboom



Joined: 31 Jan 2006
Posts: 5

PostPosted: Wed Feb 01, 2006 9:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
hubevolution



Joined: 17 Mar 2004
Posts: 32

PostPosted: Thu Mar 16, 2006 6:55 pm    Post subject: Reply with quote

@jimparis : thx soooo much for the http mirrors I could make svn work through http proxy thx to you !! THX !
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group