Escolar Documentos
Profissional Documentos
Cultura Documentos
Configuration
Management And
CVS
www.scmGalaxy.com
sG
scmGalaxy
Agenda
www.scmGalaxy.com
scmGalaxy
Current Software Development
Issues
www.scmGalaxy.com
Ensuring proper components are being used throughout the
Lifecycle
Providing file security and file control
Controlling transfer from the LAN to Target environment
Ensuring correct build of application
Managing progress of project
scmGalaxy
Today’s Situation
www.scmGalaxy.com
Developers Step on Each
Other
scmGalaxy
What is SCM?
www.scmGalaxy.com
The tracking and control of software development.
scmGalaxy
Purpose of Configuration
Management
www.scmGalaxy.com
SOFT-
WARE
REQUIRE
-MENTS DESIGN
CODE
TEST
SD P
WBS
VSS LIBRARY
n Provide ability to consistently replicate the executable code of whichever the release or version
required
n Provide Controls that ensure problems receive attention and changes are recorded, approved, and
implemented.
n Control process I & O to ensure consistency, traceability and repeatability of process activities
n Ensure that secure physical archiving (Backup), recovery and control are maintained for the CIs
scmGalaxy
Where does CM Fit in the
whole of SW Life
www.scmGalaxy.com
Release
scmGalaxy
Typical items to be controlled
in SW
www.scmGalaxy.com
1. Requirements Document
2. Project Plan
3. SRS
5. User Manual
6. Design Specification
7. Source code
scmGalaxy
What is a Baseline?
www.scmGalaxy.com
scmGalaxy
SCM Activities
www.scmGalaxy.com
Create CM Plan
Create Central Repository (defined and controlled configuration)
Naming and Identification of CI’s
Establish roles and responsibilities for CM
Establish Baselines & Traceability
Defect Identification and Traceability
Change Control
CM Audit
Configuration Status accounting
Release
Archiving & Retrieval
scmGalaxy
Create CM Plan
www.scmGalaxy.com
PM / PL is responsible for creating CM Plan
Project Specific directory structure
Responsibilities for Configuration management
Responsibilities for approving changes
Versioning & Baselining of Docs
Versioning & Baselining of code before release
● Every new version check in to accompanied by reason, if Bug fix, then specify Bug-id
in comments
Versioning & Baselining of code after release
Change Control
Bug tracking
Configuration Audit
Backup and Recovery Strategy
All team members may participate in review and updating CM Plan
CM Plan to be read in compliance with Developers handbook
scmGalaxy
Create & use Central
Repository
www.scmGalaxy.com
scmGalaxy
Standard Directory Structure
www.scmGalaxy.com
scmGalaxy
Naming and Identification of
CIs
www.scmGalaxy.com
Plans
Requirements
Designs
Test Cases
Source Code (Related modules)
Release Notes
User Documentation
Release
…
scmGalaxy
Roles and Responsibilities for
CM Activities
www.scmGalaxy.com
Maintaining repository – Called as Configuration Controller
CVS Admin
Merges the changes if any required between different versions
Project specific Backups, Recovery
Is there a person / group responsible for approving all change request –
Configuration Control Board
Change Analysis & Acceptance criteria
Change Approval/ Rejection
Regression test criteria
Release and acceptance
Developers responsible for all check-ins (and check-outs)
Comment the changes / bug fixes appropriately before check-in
Ensure that CI is defect free before integrated
scmGalaxy
Establish Baselines and
Traceability
www.scmGalaxy.com
Establish
Traceability Matrix – Design –Req-Test Cases-Code
Change Control Log – CR Status – Use MPower for LOG
Release Log
Baselining & Versioning – Before Release
Documents (Within and in CVS) – 0.1 To n.9
Code (Coding Guidelines are used for version history) - IT Base lined, ST
baselined at a directory level
●
BP: Check in into CVS repository only after the code is compiled &
unit tested, important so that others can do their build
Baselining & Versioning – After Release
Label at project level
Release – Release Checklist + Release Notes + Release Log + User Docs
scmGalaxy
Defect Identification and
Traceability
www.scmGalaxy.com
Use Defect tracking tool for defect login and status tracking
scmGalaxy
Change Control
www.scmGalaxy.com
Log the change details into CR Form
Establish CR Log in Mpower and track effort and status
Perform analysis
Get approval
Implement changes
Perform Regression test as applicable
Label CVS after implementing CR/ part of release comment
Store the release in the Release folder.
scmGalaxy
Release
www.scmGalaxy.com
Release Note
Release Checklist
Release Log
User Manual
Release Label - Mandatory
scmGalaxy
CI Status Accounting & CM
Audit
www.scmGalaxy.com
scmGalaxy
Archival, Retrieving
www.scmGalaxy.com
scmGalaxy
What is CVS?
www.scmGalaxy.com
•
CVS is Concurrent Versions System.It is a source
control system. Using it, one can record the history of
source files.
•
With CVS, old versions can be retrieved to see exactly
which change caused the bug.
•
Use CVS commands to get your own copy of the files
into a working directory, and then work on that copy.
•
When finished a set of changes, check (or commit)
them back into the repository. The repository then
contains the changes which was made, as well as
recording exactly what was the change, and other such
information.
•
CVS stores all the versions of a file in a single file and
only stores the deltas i.e differences between versions.
•
CVS merges the work when each developer is done.
scmGalaxy
CVS Continues……..
www.scmGalaxy.com
What is a module?
The modules are symbolic names for some
collection of source directories and files
scmGalaxy
CVS Continues….
www.scmGalaxy.com
What is a Branch?
Branches allow development of different lines of software
at the same time. CVS allows you to isolate changes onto a
separate line of development, known as a branch. When you
change files on a branch, those changes do not appear on
the main trunk or other branches.
What is a Tag?
CVS Tags are used within CVS repository to mark
revisions of particular interest to the development process to
indicate that the files tagged are at an equivalent stage.You
cannot add files and directories using a simple tag.
scmGalaxy
CVS Continues…
CVS Continues….
www.scmGalaxy.com
v
Help !!!
v
cvs --help-options
To see a list of common commands
v
cvs --help-command
To see syntax for specific command
v
cvs –H <command>
http://www.csc.calpoly.edu/~dbutler/tutorials/winter96
scmGalaxy
Thank You !
www.scmGalaxy.com