Wesnoth has been registered in Savannah

Discussion among members of the development team.

Moderator: Forum Moderators

Post Reply
miyo
Posts: 2201
Joined: August 19th, 2003, 4:28 pm
Location: Finland

Wesnoth has been registered in Savannah

Post by miyo »

Greetings,

topic says it all... and the magic URL is here - http://savannah.nongnu.org/projects/wesnoth

This has allowed us (read: Dave) to start using (read: learning) CVS.

You can checkout latest and greatest with: cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/wesnoth co wesnoth

And to stay up-to-date go to wesnoth dir you checked out from CVS and run: cvs -z3 update -dP

After running an update, you should always run 'make clean' before 'make'

- Miyo
Last edited by miyo on September 19th, 2004, 10:09 pm, edited 3 times in total.
zas
Posts: 54
Joined: August 25th, 2003, 9:58 pm
Location: France

cvs tips

Post by zas »

To log in the first time use:
cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/wesnoth login
Then press Enter (no password)

To retrieve current cvs tree:
cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/wesnoth co wesnoth

It will create a wesnoth directory where you are, and download all files.

After when you need to update the tree:
cd wesnoth && cvs -z3 update -dP



For CVS writers:

Add /* $Id$ */ to all text files (especially sources) it will be expanded by cvs to something useful ;)

you can use .cvsignore files to force cvs to ignore some files at commit time:

echo '*.swp' > .cvsignore

Note you need one .cvsignore per directory in tree afaik.
miyo
Posts: 2201
Joined: August 19th, 2003, 4:28 pm
Location: Finland

Re: cvs tips

Post by miyo »

zas wrote:To log in the first time use:
cvs -z3 -d:pserver:anoncvs@subversions.gnu.org:/cvsroot/wesnoth login
Then press Enter (no password)
I did not need to use login.
zas wrote: After when you need to update the tree:
cd wesnoth && cvs -z3 update -dP
Thanks, fixed my post.

- Miyo
Dave
Founding Developer
Posts: 7071
Joined: August 17th, 2003, 5:07 am
Location: Seattle
Contact:

Post by Dave »

ettin,

Would you please be able to put instructions on how to check out the source from CVS on the web page?

David
caranha
Posts: 135
Joined: September 15th, 2003, 2:34 am
Location: Japan
Contact:

Post by caranha »

About the CVS...

Would it be possible to set a cron in the CVS server to make a (nightly?) CVS tarball and put it somewhere public?

I would love to checkout CVS (and check in once I start contributing some code) but the place I'm living right now has a ugly proxy that does not let me do anything but telnet/ftp/http out of my computer :-( I'm working on a tunnel thru telnet so I might be able to use other services normally, but I'm afraid that might take a week, and might not even work.

Thanks!
--
Claus Aranha
Mad Scientist
User avatar
Gafgarion
Posts: 607
Joined: February 26th, 2004, 10:48 pm

Post by Gafgarion »

caranha wrote:About the CVS...

Would it be possible to set a cron in the CVS server to make a (nightly?) CVS tarball and put it somewhere public?

I would love to checkout CVS (and check in once I start contributing some code) but the place I'm living right now has a ugly proxy that does not let me do anything but telnet/ftp/http out of my computer :-( I'm working on a tunnel thru telnet so I might be able to use other services normally, but I'm afraid that might take a week, and might not even work.

Thanks!
Sorry to resurrect an old topic, but would it be possible to implement aforementioned nightly tarballs? I've tried 5 different sets of instructions for DLing the CVS version but the operation always times out.

I've even tried GUI front-ends, thinking I'm making some silly mistake with the command line, but even then I can never contact the server.
-Gafgarion
Elvish Pillager wrote:Normal Trolls use clubs, not ostriches.
"Language is the source of misunderstandings." -Antoine de Saint-Exupéry
miyo
Posts: 2201
Joined: August 19th, 2003, 4:28 pm
Location: Finland

Post by miyo »

Did you do:

Code: Select all

export CVS_RSH=ssh
...before running cvs checkout|update?

- Miyo
User avatar
Gafgarion
Posts: 607
Joined: February 26th, 2004, 10:48 pm

Post by Gafgarion »

miyo wrote:Did you do:

Code: Select all

export CVS_RSH=ssh
...before running cvs checkout|update?

- Miyo
Yes.
-Gafgarion
Elvish Pillager wrote:Normal Trolls use clubs, not ostriches.
"Language is the source of misunderstandings." -Antoine de Saint-Exupéry
miyo
Posts: 2201
Joined: August 19th, 2003, 4:28 pm
Location: Finland

Post by miyo »

21:08 < Gafgarion> set CVS_RSH=ssh
21:08 < miyo> Gafgarion: setenv ?
21:08 < Gafgarion> and from there it times out
21:08 < miyo> Gafgarion: you are using csh?
21:09 < Ayin> export
21:09 < miyo> Gafgarion: or posix shell?
21:09 < Gafgarion> csh
21:09 < miyo> Gafgarion: setenv CVS_RSH ssh
21:09 < Ayin> oh, setenv, then :)
21:10 < miyo> Gafgarion: Feel free to write CSH section in WesnothCVS (Wiki)
21:11 < miyo> Gafgarion: Helps?
21:11 < Gafgarion> hey it worked :) thanks miyo, ill update the wiki page
Post Reply