View Full Version : SourceForge and CVS
Hunkorama417
09-03-2001, 02:40 AM
Lately I've been trying to put a project online at Source Forge, and boy is it giving me headaches. Anyway, SSH and CVS are set up on my local machine correctly. It's just that I can't import my local source code to CVS on SourceForge. I'm stuck on step 4 of CVS - command line found at http://sourceforge.net/docman/display_doc.php?docid=766&group_id=1
My setup is as follows:
SSH - c:\usr\bin
CVS - c:\usr\bin
home dir - c:\home
etc dir - c:\etc
local source - c:\home\phpwsgallery
Must I login to SSH then change to the local source dir and execute CVS from there or what? Basically, I need to know exactly what to type.
Thanks!
If you are using CVS under WinTel, I advise you to use WinCVS.
It's much clearer, and easier to use. The manual for WinCVS is also on sf.net
Just my Euro 0.02,
Pier
Must I login to SSH then change to the local source dir and execute CVS from there or what? Basically, I need to know exactly what to type.
SSH should be executed automatically, IF you have everything configured correctly and you type the commands given in step 4.
Did you reboot after your performed step 3?
Rich
Hunkorama417
09-03-2001, 03:11 PM
If you are using CVS under WinTel, I advise you to use WinCVS.
It's much clearer, and easier to use. The manual for WinCVS is also on sf.net
I already tried, but it kept not connecting saying I needed to enter my password, which I did in a .passwd file and changed the preferences to reflect that.
SSH should be executed automatically, IF you have everything configured correctly and you type the commands given in step 4.
Did you reboot after your performed step 3?
I've figured out what to type, and SSH connects to the CVS server on Sourceforge, but when I type:
cd \home\phpwsgallery
..\..\usr\bin\cvs -d:ext:digi-fx@cvs.phpwsgallery.sourceforge.net:/cvsroot/phpwsgallery import phpwsgallery vendor start
I get the following error:
Could not chdir to home directory /home/users/d/di/digi-fx: No such file or directory
Here's what I have in my autoexec.bat, and I rebooted.
PATH C:\usr\bin;%PATH%
SET HOME=C:\home
SET CVSROOT=digi-fx@cvs.phpwsgallery.sourceforge.net:/cvsroot/phpwsgallery
SET USERNAME=digi-fx
SET HOMEDRIVE=c:
SET HOME=\home
SET HOMEPATH=\home
SET CVS_RSH=ssh
quote:
--------------------------------------------------------------------------------
If you are using CVS under WinTel, I advise you to use WinCVS.
It's much clearer, and easier to use. The manual for WinCVS is also on sf.net
--------------------------------------------------------------------------------
I already tried, but it kept not connecting saying I needed to enter my password, which I did in a .passwd file and changed the preferences to reflect that.
Using WinCVS you should set the authentication to 'ssh-server', install shh in a directory which is in your path, and set port for 'Check for alternative rsh name' to ssh.
A dos-box will popup (but will stay minimized), you'll have to maximize it and type your password in it.
Pier
Hunkorama417
09-04-2001, 11:16 PM
I'll try that out and see if it works. Hopefully it does though.
I get the following error:
Could not chdir to home directory /home/users/d/di/digi-fx: No such file or directory
Not sure, but this error seems to indicate that sf is having problems during the authentication process and change to your home directory.
What happened when you typed:
ssh -l digi-fx phpwsgallery.sourceforge.net
in step 6 of the SSH section?
Rich
Hunkorama417
09-06-2001, 01:24 AM
I'm able to login and it gives me a directory listing of 2 directories. /tmp and /home/users/d Perhaps, my login name is bad, but then again, why would there registration scripts approve of it?
I'm able to login and it gives me a directory listing of 2 directories. /tmp and /home/users/d
Could not chdir to home directory /home/users/d/di/digi-fx: No such file or directory
You may want to have sf confirm that your account is setup correctly. It seems strange that inside your home directory would be a partial path to the home directories.
Rich
Hunkorama417
09-07-2001, 09:18 PM
Horray! I finally got it to work. Turns out the documentation wasn't correct.
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.