Introduction to CVS: Difference between revisions

From VrlWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
The CVS repository is accessed by setting the '''CVSROOT'' variable.  Once set you will be able to checkout code and make updates to the repository.  Complete instruction for setting up your environment including the CVSROOT variable is described in the sections [[Automated Quick Start]] and [[Quick Start for CIT Users|Manual Quick Start]].
The CVS repository is accessed by setting the '''CVSROOT'' variable.  Once set you will be able to checkout code and make updates to the repository.  Complete instruction for setting up your environment including the CVSROOT variable is described in the sections [[Automated Quick Start]] and [[Quick Start for CIT Users|Manual Quick Start]].
The CVS repository has the golden copies of our software.  It is a high valued item so you need to use caution whenever you modify it.  It is important to understand how CVS works and what effects CVS command have.  If you are new to CVS there are many tutorials online to help you get started.  Note that deleting or renaming directories in the CVS repository needs to be done by an administrator.




Line 7: Line 9:




'''CAUTION:'''  The free versions of CVS we've tried do not work reliably on Windows.  Unless you carefully check your work you should perform CVS operations on Unix.  It is generally safe to do a read-only check out of software from CVS on Windows.
'''CAUTION FOR WINDOWS USERS:'''  The free versions of CVS we've tried do not work reliably on Windows.  Unless you understand the underlying issues involved and carefully check your work you should perform CVS operations on Unix.  It is generally safe to do a read-only check out of software from CVS on Windows.
 
'''When developing on Windows it is very important that when checking in text files that they use Linux style Line Feed (LF).'''  The default delimiter on Windows is Carriage Return and Line Feed (CR/LF).
 
To create text files with line feed delimiters you can either change your editor settings or use a conversion tool.  Many editors do not support end of line settings.  The Cygwin '''vim''' editor installed on the standard Brown desktop creates files with Line Feed delimiters.  To convert files the <tt>dos2unix</tt> command is available on Linux and with Cygwin on Windows.
 
 
 
 
 
 
 


The CVS repository has the golden copies of our software.  It is a high valued item so you need to use caution whenever you modify it.  It is important to understand how CVS works and what effects CVS command have.  If you are new to CVS there are many tutorials online to help you get started.  Note that deleting or renaming directories in the CVS repository needs to be done by an administrator.




  One page cheat sheet for CVS:  http://www.bravegnu.org/cvscheat/cvscheat.pdf
  One page cheat sheet for CVS:  http://www.bravegnu.org/cvscheat/cvscheat.pdf

Revision as of 14:05, 12 August 2010

The CVS repository is accessed by setting the 'CVSROOT variable. Once set you will be able to checkout code and make updates to the repository. Complete instruction for setting up your environment including the CVSROOT variable is described in the sections Automated Quick Start and Manual Quick Start.

The CVS repository has the golden copies of our software. It is a high valued item so you need to use caution whenever you modify it. It is important to understand how CVS works and what effects CVS command have. If you are new to CVS there are many tutorials online to help you get started. Note that deleting or renaming directories in the CVS repository needs to be done by an administrator.


On Unix set CVSROOT to: /map/gfx0/cvsroot/

On Windows set CVSROOT to: Y:\map\gfx0\cvsroot\


CAUTION FOR WINDOWS USERS: The free versions of CVS we've tried do not work reliably on Windows. Unless you understand the underlying issues involved and carefully check your work you should perform CVS operations on Unix. It is generally safe to do a read-only check out of software from CVS on Windows.

When developing on Windows it is very important that when checking in text files that they use Linux style Line Feed (LF). The default delimiter on Windows is Carriage Return and Line Feed (CR/LF).

To create text files with line feed delimiters you can either change your editor settings or use a conversion tool. Many editors do not support end of line settings. The Cygwin vim editor installed on the standard Brown desktop creates files with Line Feed delimiters. To convert files the dos2unix command is available on Linux and with Cygwin on Windows.






One page cheat sheet for CVS:  http://www.bravegnu.org/cvscheat/cvscheat.pdf