Concurrent Versions System - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

Concurrent Versions System

Description:

Cvs Files- Add files... SSH && WinCVS. Set HOME and PATH to where ... cvs d /usr/local/cvsroot init ... CVS Homepage - http://www.cvshome.org/ Cygwin - http: ... – PowerPoint PPT presentation

Number of Views:100
Avg rating:3.0/5.0
Slides: 17
Provided by: uw34
Category:

less

Transcript and Presenter's Notes

Title: Concurrent Versions System


1
ConcurrentVersionsSystem
  • Presented by
  • Zach Crisman
  • Melissa Garcia
  • 3 Feb 2003

2
What is a Versioning System?
  • Record the history of files
  • Share code within a group
  • Have multiple people edit the same files
  • Merge changes from different people
  • Go back in time


3
The Dark Ages
  • Saving every version of every file you have ever
    created.
  • Saving current state of project every so often
  • This would however waste an enormous amount of
    disk space.
  • People would have to communicate to make sure
    only one person was editing at a time.

4
The Good Old Days They Were Terrible
5
CVS in Action
Demo
6
Using CVS Command Line
Environment Variables CVSROOT CVS repository CVS_RSHshell EDITOR Basic
Commands cvs co cvs update
files cvs commit files cvs add files
See CVS Quick Referencehttp//www.cvshome.org/
docs/manual/cvs_17.html - SEC153
7
Using CVS WinCVS
Where you can get it The O\nt\iuns directory
http//www.wincvs.org/download.html Basic
Commands Cvs Admin-Checkout module Cvs
Files-Update files Cvs Files-Commit files
Cvs Files-Add files
8
SSH WinCVS
  • Set HOME and PATH to where SSH is located
  • Configure WinCVS to use SSH
  • in WinCVS Preferences
  • General - CVSROOT username_at_cvs-server-host/pat
    h/to/cvsroot
  • General - Authentication SSH server
  • WinCvs - HOME C\Program Files\SSH

9
Understand the Output
10
Public Keys
  • On local
  • ssh-keygen2
  • Will prompt for passphrase
  • Creates a .ssh2 directory in HOME directory with
    the key saved to id_dsa_1024_a.pub
  • Create a identification file in the /.ssh2
    directory
  • echo "IdKey id_dsa_1024_a" identification
  • On remote island
  • Copy public key (id_dsa_1024_a.pub) to the
    /.ssh2 directory
  • Create an authorization file in the /.ssh2
    directory
  • Add Key id_dsa_1024_a.pub to authorization (to
    direct the SSH server to use id_dsa_1024_a.pub as
    a valid public key when authorizing your login)

11
Creating A Repository
  • Check disk space requirements, etc
  • Set up and empty repository
  • cvs d /usr/local/cvsroot init
  • Or remotely
  • extuserpassword_at_hostnameport/path/to/
    repository

12
What did that mean?
13
Remote Repositories
14
Time Travel
15
Parallel Universes
16
Resources
  • PuTTY Homepage - http//www.chiark.greenend.org.uk
    /sgtatham/putty/
  • CVS Homepage - http//www.cvshome.org/
  • Cygwin - http//www.cygwin.com/
  • CVS Primer - http//www.cs.washington.edu/orgs/acm
    /tutorials/dev-in-unix/cvs.html
  • WinCVS http//www.wincvs.org/
Write a Comment
User Comments (0)
About PowerShow.com