Development:GIT: Difference between revisions
CVS instructions replicated from http://adonthell.linuxgames.com/development/cvs.shtml |
m Links added |
||
Line 1: | Line 1: | ||
If you want to contribute code to Adonthell, you will have to get the latest version from [http://en.wikipedia.org/wiki/Concurrent_Versions_System CVS], the revision control system we're using. Information about accessing the repository can be found on our [http://savannah.nongnu.org/cvs/?group=adonthell Savannah Project page], but simple instructions are replicated below. | If you want to contribute code to Adonthell, you will have to get the latest version from [http://en.wikipedia.org/wiki/Concurrent_Versions_System CVS], the revision control system we're using. Information about accessing the repository can be found on our [http://savannah.nongnu.org/cvs/?group=adonthell Savannah Project page], but simple instructions are replicated below. | ||
Once you have acquired the source code and installed all [[Development:Dependency Matrix|dependencies]] you can go forward and [[Development:Compiling|build]] Adonthell. | |||
== Adonthell CVS Modules == | == Adonthell CVS Modules == | ||
Line 17: | Line 19: | ||
== Anonymous CVS Access == | == Anonymous CVS Access == | ||
At the beginning you will only have read access to our CVS repository. Once you have contributed some code and joined our team you will be granted [[Development:CVS#Developer CVS Access|full access]]. | At the beginning you will only have read access to our CVS repository. Once you have contributed some code and [[Development:Join The Team|joined]] our team you will be granted [[Development:CVS#Developer CVS Access|full access]]. | ||
To obtain a working copy for any of the above [[Development:CVS#Adonthell CVS Modules|modules]], issue the following commands: | To obtain a working copy for any of the above [[Development:CVS#Adonthell CVS Modules|modules]], issue the following commands: | ||
Line 31: | Line 33: | ||
== Developer CVS Access == | == Developer CVS Access == | ||
In order to gain write access to our CVS, you'll have to be registered as a developer at [http://savannah.nongnu.org/ Savannah] and a member of Adonthell. Then you can get a working copy of the desired [[Development:CVS#Adonthell CVS Modules|module]] with: | In order to gain write access to our CVS, you'll have to be registered as a developer at [http://savannah.nongnu.org/ Savannah] and [[Development:Join The Team|become a member]] of Adonthell. Then you can get a working copy of the desired [[Development:CVS#Adonthell CVS Modules|module]] with: | ||
export CVS_RSH=ssh | export CVS_RSH=ssh |
Revision as of 17:04, 5 October 2008
If you want to contribute code to Adonthell, you will have to get the latest version from CVS, the revision control system we're using. Information about accessing the repository can be found on our Savannah Project page, but simple instructions are replicated below.
Once you have acquired the source code and installed all dependencies you can go forward and build Adonthell.
Adonthell CVS Modules
There are a number of modules available in the repository. For developing on Adonthell you will most likely need:
- adonthell -- the source code for the Adonthell Engine
- tools -- the source code for the accompanying Tools
- gfx -- the media created for official games
Mainly of historical interest are:
- adonthell-0.3 -- the source code to the v0.3.x branch of the Adonthell Engine
- wastesedge -- the data and media files for the Waste's Edge demo game
- doc -- the LaTeX sources to project documentation now found here
Anonymous CVS Access
At the beginning you will only have read access to our CVS repository. Once you have contributed some code and joined our team you will be granted full access.
To obtain a working copy for any of the above modules, issue the following commands:
cvs -z6 -d:pserver:[email protected]:/sources/adonthell co <module>
This will create a folder called <module> under your current working directory. Inside that folder, run
cvs -z6 update -dP
from time to time to get the most recent version.
Developer CVS Access
In order to gain write access to our CVS, you'll have to be registered as a developer at Savannah and become a member of Adonthell. Then you can get a working copy of the desired module with:
export CVS_RSH=ssh cvs -z6 -d:ext:<membername>@cvs.savannah.nongnu.org:/sources/adonthell co <module>
To update the working copy use
export CVS_RSH=ssh cvs -z6 update -dP
For more information on how to use CVS you might want to refer to Open Source Development with CVS by Karl Fogel and Moshe Bar.