CvsPage

What's in CVS?

X.Org now uses CVS only for the rare ongoing maintenance of the X11R6.x monolithic tree. The X11R7.x modular source repositories are now maintained in git, as described on GitPage.

CVS Access

Contents

  1. What's in CVS?
  2. CVS Access
    1. CVSWeb
    2. CVS write access
    3. Branch Names, Communities
    4. CVS documentation
    5. What you should do when you commit code
    6. How can I see what somebody has committed?

Read access to the CVS repository is open to everybody. You can access the X.Org CVS via anonymous CVS:

$ cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/xorg login
CVS password: <hit return>
$ cvs -d :pserver:anoncvs@anoncvs.freedesktop.org:/cvs/xorg co -P app data doc driver font lib proto util xserver

If you have ssh access to freedesktop.org (which you need for write access to the repository), use :ext:username@cvs.freedesktop.org:/cvs/xorg. You also may need to set the environment variable CVS_RSH to ssh. On modern versions of CVS, the :ext: is optional; if your username is the same as your login on the host machine, you may also eliminate username@.

CVSWeb

You can also browse CVS with ViewCVS.

CVS write access

The X.Org Foundation invites anyone who has an interest to join in. Anyone may work on a branch in the repository.

Note that there are two major lines of work under way: a distribution based on the "traditional" packaging that the X Window System has traditionally been distributed, and a modular set of packages, which will allow easier update and management of the technologies, but which are not yet ready for release. Which is most appropriate for your project depends strongly on its timescale to completion and invasiveness.

If you plan a serious development project please consider to apply for CVS write access. This way you can commit your changes yourself. There are a few guidelines to follow when writing to the CVS repository to not interfere with others.

To obtain an account on freedesktop.org to work in a branch of the XOrg Foundation tree, see http://www.freedesktop.org/wiki/AccountRequests.

Discussions about planned work in the XOrg repository should take place on the xorg mailing list. Please also check XorgMailingLists for other development related mailing lists.

Branch Names, Communities

X.Org has a policy for CvsBranchnames. This page also gives some useful hints how to deal with CVS branches and branch tags. We maintain a list of CvsBranches which you may want to check. If you create your own branch please make sure you register it on this page.

The following communities are currently the XOrg Foundation repository as the home for their work:

Please also see XOrgRepository for more information about the X.Org Foundation repository.

CVS documentation

A comprehensive open documentation on CVS is Per Cederquist's manual. Chances are that you have it installed on your system as GNU info page. Simply do

         info cvs

to read it. If this manual is too brief for you you may want to check Karl Fogel's book which is also available on line.

What you should do when you commit code

Before committing code to CVS you should update the ChangeLog file in the root directory to reflect the changes you have made.

        cvs update -dP

        cvs commit

CVS will start an editor for you so that you can add an entry to the CVS log. It is a good idea to copy the text that you have added to the ChangeLog file here.

How can I see what somebody has committed?

There are two mailing lists that are notified of any commits to the X.Org CVS repository.