CVS howto

Discuss the Wing Commander Series and find the latest information on the Wing Commander Universe privateer mod as well as the standalone mod Wasteland Incident project.
Post Reply
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

CVS howto

Post by chuck_starchaser »

Could we have a sticky thread how to install and use CVS? I just downloaded gCVS, and ran it, but it's all greek to me. Besides, I can't even find the most basic information around here, such as WHERE are the files (for WCU).
Silverain
Expert Mercenary
Expert Mercenary
Posts: 984
Joined: Thu Aug 07, 2003 5:35 am
Location: Brisbane, Land of Oz
Contact:

Post by Silverain »

We DID have something in the wiki howtos, but we are currently rebuilding those pages after the old database corrupted (from hackers I think?).

As to where the files are: that will eventually wind up there too. For now, just ask the question and people will have the answers. :)
THOUGHT CRIME! [points finger] THOUGHT CRIME!
Halleck
Elite
Elite
Posts: 1832
Joined: Sat Jan 15, 2005 10:21 pm
Location: State of Denial
Contact:

Post by Halleck »

Well, there is a partial howto I posted that covers cvs for windows:
http://vegastrike.sourceforge.net/forum ... 1938#31938

Although we should eventually have a comprehensive section on the new wiki.
Silverain
Expert Mercenary
Expert Mercenary
Posts: 984
Joined: Thu Aug 07, 2003 5:35 am
Location: Brisbane, Land of Oz
Contact:

Post by Silverain »

I got motivated:

How To Checkout CVS

Feel free to add information to the wiki - or note it in the forums for us to add.
THOUGHT CRIME! [points finger] THOUGHT CRIME!
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

This is wonderful!, Silverrain, many many thanks!
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Not working, though. I get this all the time, no matter what I try:

Code: Select all

NEW CVSROOT: :pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike (local mounted directory)
cvs checkout -P /cvsroot/vegastrike (in directory /home/d/DEVEL/VS)
cvs [checkout aborted]: CVSROOT anonymous@cvs.sourceforge.net:/cvsroot/vegastrike must be an absolute pathname

*****CVS exited normally with code 1*****
Also, I downloaded the latest version of gCVS, yet I find nothing about compression.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

it should be

cvs checkout -P vegastrike

not /cvsroot/vegastrike
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Still not working:

Code: Select all

NEW CVSROOT: :pserver:anonymous@cvs.sourceforge.net:/cvsroot/vegastrike (local mounted directory)
cvs checkout -P vegastrike (in directory /home/d/DEVEL/VS)
cvs [checkout aborted]: CVSROOT anonymous@cvs.sourceforge.net:/cvsroot/vegastrike must be an absolute pathname

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

checking cvs

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

NEW CVSROOT: :pserver:anonymous@cvs.sourceforge.net: -P vegastrike (local mounted directory)
cvs checkout -P vegastrike (in directory /home/d/DEVEL/VS)
cvs [checkout aborted]: CVSROOT anonymous@cvs.sourceforge.net: -P vegastrike must be an absolute pathname

*****CVS exited normally with code 1*****
There seems to be some wrong with my CVSROOT field. As you can see from the above two tries, I also tried each of those with various combinations at the checkout command box, and always the same msg, about it having to be an absolute path.
Maybe it needs a double-slash after the colon?
Halleck
Elite
Elite
Posts: 1832
Joined: Sat Jan 15, 2005 10:21 pm
Location: State of Denial
Contact:

Post by Halleck »

Hm... you might want to have a look at the vegastrike CVS project page.
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

I got it! Worked! What the guide needs to have corrected is the following (for gCVS):

In Admin->Preferences, the General tab:

Code: Select all

anonymous@cvs.sourceforge.net:/cvsroot/vegastrike
Below that, click the button Password ("pserver")

Click OK

The log window shows:

Code: Select all

NEW CVSROOT: anonymous@cvs.sourceforge.net:/cvsroot/vegastrike (password authentication)
Press ENTER (may not be necessary, but I did :) )

Now go to Create->Checkout Module

Navigate to an appropriate location to put the stuff, creating folders as needed, such as,

Code: Select all

/home/myself/DEVEL/
Click on OK

Now you get a Checkout Settings box. In the main field, first tab, where it says "Enter the module name and path on the server", type vegastrike.

Now sit back by the dock at the bay, watching the files scroll away.
Silverain
Expert Mercenary
Expert Mercenary
Posts: 984
Joined: Thu Aug 07, 2003 5:35 am
Location: Brisbane, Land of Oz
Contact:

Post by Silverain »

@chuck_starchaser,

I have updated the checkout page, but since I don't use gCvs could you review and note corrections where needed? Thanks.
THOUGHT CRIME! [points finger] THOUGHT CRIME!
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

I'm in Windows now; I'll be back in Linux tonight. From a superficial look, there's a couple of things. Point 4 says,
# Set CVSROOT to be the same as the one below. (or else the menus will be grayed out and you can't do anything);
Should say "above", rather than "below".
Like I said, I have the latest version and there was no compression level setting anywhere.
Point 11 says,
# Checkout Settings box - in the main field, first tab enter the name of module you wish to checkout;
I'd add (e.g.: "vegastrike", without the quotes), otherwise people might not know that a 'module' refers to a folder.
Point 13 says,
Open up a shell and type:
cd vegastrike; ./configure <SEE HowTo:Compile from Cvs FOR DETAILS>; make
But...
a) ./configure doesn't work (file not found), and
b) the SEE ... FOR DETAILS links to a page that says it doesn't exist yet.

By the way, I'd love to know how to build this thing in Linux. I came back to Windows hoping to use my MinGW compiler with CodeBlocks IDE, but no luck at all with it, either.
MamiyaOtaru
Privateer
Posts: 729
Joined: Tue Jan 07, 2003 8:32 am

Post by MamiyaOtaru »

make -f Makefile.cvs
then
./configure
etc
chuck_starchaser
Elite
Elite
Posts: 8014
Joined: Fri Sep 05, 2003 4:03 am
Location: Montreal
Contact:

Post by chuck_starchaser »

Thanks! I'll try it tonight when I'm back in Linux.
Post Reply