CVS - PowerPoint PPT Presentation

1 / 15
About This Presentation
Title:

CVS

Description:

Files controlled by CVS that are stored on a centralized server ... Aegis. http://aegis.sourceforge.net/ BitKeeper. http://www.bitkeeper.com/ Darcs ... – PowerPoint PPT presentation

Number of Views:469
Avg rating:3.0/5.0
Slides: 16
Provided by: mbre7
Category:
Tags: cvs | aegis

less

Transcript and Presenter's Notes

Title: CVS


1
CVS
  • Matt Brenneman

2
What is CVS?
  • Concurrent Versions System
  • Centralized location for all your code
  • Repository
  • Files controlled by CVS that are stored on a
    centralized server
  • It's the most popular revision control system in
    the open-source community.

3
Detailed File Information
  • Stores information about each file
  • Version Number
  • Timestamp
  • Differences
  • Comments

4
Features
  • Keeps a record of current/previous/deleted
    versions.
  • Shows the difference between previous versions.
  • Prevents inconsistent versions of code.

5
Other Uses
  • Not limited to text files.
  • Useful for websites
  • Images
  • Binaries

6
What's Bad About CVS?
  • Security issues
  • Steep learning curve

7
Accessing a CVS Repository
  • Local
  • Can't access remotely
  • Web based CVS browsers usually use this method
  • Pserver (password server)
  • Unencrypted data/password during transfer
  • Uses CVS user rather than system users
  • Ssh
  • Encrypts the data/password during
  • Some clients don't support it

8
Graphical Interfaces
  • gCvs - Linux client
  • http//wincvs.org/index.html
  • WinCvs - Windows client
  • http//wincvs.org/index.html
  • MacCvs - Mac client
  • http//wincvs.org/index.html
  • Cervisia - KDE client
  • http//www.kde.org/apps/cervisia/

9
Graphical Interfaces
  • Pcl-cvs - Emacs Integration
  • http//www.cs.utah.edu/dept/old/texinfo/cvs/pcl-cv
    s_toc.html
  • ViewCVS - Online CVS browser
  • http//viewcvs.sourceforge.net/
  • CVSweb - Online CVS browser
  • http//www.freebsd.org/projects/cvsweb.html

10
Starting a New Project
  • Login
  • Set the CVSROOT variable
  • Initialize CVS
  • Import the initial code
  • Logout
  • See handout for examples of these steps

11
Working On a Project
  • Login
  • Set the CVSROOT variable
  • Initialize CVS
  • Checkout a copy of the project
  • Edit the project that was checked out
  • Commit the changes to the server
  • Logout
  • See handout for examples of these steps

12
Alternatives to CVS
  • Aegis
  • http//aegis.sourceforge.net/
  • BitKeeper
  • http//www.bitkeeper.com/
  • Darcs
  • http//abridgegame.org/darcs/
  • Microsoft Visual SourceSafe
  • http//msdn.microsoft.com/ssafe/

13
Alternatives to CVS
  • Monotone
  • http//better-scm.berlios.de/monotone/
  • Perforce
  • http//www.perforce.com/
  • Subversion
  • http//subversion.tigris.org/
  • Vesta
  • http//www.vestasys.org/

14
Useful Links
  • Official CVS website
  • http//www.nongnu.org/cvs/
  • Open Source Development with CVS
  • http//cvsbook.red-bean.com/cvsbook.html
  • Version Control with CVS on Mac OS X
  • http//developer.apple.com/internet/opensource/cvs
    overview.html
  • Most information is relevant to nix

15
Online Example
  • http//131.118.208.200/cvsweb/cvsweb.cgi
Write a Comment
User Comments (0)
About PowerShow.com