Help TOC > Instructions for DEX developers > Software > WinCVS
WinCVS Date: 2008/02/26 10:50:31
Revision: 1.14

Description

WinCVS is a graphical front end tool for accessing CVS repositories. It runs on the Microsoft Windows platform. WinCvs is an advanced CVS client that provides an expert level of control over CVS operations.

Below, descriptions for two different versions of WinCVS is provided.

About Sourceforge CVS

CVS, Concurrent Versions System, is a centralized Revision Control System (RCS). SourceForge.net provides CVS service to all hosted projects. In order to access the CVS service, a CVS client (like WinCVS) is needed. CVS allows developers to keep a historical record of changes made to their source code tree, and to allow multiple developers to work on a single set of files at the same time without accidentally overwriting changes made by other developers.

Sourceforge CVS does not work as an ordinary CAD system where you check out a file, modify it, and checks it back in for others to modify. In Sourceforge CVS, files are never being checked out. Instead the CVS system allows concurrent editing. This means that if two different users edit the same file at the same time, a conflict will occur when the second file is being uploaded ("committed"). If this happens, Sourceforge CVS returns a message notifying the user of the conflict, and then merges the two new editions into one. It's advised to look into this file afterwards because the merging process isn't always perfect.

When you check in changes to a file, Sourceforge CVS puts a lock on that file for the duration of the check in. This is to prevent someone else checking in the file at the exact same time. As soon as the CVS system has successfully committed the changes, it removes the lock and allows others access to the file.

Sometimes the removal of the lock fails. This stops others from accessing that file. The message displayed by Sourceforge CVS when trying to access a locked file is shown below.

cvs checkout: Updating dexlib/data/dex/work_package_definition
cvs checkout: [11:43:42] waiting for tim's lock in /cvsroot/dexlib/dexlib/data/dex/work_package_definition

To remove the lock on a file you need administrator access to the CVS repository. Therefore a support request must be sent to SourceForge.net team for assistance. It could take a couple of days before the request is being addressed, but given that SourceForge.net are supporting over 100,000 projects and over 1 million users (https://sourceforge.net/docs/about) with no costs, this waiting time must be considered reasonable.

Further useful information about WinCVS is found on (http://www.thathost.com/wincvs-howto/)
If you'd like to know what the mystical letters shown during update mean, have a look at (http://www.thathost.com/wincvs-howto/cvsdoc/cvs_16.html#SEC152).

DEXlib on Sourceforge CVS

The DEXlib source files are manged by the Sourceforge CVS. There is an open browsable copy of DEXlib accessible on the web (http://dexlib.cvs.sourceforge.net/dexlib/dexlib/). Here you can view each individual file, and also see its development over time (its different revisions) and the change logs describing the difference between two revisions. Be aware that it can take up to 24 hours before an update to a CVS managed file is viewable in the browable copy!

CVS id tag

A CVS id tag can be included in the documents. This is achieved by adding;

<!-- $id $ -->

to the code where ever the string is wanted. The result will be something like;

<!-- $Id: sw_wincvs.xml,v 1.14 2008/02/26 10:50:31 mikeward Exp $ -->

WinCVS 1.3.13.2

This older version of WinCVS is still usable...

Download and install WinCVS

WinCVS is a graphical front-end for CVS (Concurrent Versions System). CVS is an open-source version control system mainly used be software developers. The instructions in step 9 below are written for version 1.3.13.2 of WinCVS. The first three bullets describe how to download the most recent version of WinCVS. If you wish to use the older 1.3.13.2 version, you can download it from (...here...), and skip these first three bullets.

WinCVS should now be installed on your computer, and an icon (a yellow fish) should be present on your desktop. (Install python?)

Setup for non-developers

No setup guidence for non-developers is written for this version of WinCVS.

WinCVS configuration for developers

When the installation is completed and your computer has been restarted, WinCVS needs to be configured for access to DEXlib or STEPmod. These instructions for are valid for WinCvs 1.3.13.2.

WinCVS 2.0.2.4

WinCVS 2.0.2.4 was the latest available version at the time of this writing (2005-11-08).

Installation

This installation description has been copied from the Sorceforge.net document F05. To install WinCvs, first read these instructions through, then do the following:

  1. Download the latest stable release of WinCvs from the CvsGui project website (https://sourceforge.net/projects/cvsgui/), and unzip the downloaded file.
  2. Run the WinCvs installer program extracted from the downloaded file, wincvs_setup.exe.
  3. Close all other open programs except for the WinCvs installer and then click on the 'Next' button.
  4. Read the license text if you are unfamiliar with it, select the 'I accept the agreement' radio button and then click on the 'Next' button.
  5. This screen displays useful information about the WinCvs applicaion. It also provides details on optional Windows components that are required for certain users. Once you have done so, click on the 'Next' button.
  6. Review and alter the installation path for WinCvs if necessary. The default path is the ideal location for most users. Then, click on the 'Next' button.
  7. Select the 'Full installation (recommended)' installation component pull-down and click on the 'Next' button.
  8. Review and alter the Start Menu folder to be created for WinCvs as needed (the default option is recommended and shouldn't be changed for most users), and click on the 'Next' button.
  9. Modify any icon and shell context menu options as desired (again, most users shouldn't have a need to modify these), and click on the 'Next' button.
  10. Review the selected installation options and then click on the 'Install' button if they are correct. If not, go back and correct any incorrect settings.
  11. Make sure the 'Install CVSNT' option is checked and click on the 'Finish' button.
  12. Click on the 'Next' button.
  13. Review the license agreement (the GNU GPL) and then select the 'I accept the agreement' radio button. Then, click on the 'Next' button to continue.
  14. Review and alter the installation path for cvsnt if necessary. The default path is the ideal location for most users. Then, click on the 'Next' button.
  15. If a warning box comes up, notifying you that the folder exists where you are trying to install cvsnt, select 'Yes', as you do want to overwrite it.
  16. Select the 'Full installation' component method (this is not the default, you will have to select the option from the pull-down menu), then click on the 'Next' button.
  17. Review and modify the Start Menu options for cvsnt (the defaults should be fine for most users), then click on the 'Next' button.
  18. Make sure the 'Generate default certificate' option is checked and click on the 'Next' button.
  19. Review the installation options and use the 'Back' button to fix any mistakes. Then, click on the 'Install' button.
  20. Click on the 'Finish' button
  21. You must restart the computer to start using WinCvs. If you wish to use it now, select the 'Yes, restart the computer now' radio button. Otherwise, select the 'No, I will restart the computer later' radio button, and restart the computer before trying to configure WinCvs.

(Install python?)

Setup for non-developers

When the installation is completed and your computer has been restarted, WinCVS needs to setup for anonymous access to the prefererred CVS module, e.g. DEXlib or STEPmod. Anonymous access will only allow you to download a module and view it, not to take part in the development process. If you instead is interested in becoming a developer, have a look at the Developers Information section.

Setup for developers

No setup guidence for developers is written for this version of WinCVS. See the instructions written for WinCVS 1.3.13.2
If you are using WinCVS 2.0.2.4 as a developer, you're more than welcome to write a developer setup guidence document.