Download presentation
Presentation is loading. Please wait.
Published byVincent Lane Modified over 9 years ago
1
Source Code Management with CVS Kurt Wiersma December 2004
2
Who Am I? CF developer since CF 4.0 Big fan of Java Graduated from St. Olaf College in 2001 with a major in Chemistry and a minor in CS Currently working for the American Academy of Neurology (www.aan.com)www.aan.com We are looking for contractors Blog: http://www.jroller.net/page/kwiersmahttp://www.jroller.net/page/kwiersma Email: kwiersma@mac.comkwiersma@mac.com I have been working with CVS for a little more then a year
3
Benefits of Source Code Management All code changes are tracked Allows you to roller back changes Allows you to track who “broke” the app Codes changes across several developers can be synchronized Makes it easy to backup your source code You can work on several different copies of the same application at the same time. Example: development and production
4
SCM Systems Open Source CVS - http://cvshome.orghttp://cvshome.org Subversion - http://subversion.tigris.orghttp://subversion.tigris.org Commercial PVCS - http://www.pvcs.synergex.com/ Perforce - http://www.perforce.com/ Visual Source Safe - http://www.microsoft.comhttp://www.microsoft.com
5
What is CVS? CVS = Concurrent Versions System Open source Client/server design Client and servers available for just about any platform OS X, Windows, and Linux Traditionally command line based but there are several excellent GUI clients
6
Terminology Repository - area on the server where the files are stored Sandbox - a local copy of the code which you work on and then commit to the repository Checkout - act of getting a local a copy of the latest version of the code from the repository Commit - saving the changes to your local file(s) to the cvs repository
7
Terminology (part 2) Update - getting code changes that have been committed since you checked out the project Merge - combining changes between two versions of the same file History - shows a list of commit messages, times and, who committed for a particular file Revision - cvs assigned version number for a file Tagging - a way to mark a group of files and revisions Branching - a way to work on multiple copies of your application
8
Demo http://localhost/cgi-bin/viewcvs/viewcvs.cgi
9
GUI CVS Clients Free WinCVS - http://www.wincvs.org/http://www.wincvs.org/ MacCVS - http://www.wincvs.org/downloads.html TortoiseCVS - http://www.tortoisecvs.org/http://www.tortoisecvs.org/ Eclipse - http://eclipse.org Commerical SmartCVS - http://smartcvs.comhttp://smartcvs.com
10
CVS Servers Windows CVSNT - http://cvsnt.orghttp://cvsnt.org Linux Generally comes with your distribution Mac OS X Comes with the free developer tools See my hint for setup: http://www.macosxhints.com/article.php?story=20020918 055124794 http://www.macosxhints.com/article.php?story=20020918 055124794
11
Other CVS Tools ViewCVS - http://viewcvs.sourceforge.net/ CVSMonitor - http://ali.as/devel/cvsmonitor/
12
CVS Resources CVS Manual - https://www.cvshome.org/docs/manual/https://www.cvshome.org/docs/manual/ Web Site Projects with CVS - http://www.durak.org/cvswebsites/howto-cvs/ http://www.durak.org/cvswebsites/howto-cvs/ O’Reilly book CVS: The Definitive Guide
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.