Source%20Code%20Control%20Systems - PowerPoint PPT Presentation

About This Presentation
Title:

Source%20Code%20Control%20Systems

Description:

Delta's upon a complete version (SCCS) Last version complete (RCS) ... Keeps removed files in attic. allows going back in time. bangkok. October 2005. Slide 10 ... – PowerPoint PPT presentation

Number of Views:69
Avg rating:3.0/5.0
Slides: 13
Provided by: wsEdu
Learn more at: https://nsrc.org
Category:

less

Transcript and Presenter's Notes

Title: Source%20Code%20Control%20Systems


1
Source Code Control Systems
Jaap Akkerhuis jaap_at_nlnetlabs.nl
2
SCCS
  • Why
  • How
  • RCS
  • CVS
  • More and more

3
Why Version Control
  • Software Engineering
  • Auditing capabilaties
  • Change tracking
  • Undo mistakes

4
Method
  • Archive (per file)
  • Deltas between versions
  • Delta's upon a complete version (SCCS)
  • Last version complete (RCS), delta's with
    previous
  • Branching, merging
  • for software Engineering

5
RCS intro
  • Archive with extension ,v
  • In sub directory RCS (if exists)
  • Commands asks
  • descriptive text
  • comments for changes

6
RCS ci co
  • CI Checks a file in an archive
  • removes file
  • first time aks description
  • CO Checks a file out an archive
  • file mode Read Only
  • CO -l
  • check out and locks file (RW)
  • CI -u
  • Updates archive
  • leaves file RO

7
Combined actions
  • ci -l
  • ci -u co -l
  • rcsdiff -v1.1 -v1.9
  • compares version
  • co -v1.1 gt 1 co -v1.9 gt 9 diff 1 9 rm 1 9

8
Auditing
  • Comments in Archive
  • rlog pokes in archive
  • RCS keywords in binary
  • Log
  • TLD IN TXT "tld zone version Log
  • Ident for binaries
  • Locks changes by other users

9
CVS
  • Based on RCS
  • Shell scripts by Dick Grune
  • Optimistic concurrency model
  • users seldom hack the same concurrently
  • Remote access
  • Keeps removed files in attic
  • allows going back in time

10
CVS repository
  • Central archive for project
  • Check out a whole project
  • cvs checkout
  • make changes
  • commit changes
  • merges files and changes
  • notifies for conflicting merges

11
Further googling
  • www.cvshome.org
  • subversion
  • tons of commercial software

12
Questions ???
Write a Comment
User Comments (0)
About PowerShow.com