Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Using CVS to retrieve the VMD source code

VMD is developed using the CVS revision control system. One of the advantages of CVS over older systems such as RCS or SCCS is its ability to provide read-only source code access to scientists that wish to keep abreast of ongoing VMD developments and/or build their own versions of VMD from source code.

Using CVS access to get the current VMD source code

In order to check out a copy of the VMD source code, follow these steps (on Unix):

  1. Request and receive a username and password from us. After you've been granted CVS access, you may continue with the remaining steps.
  2. Run or add the following to your login scripts (replace "username"):
    C shell: alias vmdcvs 'cvs -d :pserver:username@cvs.ks.uiuc.edu:/vmd/cvsroot'
    Bourne shell: alias vmdcvs "cvs -d :pserver:username@cvs.ks.uiuc.edu:/vmd/cvsroot"
  3. vmdcvs login (enter your password)
  4. In a directory that doesn't already contain files or directories of the same names do:
    vmdcvs checkout vmd
    vmdcvs checkout plugins
    vmdcvs checkout vmdbench
    vmdcvs logout

Viewing recent CVS changes on the web

Each night we run a cron job that processes the CVS history files to find source code changes for the last 30 days or so. After processing, we end up with a tree of web pages that allow you to view individual source code changes, source code diffs, and other useful information by browsing on the web. The links below will take you to this information:

Release versions and CVS tags used in VMD development

Through the course of VMD development, we go through thousands of source code revisions between major releases of the program. In order to make it easier to see what has changed between the current source tree and a previous release of VMD, we tag the source tree with a symbolic tag for the released version. The currently available CVS tags in the source tree are listed below:

You can diff the current source tree against VMD 1.9.3 with the following command:

cvs diff -rvmd-1-9-3
You can diff a specific file or files with a command such as:
cvs diff -rvmd-1-9-3  README  configure
You can retrieve the source code used for older versions of VMD with a command such as: cvs get -rvmd-1-9-3 vmd

Clearing CVS tags and deleted files

If you've ever used revision numbers or symbolic tags to checkout older versions of the VMD source and you want your source tree updated to the current developmental versions of all files, issue this command in your vmd source tree:

cvs update -PAd

Id:
pg_cvsget.dox,v 1.28 2020/02/24 18:05:20 johns Exp


Generated on Fri Apr 19 02:47:21 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002