Chapter 13 Configuration Management



Similar documents
Chapter 13 Configuration Management

Page 1. Outline of the Lecture. What is Software Configuration Management? Why Software Configuration Management?

Software Configuration Management. Addendum zu Kapitel 13

Configuration & Build Management

Software Configuration Management.

CHAPTER 7 Software Configuration Management

Software Configuration Management

Software Configuration Management

TIME. Programming in the large. Lecture 22: Configuration Management. Agenda for today. About your Future. CM: The short version. CM: The long version

Software Configuration Management. Context. Learning Objectives

Chapter 5. Choose the answer that mostly suits each of the sentences given:

SOE. managing change in system development projects: configuration management

Introduction to Software Configuration Management. CprE 556 Electrical and Computer Engineering Department Iowa State University

Software Configuration Management. Slides derived from Dr. Sara Stoecklin s notes and various web sources.

Continuous Integration. CSC 440: Software Engineering Slide #1

Theme 1 Software Processes. Software Configuration Management

Lecture 10 CS5702. Requirements Engineering. Managing change optimising Value - A bit more about Agile RE. Requirements Engineering.

CENG492 SENIOR DESIGN PROJECT AND SEMINAR II SOFTWARE CONFIGURATION MANAGEMENT PLAN

Eclipse Help

Version Control Tools

Software Configuration Management

Software Configuration Management

Software Configuration Management (SCM)

Software configuration management

Configuration Management in Software Development Life Cycle

From: William C. Brown (770)

Software Configuration Management Plan

Software Lifecycles Models

Kevin Lee Technical Consultant As part of a normal software build and release process

Chapter 11, Testing, Part 2: Integration and System Testing

STAR JPSS Algorithms Integration Team Configuration Management Plan Version 1.2

Chapter 1: Introduction

Software Configuration Management. Wingsze Seaman COMP250SA February 27, 2008

What Are Software Developers Facing?

Roundtable Enterprise

CHAPTER 7 SOFTWARE CONFIGURATION MANAGEMENT

Conformance 101. February FACE is a Trademark of The Open Group

Dr. U. Assmann, Software Engineering 1 Dr. U. Assmann, Software Engineering 2

Chapter 11: Integrationand System Testing

PROJECT MANAGEMENT PLAN TEMPLATE < PROJECT NAME >

Software Configuration Management and Change Management

Software Configuration Management Plan

Surround SCM Best Practices

Lecture Overview. Object-Oriented Software Engineering: Using UML, Patterns, Java, and Software Development Processes. Prof. Dr.

Your Software Quality is Our Business. INDEPENDENT VERIFICATION AND VALIDATION (IV&V) WHITE PAPER Prepared by Adnet, Inc.

Configuration management. Ian Sommerville 2004 Software Engineering, 7th edition. Chapter 29 Slide 1

Successfully managing geographically distributed development

CPSC 491. Today: Source code control. Source Code (Version) Control. Exercise: g., no git, subversion, cvs, etc.)

IBM Rational ClearCase, Version 8.0

Software Configuration Management Plan

Perforce. elearning Catalog

Software Configuration Management. Visiting Lecture Tero Kojo

Project QA and Collaboration Plan for <project name>

One solution for all your Source Configuration Management Needs

Chapter 1: Introduction

The purpose of Capacity and Availability Management (CAM) is to plan and monitor the effective provision of resources to support service requirements.

Software Configuration Management and Continuous Integration

Automated testing and continuous integration

Software Engineering I: Software Technology WS 2008/09. Integration Testing and System Testing

White Paper. Software Development Best Practices: Enterprise Code Portal

White Paper November BMC Best Practice Process Flows for Asset Management and ITIL Configuration Management

Software Project Management Plan

TEMPLATE. U.S. Department of Energy. Project Name. Configuration Management Plan. September 2002 U. S. DEPARTMENT OF ENERGY

Software Configuration Management, Software Product lines and Summary

Service Asset & Configuration Management PinkVERIFY

The Configuration Management process area involves the following:

What is a life cycle model?

CONFIGURATION MANAGEMENT (CM) GUIDELINES

Software Quality Assurance Plan

19 Configuration Management

Software Change Management Chapter 27 Homework 10 Points

Processing Requirements by Software Configuration Management

NEESit Software Configuration Management Process

Global Software Change Management for PVCS Version Manager

Computer programs (both source and executable) Documentation (both technical and user) Data (contained within the program or external to it)

Nexus Professional Whitepaper. Repository Management: Stages of Adoption

Configuration Management. Software Configuration Management. Example of System Families. Configuration Management

Integrity 10. Curriculum Guide

What Is Software Configuration Management?

A Configuration Management Model for Software Product Line

5 FAH-5 H-520 LIFE CYCLE MANAGEMENT

Automated Transportation Management System

Software Configuration Management

Maven or how to automate java builds, tests and version management with open source tools

Beginner s guide to continuous integration. Gilles QUERRET Riverside Software

Visualization of Version Control Information

Software Engineering

Developing Software in a Private workspace PM PMS

WebSphere Business Modeler

<name of project> Software Project Management Plan

Agile SCM Build Management for an Agile Team. Some Definitions. Building and Agility. Steve Berczuk, Brad Appleton, and Steve Konieczka October 2003

Practicing Continuous Delivery using Hudson. Winston Prakash Oracle Corporation

Chap 1. Introduction to Software Architecture

Introduction to Programming Tools. Anjana & Shankar September,2010

R214 SPECIFIC REQUIREMENTS: INFORMATION TECHNOLOGY TESTING LABORATORY ACCREDITATION PROGRAM

Configuration Management Models in Commercial Environments

BlueJ Teamwork Tutorial

Integration Technologies Group (ITG) ITIL V3 Service Asset and Configuration Management Assessment Robert R. Vespe Page 1 of 19

Software configuration management in agile methods

Change Management. Why Change Management? CHAPTER

Transcription:

Object-Oriented Software Engineering Using UML, Patterns, and Java Chapter 13 Configuration Management Outline of the Lecture Purpose of Software Configuration Management (SCM)! Motivation: Why software configuration management?! Definition: What is software configuration management?! Activities and roles in software configuration management Some Terminology! Configuration Item, Baseline, SCM Directory, Version, Revision. Software Configuration Management Activities! Promotion Management, Management, Change Management Outline of a Software Configuration Management Plans! Standards (Example: IEEE 828-1990)! Basic elements of IEEE 828-1990 Configuration Management Tools Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 2 Why Software Configuration Management? What is Software Configuration Management? The problem:! Multiple people have to work on software that is changing! More than one version of the software has to be supported: " d systems " Custom configured systems (different functionality) " System(s) under development! Software must run on different machines and operating systems #Need for coordination Software Configuration Management! manages evolving software systems! controls the costs involved in making changes to a system Definition:! A set of management disciplines within the software engineering process to develop a baseline. Description:! Software Configuration Management encompasses the disciplines and techniques of initiating, evaluating and controlling change to software products during and after the software engineering process. Standards (approved by ANSI)! IEEE 828: Software Configuration Management Plans! IEEE 1042: Guide to Software Configuration Management Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 3 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 4 Software Configuration Management is a Project Function SCM is a Project Function (as defined in the SPMP) with the goal to make technical and managerial activities more effective. Software Configuration Management can be administered in several ways:! A single software configuration management team for the whole organization! A separate configuration management team for each project! Software Configuration Management distributed among the project members! Mixture of all of the above Configuration Management Activities Software Configuration Management Activities:! Configuration item identification! Promotion management! management! Branch management! Variant management! Change management No fixed rules:! Activities are usually performed in different ways (formally, informally) depending on the project type and life-cycle phase (research, development, maintenance). Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 5 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 6 Page 1

Configuration Management Activities (continued) Configuration item identification! modeling of the system as a set of evolving components Promotion management! is the creation of versions for other developers management! is the creation of versions for the clients and users Change management! is the handling, approval and tracking of change requests Branch management! is the management of concurrent development Variant management! is the management of versions intended to coexist Configuration Management Roles Configuration Manager! Responsible for identifying configuration items. The configuration manager can also be responsible for defining the procedures for creating promotions and releases Change control board member! Responsible for approving or rejecting change requests Developer! Creates promotions triggered by change requests or the normal activities of development. The developer checks in changes and resolves conflicts Auditor! Responsible for the selection and evaluation of promotions for release and for ensuring the consistency and completeness of this release Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 7 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 8 Terminology We will define the following terms! Configuration Item! Baseline! SCM Directories! Version! Revision! #The definition of the terms follows the IEEE standard. #Different configuration management systems may use different terms. #Example: CVS configuration management system used in our projects uses terms differeing from the IEEE standard. Terminology: Configuration Item An aggregation of hardware, software, or both, that is designated for configuration management and treated as a single entity in the configuration management process. $ Software configuration items are not only program code segments but all type of documents according to development, e.g #all type of code files #drivers for tests #analysis or design documents #user or developer manuals #system configurations (e.g. version of compiler used) $ In some systems, not only software but also hardware configuration items (CPUs, bus speed frequencies) exist! Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 9 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 10 Finding Configuration Items Large projects typically produce thousands of entities (files, documents, data...) which must be uniquely identified. Any entity managed in the software engineering process can potentially be brought under configuration management control But not every entity needs to be under configuration management control all the time. Two Issues:! What: Selection of Configuration Items " What should be under configuration control?! When: When do you start to place entities under configuration control? Conflict for the Project Manager:! Starting with CIs too early introduces too much bureaucracy! Starting with CIs too late introduces chaos Finding Configuration Items (continued) Some items must be maintained for the lifetime of the software. This includes also the phase, when the software is no longer developed but still in use; perhaps by industrial customers who are expecting proper support for lots of years. An entity naming scheme should be defined so that related documents have related names. Selecting the right configuration items is a skill that takes practice! Very similar to object modeling! Use techniques similar to object modeling for finding CIs! " Find the CIs " Find relationships between CIs Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 11 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 12 Page 2

Which of these Entities should be Configuration Items? Possible Selection of Configuration Items Problem Statement Software Project Management Plan (SPMP) Requirements Analysis Document (RAD) System Design Document (SDD) Project Agreement Object Design Document (ODD) Dynamic Model Object model Functional Model Unit tests Integration test strategy Source code API Specification Input data and data bases Test plan Test data Support software (part of the Support software (not part of the User manual Administrator manual Problem Statement Software Project Management Plan (SPMP) % Requirements Analysis Document (RAD) % System Design Document (SDD) Project Agreement % Object Design Document (ODD) Dynamic Model Object model Functional Model % Unit tests Integration test strategy % Source code API Specification % Input data and data bases Test plan % Test data % Support software (part of the Support software (not part of the User manual Administrator manual Once the Configuration Items are selected, they are usually organized in a tree Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 13 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 14 Terminology: Version Terminology: Baseline The initial release or re-release of a configuration item associated with a complete compilation or recompilation of the item. Different versions have different functionality. A specification or product that has been formally reviewed and agreed to by responsible management, that thereafter serves as the basis for further development, and can be changed only through formal change control procedures. Examples: Baseline A: All the API have completely been defined; the bodies of the methods are empty. Baseline B: All data access methods are implemented and tested. Baseline C: The GUI is implemented. Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 15 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 16 More on Baselines As systems are developed, a series of baselines is developed, usually after a review (analysis review, design review, code review, system testing, client acceptance,...)! Developmental baseline (RAD, SDD, Integration Test,...) " Goal: Coordinate engineering activities.! Functional baseline (first prototype, alpha release, beta release) " Goal: Get first customer experiences with functional system.! Product baseline ( " Goal: Coordinate sales and customer support. Many naming scheme for baselines exist (1.0, 6.01a,...) A 3 digit scheme is quite common: 7.5.5 (Customer) Version (Developer) Revision (Developer) Change management Change management is the handling of change requests! A change request leads to the creation of a new release General change process! The change is requested (this can be done by anyone including users and developers)! The change request is assessed against project goals! Following the assessment, the change is accepted or rejected! If it is accepted, the change is assigned to a developer and implemented! The implemented change is audited. The complexity of the change management process varies with the project. Small projects can perform change requests informally and fast while complex projects require detailed change request forms and the official approval by one more managers. Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 17 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 18 Page 3

Controlling Changes Terminology: SCM Directories Two types of controlling change:! Promotion: The internal development state of a software is changed.! : A changed software system is made visible outside the development organization. Programmer Promote Policy Promotion Master Directory Policy Software Repository Approaches for controlling change (Change Policy)! Informal (good for research type environments and promotions)! Formal approach (good for externally developed CIs and for releases) User Programmer s Directory (IEEE: Dynamic Library)! Library for holding newly created or modified software entities.! The programmer s workspace is controlled by the programmer only. Master Directory (IEEE: Controlled Library)! Manages the current baseline(s) and for controlling changes made to them.! Entry is controlled, usually after verification.! Changes must be authorized. Software Repository (IEEE: Static Library)! Archive for the various baselines released for general use.! Copies of these baselines may be made available to requesting organizations. Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 19 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 20 Standard SCM Directories Change Policies Programmer s Directory! (IEEE Std: Dynamic Library )! Completely under control of one programmer. Master Directory! (IEEE Std: Controlled Library )! Central directory of all promotions. Software Repository! (IEEE Std: Static Library )! Externally released baselines. Foo 95 Promotion Central source code archive Foo 98 Whenever a promotion or a release is performed, one or more policies apply. The purpose of change policies is to guarantee that each version, revision or release (see next slide) conforms to commonly accepted criteria. Examples for change policies: No developer is allowed to promote source code which cannot be compiled without errors and warnings. No baseline can be released without having been beta-tested by at least 500 external persons. Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 21 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 22 Terminology: Version vs. Revision vs. Software Configuration Management Planning Version:! An initial release or re-release of a configuration item associated with a complete compilation or recompilation of the item. Different versions have different functionality. Revision: Question: Is Windows98 a new version or a new revision compared to Windows95?! Change to a version that corrects only errors in the design/code, but does not affect the documented functionality. Software configuration management planning starts during the early phases of a project. The outcome of the SCM planning phase is the Software Configuration Management Plan (SCMP) which might be extended or revised during the rest of the project. :! The formal distribution of an approved version. The SCMP can either follow a public standard like the IEEE 828, or an internal (e.g. company specific) standard. Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 23 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 24 Page 4

The Software Configuration Management Plan Defines the types of documents to be managed and a document naming scheme. Defines who takes responsibility for the CM procedures and creation of baselines. Defines policies for change control and version management. Describes the tools which should be used to assist the CM process and any limitations on their use. Defines the configuration management database used to record configuration information. Tools for Software Configuration Management Software configuration management is normally supported by tools with different functionality. Examples:! RCS " very old but still in use; only version control system! CVS (Concurrent Version Control) " based on RCS, allows concurrent working without locking " http://www.cvshome.org/ " CVSWeb: Web Frontend to CVS! Perforce " Repository server; keeps track of developer s activities " http://www.perforce.com! ClearCase " Multiple servers, process modeling, policy check mechanisms " http://www.rational.com/products/clearcase/ Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 25 Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 26 Summary Software Configuration Management: Important part of project management to manage evolving software systems and coordinate changes to them. Software Configuration Management consists of several activities:! Promotion and management (Covered today)! Branch, Variant and Change Management ([Bruegge-Dutoit]) Public standard for SCM plans: IEEE 828. The standard can be tailored to a particular project:! Large projects need detailed plans to be successful! Small projects should not be burdened with the bureaucracy of detailed SCM plans SCM should be supported by tools. These range from! Simple version storage tools! Sophisticated systems with automated procedures for policy checks and support for the creation of SCM documents. Bernd Bruegge & Allen H. Dutoit Object-Oriented Software Engineering: Using UML, Patterns, and Java 27 Page 5