Downloading from CVS.

General discussion about Celestia that doesn't fit into other forums.
Avatar
Topic author
HB M
Posts: 132
Joined: 26.11.2002
With us: 22 years
Location: Eindhoven, The Netherlands

Downloading from CVS.

Post #1by HB » 14.11.2004, 21:08

Lately I've a lot of problems when I try to download the latest sourcecode from CVS.
I use WinCVS ver 1.3.17.2 beta(build2)
and the way I try to connect to CVS looks like this:
cvs -d :pserver:anonymous@cvs.celestia.sourceforge.net:/cvsroot/celestia login
Logging in to :pserver:anonymous@cvs.celestia.sourceforge.net:2401:/cvsroot/celestia

I try this at least everyday during a half a hour and that several times spread over the day.

I get an answer something like this:that not the right reply is given within a certain time or the connection can't be made at all.

finally this:***** CVS exited normally with code 1 *****

I use winxp sp2 and a virusscanner from McAfee(7.1)

Hans.
HB

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #2by selden » 14.11.2004, 21:54

When was the last time this command worked for you? Is there any chance you're accidentally using an old script?

You no longer are supposed to include the project name in the name of the server. This change happened many months ago.

Just now I did an update and had no problems downloading star.cpp, stellarclass.cpp and stellarclass.h

Here's the command that I use:

Code: Select all

cvs -z 3 -d:pserver:anonymous@cvs.sf.net:/cvsroot/celestia checkout celestia/


I use the version of cvs that comes with Cygwin, but the commands should be very similar.

Does this work for you?
Selden

Avatar
Topic author
HB M
Posts: 132
Joined: 26.11.2002
With us: 22 years
Location: Eindhoven, The Netherlands

Post #3by HB » 15.11.2004, 17:44

Selden,

The last time I've got a proper connection and dito updates was on the 24th of October 2004.

Anyway, I've used the command as what's written in your reply:

cvs -d :pserver:anonymous@cvs.sourceforge.net:/cvsroot/celestia login
Logging in to :pserver:anonymous@cvs.sourceforge.net:2401:/cvsroot/celestia

(I've tried both "sourceforge"and "sf".)

Immediatly followed by a respons:

***** CVS exited normally with code 0 *****

Then I'm trying to update my local copy:

cvs update -P (in directory F:\CVSROOT\CELESTIA\)

Followed by a response from cvs ( and a message partly in Dutch)like this:

cvs [update aborted]: connect to cvs.celestia.sourceforge.net:2401 failed: Een verbindingspoging is mislukt omdat de verbonden party niet correct heeft geantwoord na een bepaalde tijd, of de gemaakte verbinding is mislukt omdat de verbonden host niet heeft geantwoord.

(translation: A connection has failed because of the connected party didn't give the right answer after a certain time or the connection has failed because the connected host didn't answer.)

***** CVS exited normally with code 1 *****


I have a (slow?) ordinary phoneline for my connection with Internet.[/b]

Hans.
HB

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Post #4by selden » 15.11.2004, 19:17

Hans,

I'm sorry to say that I'm really not a cvs expert.
Once I got it to work, I stopped thinking about it.

However, your description seems to say that you are using two separate commands. That's not what I do.
The command above is the only cvs command that I use. I don't login first. I only cd to the local directory where I keep the CVS version of Celestia and then type ./get.sh, which runs the command file which contains just that one line. CVS then downloads all of the new files.

Sorry I can't help more. Maybe there's a CVS expert in the audience who can make other suggestions.
Selden

wcomer
Posts: 179
Joined: 19.06.2003
With us: 21 years 5 months
Location: New York City

Post #5by wcomer » 15.11.2004, 21:29

The problem seems to be that Selden is using "cvs.sourceforge.net" while Hans is using "cvs.celestia.sourceforge.net".

BTW I have been having the same problem as Hans but when I use "cvs.sourceforge.net" everything works perfectly. I did not know that the "cvs.celestia.sourceforge.net" was no longer valid.

Avatar
Topic author
HB M
Posts: 132
Joined: 26.11.2002
With us: 22 years
Location: Eindhoven, The Netherlands

Post #6by HB » 15.11.2004, 23:14

Selden,

It looks to me that the way you're using CVS doesn't differ much from the way I do.

A checkout command from within a existing CVSROOT directory is almost the same as a update command.
And perhaps you can use with your Cygwin version other kind of macro's which run these commands.

Anyway I've try it again a couple of minutes ago and hoera, it 's working again. Since I wasn't able to get an update from CVS lately I forget that it can be very busy on that server. I hope my problem is solved with this.
Thanks for your help so far.

Hans.
HB


Return to “Celestia Users”