2. Access CVS

There are two types of CVS access: Anonymous (read-only access; open to all), and developers (read/write access;restricted).

To access the CVS server (known as 'pserver'), you will need to have an account (username and password). For the purpose of this document, we will assume your username is myaccount and password is rocks.

2.1. Gain Anonymous Access

Anonymous access is the same as the account based access, except that you would not be able to commit files to the CVS repository. The username is anoncvs and password is anoncvs.

$ cvs -d:pserver:anoncvs@cvs.arabeyes.org:/home/arabeyes/cvs login
$ cvs -d:pserver:anoncvs@cvs.arabeyes.org:/home/arabeyes/cvs co module
    

In the above example, be sure to replace the module with the approrpriate module name from the CVS repository.

2.2. Gain Commit Access

2.2.1. Request Commit Accounts

CVS write access is not lightly given. You may want CVS access if you are:

  • Starting a new project

  • Contributing to an existing project

If you are requesting an account to start a new project, then your account will be approved once the Core Management Team has apporoved your project. However, if you are requesting an account to contribute to an existing project, then the coordinator of that particular project will have to approve your account creation first.

In order to request CVS write access on Arabeyes' CVS repository, you must file a bug-report via bugs.arabeyes.org. It is also expected that you have read this document and know exactly why you are needing CVS access.

If at any point you wish to change your CVS password, you will need to email the CVS administrator with an encrypted version of your password. This can be done by taking the output of one of the following methods:

$ perl -e 'print crypt("PASSWORD", XY),"\n"'
      

Or

$ python -c 'import crypt; print crypt.crypt("PASSWORD", "XY")'
      

Where PASSWORD is your password and XY are two random alphanumeric characters of your choice.

2.2.2. Log In

The first thing to do is to login! Here are some vital pieces of information you are going to need set your CVSROOT, like:

$ export CVSROOT=:pserver:myaccount@cvs.arabeyes.org:/home/arabeyes/cvs
      

If you are using WinCVS then you will need to break it down to:

  • Authentication type - pserver

  • Username - myaccount

  • Host name - cvs.arabeyes.org

  • CVSROOT - /home/arabeyes/cvs

Once you have your environment set, you can then login as follows:

$ cvs login
      

Enter your password when it prompts you for one. You are in!