1 / 13

CVS Overview

CVS Overview. CVS Goals. Unix Environment. Concurrent Version Control CSULA CS 491B Alfredo Tigolo III. CVS Description. Resource. Other Revision Control Systems. Procedures. Instructions: Delete sample document icon and replace with working document icons as follows:

lilliek
Download Presentation

CVS Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CVS Overview CVS Goals Unix Environment Concurrent Version Control CSULA CS 491B Alfredo Tigolo III CVS Description Resource Other Revision Control Systems Procedures .

  2. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK CVS Goals • Two types of development styles • “Cathedral-style” • “A Great Babbling Bazaar” • Ground work for CVS • Diff and Patch • Revision Control System (RCS)

  3. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK CVS Description • What CVS is not: • The Lock-Modify-Unlock Model • “File-Locking” • What CVS is: • The Copy-Modify-Merge Model • Reviewing terms: • check out, commit, conflict, Log message, repository, revision, update, working copy

  4. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Copy-Modify-Merge Model • CVS enables developers to edit simultaneously • CVS assumes the burden of integrating changes • CVS keeps track of conflict • *ALWAYS HAVE MASTER COPY AT RUNNABLE STATE

  5. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK CVS keeps track of conflict • When 2 or more developers work in the same area • CVS alerts the conflict and it is up to the developers to communicate

  6. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Other Revision Control Systems • BitKeeper • scalable configuration management system • Distributed = every developer gets their own repository • BitKeeper License • restrictions of pseudo-open-source license

  7. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Other Revision Control Systems • Microsoft Visual Safe Source • manages projects regardless of file type by saving them into a database • VSS integrates • MS Access • VB • VC++ • Visual Fox Pro • Distinction between text and binary

  8. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Procedures • Unix environment • Other environments • There are Windows GUI version • www.wincvs.org • Java CVS • www.jcvs.org

  9. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Unix environment • Setup CVSROOT • unix$ CVSROOT=/usr/local/cvs • unix$ export CVSROOT • unix$ echo $CVSROOT • unix/local/cvs • unix$ • If you need access to many repositories, don’t set CVSROOT • telling cvs location of repository • unix$ cvs -d /usr/local/cvs command

  10. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Unix environment • Starting a new Project • general syntax • unix$ cvs import -m "log msg" projname vendortag releasetag • Running import • example • unix$ cvs -d /opt/cvs/ -m “log message” html atigolo beta

  11. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Unix environment • Checking out working copy • example • cvs checkout html • Making changes • modify source • Finding out changes • cvs update and cvs diff

  12. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Unix environment • Committing to changes • cvs commit -m “my committed source” • Status of source • cvs status sourcefile.txt • Resolving and Detecting Conflicts • finding out who did what • Examining and Reverting changes

  13. . • Instructions: • Delete sample document icon and replace with working document icons as follows: • Create document in Word. • Return to PowerPoint. • From Insert Menu, select Object… • Click “Create from File” • Locate File name in “File” box • Make sure “Display as Icon” is checked. • Click OK • Select icon • From Slide Show Menu, Select Action Settings. • Click “Object Action” and select “Edit” • Click OK Resource • Http://cvsbook.red-bean.com/ • PDF http://cvsbook.red-bean.com/OSDevWithCVS_3E.pdf

More Related