Software Configuration Management - PowerPoint PPT Presentation

1 / 23
About This Presentation
Title:

Software Configuration Management

Description:

CVS. Records history of source files. Efficiently records every version ... Things to do with CVS. Get source code. Put new version back into repository ... – PowerPoint PPT presentation

Number of Views:93
Avg rating:3.0/5.0
Slides: 24
Provided by: stcs6
Category:

less

Transcript and Presenter's Notes

Title: Software Configuration Management


1
Software Configuration Management
2
SCM
  • A discipline for controlling the evolution of
    software systems.
  • Has many aspects
  • Identification
  • Control
  • Status accounting
  • Audit and review

3
Identification
  • What are the configuration items? (I.e., what is
    under configuration management?)
  • How do you name them?
  • What is the relationship between items?
  • Versions
  • Baseline
  • Release

4
Versions
V3.1
V3.1.1
V3.1.2
V3
V3.2
V3.3.2
V3.3
V3.3.1
5
Baseline
  • Baseline is a software configuration item that
    has been reviewed and agreed upon, and that can
    be changed only through formal change control
    procedures
  • Intermediate versions that havent been reviewed
    are SCIs but not baselines.

6
Release
  • Release is a software configuration item that the
    developers give to other people
  • Release should be a baseline

7
Control
  • Who is allowed to read/write configuration items?
  • How do you know if changes are allowed/correct?

8
Status accounting
  • Reporting the status of components and change
    requests
  • Which components have changed this week?
  • Which components did Bob change?
  • Which components have the most changes?
  • Which change requests are more than a month old
    and of priority 3 or greater?

9
Audit and review
  • How do we know that the build script is OK?
  • How do we know that only authorized people can
    change the database interface?
  • Can we actually run the version from March 3,
    1998?

10
Change control
  • Change request/engineering change order
  • User story
  • Bug report
  • Change control authority - decides which changes
    should be carried out
  • CMS should tie code changes back to change
    requests

11
Change control authority
  • Change control authority
  • determines new features
  • determines bugs that will be fixed
  • Where is the change control authority
  • in XP?
  • In RUP?

12
Build management
  • How do you build the product?
  • Which compiler? Which flags?
  • Which source files?
  • Which libraries should be linked?
  • Which also means which version

13
make
  • The makefile describes
  • how to compile
  • the source files to use
  • the compiler to use
  • the compiler flags to use
  • how to link
  • the libraries to use
  • how to install, clean up, print out, test, etc
  • No version information!

14
Daily build and smoke test
  • Ways to break the build process
  • check in bad code
  • forget to include file in makefile
  • move a library
  • Every day (night) build the latest version of
    product and run simple test suite

15
To make SCM work requires
  • Bureaucracy
  • Discipline/training
  • Tools

16
CVS is an example of
  • An S.E. tool
  • Several activities
  • Supported by processes

17
CVS
  • Records history of source files
  • Efficiently records every version
  • Helps developers work concurrently

18
CVS
  • Does not
  • Build an executable
  • use make
  • Keep track of change requests, change orders
  • use Bugzilla or GNATS
  • Enforce a particular process

19
CVS
Developer 4
Repository
Developer 1
Developer 3
Developer 2
20
Things to do with CVS
  • Get source code
  • Put new version back into repository
  • Compare differences between versions
  • Create, delete, change permissions, etc

21
Quiz
  • What is the purpose of a tool for
  • Version control
  • Change management
  • Building
  • Baseline
  • Software configuration item
  • Configuration object
  • Access control

22
First homework
  • http//wiki.cs.uiuc.edu/SEcourse/329Homework1
  • Setup version control system
  • Setup change control policy

23
Next time cvs
  • Read chapter 1 of the cvs manual at
    http//www.cvshome.org/docs/manual/
Write a Comment
User Comments (0)
About PowerShow.com