Contributing to LORENE

The access to LORENE CVS repository via the CVS username  anonymous  is read-only: one can download LORENE's sources but cannot put any modification in the repository. If you have improved or developed some part of LORENE and want everybody to benefit from it, please ask for a CVS username to Eric Gourgoulhon or Jérôme Novak. Then you will be able to use CVS to commit your changes, as follows:

Checking out the latest version of sources

cd <directoty_name>
cvs update
This will download from LORENE repository in Meudon any new version of files present in your working directory and all subdirectories. But it will not download any new subdirectory. In order to have them, you should type instead
cvs update -d
It could be a good strategy to always use this last command.

Committing your changes to the repository

After having modified some files, you can send them to LORENE repository by the command
cvs commit -m "comment about what you have done..."
If you don't specify the -m option, CVS will prompt you with some editor (usually vi !, unless you setup the environment variable $CVSEDITOR,  i.e. add the line

 setenv CVSEDITOR emacs

to your .cshrc  or .tcshrc file).

Adding a new file

To put in LORENE repository a file that you have created from scratch,  type
cvs add <file_name>
cvs commit

File status

You can get the list of files in your working directory which are different with respect to those in the repository by the command
cvs -n -q update
To get the history of the successive versions of a given file, type
cvs log <file_name>

Other CVS commands

The man page of CVS is a valuable source of information:
man cvs
You can also have a look to the Postscript manual On a Linux system, you can locate it by
(for instance: /usr/share/doc/cvs-1.11/

WWW documentation:

Back to LORENE home page