IAS group     UvA Web



Alumni
Contact info
Events
IAS-Knowledge centre
M.Sc. projects
No Title
People
Publications
Research
Reservations
Site Map
Software
  CVS instructions
  Protected Software
  Public Software
Teaching
Vacancies
(See ISLA for the new IAS website. Most maintenance activities on this old website have stopped.)


CVS instructions

CVS instructions

CVS stands for 'Concurrent Version System' and automatically keeps track of different versions of different files. Additioanlly, it helps share data in the files among different people by automatically merging the different modification that people concurrently make to the data. These features are extremely usefull when different people are cooperating in a project and are concurrently make changes to the same source code.

Who has access?

Anyone with secure shell (SSH) access to the host staff.science.uva.nl has read access to the IAS CVS repository managing all the modules. Additionlly, anyone in group 'ii' on this host has write access to the repository. The repository is located in directory /home/web/research/ias/software/public/cvsroot on this host.

Getting a module

For example, to checkout (download) the exisiting module named X use the following command on the command line:

      cvs -d:ext:$USER@staff.science.uva.nl:/home/web/research/ias/software/public/cvsroot checkout X

For a list of all available modules see the public CVS repository. Please note that 'CVSROOT' is not a module but is there for administrative purposes only.

Other CVS commands

Once you have 'checked out' a module, you can get subsequent changes made by other people to the module by typing the following command in the directory of the module:

      cvs update

When you have write access, you can commit your own changes to the module. This way others can update their copy of the module with your changes. This is done by typing the following command in the directory of the module:

      cvs commit -m "optional comment"

When you have write access and want to put a new module in the repository, type the following command from within the toplevel directory of the new module:

      cvs -d:ext:$USER@staff.science.uva.nl:/home/web/research/ias/software/public/cvsroot import -m "initial import" MODULE_NAME USER_NAME start

Then rename the toplevel directory as backup and replace it by checking out the newly imported module. Please note that an import will recursively add all files in the toplevel directory to the repository, including for example object files that are generated from source files. Please clean up your module before importing it to the repository so only the required files are imported.

When you have write access and want to add a file to an existing module, type the following two commands from within the directory that contains the new file:

      cvs add FILENAME
      cvs commit -m "optional comment" FILENAME


For a full manual on the use of CVS see: Version Management with CVS: the CVS manual