Lecture 8: Change Management Flashcards

1
Q

Why Change Management?

A

The problem:

  • Multiple people work on artifacts that are changing
  • More than one version of the artifact has to be supported:
    • Released software systems
    • Custom configured systems (different functionality)
    • Systems under development
    • Software running on different machines & operating systems
  • ➭Need for coordination
  • Software Configuration Management
    • manages evolving software systems
    • controls the costs involved in making changes to a system.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Software Configuration Management?

A
  • Definition Software Configuration Management:
    • A set of management disciplines within a software engineering process to develop a baseline*
    • Software Configuration Management encompasses the disciplines and techniques of initiating, evaluating and controlling change to work products during and after a software project
  • Standard:
    • IEEE 828-2012: IEEE Standard for Configuration
    • Management in Systems and Software Engineering.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Administering Software Configuration Management

A
  • Software Configuration Management is a project function with the goal to make technical and managerial activities more effective
  • Software Configuration Management can be administered in several ways:
    • • Organization-wide
    • • Project-specific
    • • Distributed among the project members
    • • Mixture of all of the above.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Configuration Management Roles

A
  • Configuration Manager
    • Responsible for identifying configuration items
    • Also often 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Configuration Management Activities

A
  • Configuration item identification
    • Modeling the system as a set of evolving components
  • Promotion management
    • The creation of versions for other developers
  • Release management
    • The creation of versions for clients and users
  • Change management
    • The handling, approval & tracking of change requests
  • Branch management
    • The management of concurrent development
  • Variant management
    • The management of coexisting versions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Configuration Item

A

Configuration Item: An aggregation of software, hardware, or both, designated for configuration management and treated as a single entity in the configuration management process.

  • Software configuration items: source files, models, tests, binaries, documents, configurations
  • Hardware configuration items: e.g. CPUs, bus speed frequencies, sensors, actuators
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Configuration Item Identification

A
  • 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?
    • • In early days, it was an activity
    • • Nowadays it should be a project function (from beginning to end of the project)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Configuration Item Identification

A
  • Selecting the right configuration items is a skill that takes practice
    • Very similar to object modeling
    • Use techniques similar to object modeling for findingvconfiguration items:
        1. Identify the configuration items
        1. Findrelationshipsbetweentheconfigurationitems.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Terminology: Version

A

Version: 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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Terminology: SCM Directories

A
  • Programmer’s Directory (IEEE 1042: Dynamic Library)
    • • Library for holding newly created or modified software entities
    • • The programmer’s workspace is controlled by the programmer only
  • Master Directory (IEEE 1042: Controlled Library)
    • • Manages the current baseline(s) and for controlling
    • changes made to them
    • • Changes must be authorized
  • Software Repository (IEEE 1042: Static Library)
    • • Archive for the various baselines released for general use
    • • Copies of these baselines may be made available to requesting organizations.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Promotion and Release Management

A
  • • Promotion: The internal development state of a software is changed
  • • Release: A changed software system is made visible outside the development organization
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Terminology: Version vs. Revision

A
  • Release: The formal distribution of an approved version
  • 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: Change to a version that corrects only errors in the design/code, but does not affect the documented functionality.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Terminology: Baseline

A

Baseline: 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 changed only be through formal change control procedures.

• Examples:

  • • Baseline A: The API has been 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.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Types of Baselines

A

As systems are developed, a series of baselines is developed, usually after a review (analysis review, design review, code review, system testing, …)

  • • Developmental baseline
  • • Functional baseline
  • • Product baseline

Branch Management allows to transition between these baselines

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Branch Management Model

A
  • Example of a Branching Model (e.g. in Git)
    • Master Branch: External Release (e.g. Product Increment)
    • Development Branch: Internal Release
    • Feature Branches: Incremental development and explorations
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Architectural Styles for Version Control

A
  • Monolithic (Standalone)
  • Repository Style (Client-Server)

• Peer-to-peer

17
Q

Monolithic Architecture for Version Control

A

Programmer has a simple local database that keeps all the changes to files under revision control.

Example of Monolithic Version Control Architecture: RCS. Still distributed with many computers today.

18
Q

Repository Architecture for Version Control

A

A single server contains all the versioned files

Programmers check out files from to the server to their computer, change them and check them back into the server

Administrators have fine-grained control over who can do what

Problem:

• Single point of failure in the Central VCS Server: Possibility of loosing all the versions and their history if the server crashes.

19
Q

Peer-to-Peer Architecture for Version Control

A

Addresses the single point of failure problem

Each programmer’s directory (Computer A, Computer B,…) fully mirrors the master directory (Server Computer)

Programmers can work offline on their own branches

If the server dies and a programmer has a full copy of the master directory, it can be copied back to the Server computer

Example: Git.

20
Q

Change management

A
  • Change management is the handling of change requests
  • The general change management process:
    • The change is requested
    • The change request is assessed against requirements and
    • project constraints
    • Following the assessment, the change request is accepted or rejected
    • If it is accepted, the change is assigned to a developer and implemented
    • The implemented change is audited.
21
Q

Change Policies

A
  • The purpose of a change policy is to guarantee that each promotion or release conforms to commonly accepted criteria
  • Examples for change policies:
    • “No developer is allowed to promote source code which was compiled with errors or warnings.”
    • “No baseline can be released without having been beta- tested by at least 500 external persons.”
22
Q

Change Management Activities and Responsibilities

A
  • Configuration Control: Managing a Change Request
  • Configuration Status Accounting
  • Configuration Audits and Reviews
  • Interface Control
23
Q

Configuration Control

A
  • Define a change request form
  • Define management procedures for:
    • • Identification of the need for a change request
    • • Analysis and evaluation of a change request
    • • Approval or disapproval of a change request
    • • Implementation, verification and release of the change
24
Q

Configuration Status Accounting

A

Answers the following questions:

  • What elements are to be tracked and reported for
  • baselines and changes?
  • What types of status accounting reports are to be generated? What is their frequency?
  • How is information to be collected, stored and reported?
  • How is access to the configuration management status data controlled?
25
Q

Configuration Audits and Reviews

A
  • Identifies audits and reviews for the project
  • An audit determines for each configuration item if it has the required physical and functional characteristics
  • A review is a management tool for establishing a baseline.
26
Q

Configuration Audits and Reviews (cont’d)

A

For each audit or review the software configuration management plan (SCMP) has to define:

  • Objectives
  • The Configuration Items under review
  • The schedule for the review
  • Procedures for conducting the review
  • Participants by job title
  • Required documentation
  • Procedure for recording deficiencies and how to correct them
  • Approval criteria.
27
Q

Definition Continuous Integration

A

Continuous Integration: A software development method where members of a team integrate their work frequently, usually each person integrates at least daily, leading to multiple integrations per day.
Each integration is verified by an automated build including the execution of tests to detect integration errors as quickly as possible.

28
Q

Continuous Integration can regularly answers these Questions

A
  • Do all the software components work together?
  • How much code is covered by automated tests?
  • Where all tests successful after the latest change?
  • What is my code complexity?
  • Is the team adhering to coding standards?
  • Where there any problems with the last deployment?
29
Q

Benefits of Continuous Delivery

A
  • Accelerated Time to Market: CD lets an organization deliver the business value inherent in new software releases to customers more quickly
  • Building the Right Product: Frequent releases let the application development teams obtain user feedback more quickly
  • Improved Productivity and Efficiency: Significant time savings for developers, testers, operations engineers, etc. through automation
  • Reliable Releases: The risks associated with a release have significantly decreased, and the release process has become more reliable
  • Improved Product Quality: The number of open bugs and production incidents has decreased significantly
  • Improved Customer Satisfaction: A higher level of customer satisfaction is achieved
30
Q

Summary

A
  • Software Configuration Management:
    • A set of management disciplines within a software engineering process to develop a baseline
  • Promotions and Releases
  • A SCMP needs to be tailored to meet the project requirements
  • Git allows lightweight branching and merging
  • Continuous Integration and Continuous Delivery are
  • emerging as central aspects in modern software projects
31
Q

Summary: Tasks for Configuration Managers

A
  • Define configuration items
  • Define promote /release policies
  • Define activities and responsibilities
  • Set up configuration management system
32
Q

In distributed version control, every computer used by a project participant has

Select one or more:

a. A repository with all branches
b. A repository with some branches
c. A working copy
d. A release branch

A

b,c

33
Q

Benefits of Continuous Delivery are

Select one or more:

a. The customer earns more money with the system
b. The development team can obtain more feedback from users
c. The development team can quickly release the system
d. More users will use the system

A

b,c

34
Q

Continuous Integration can regularly answer the following questions

Select one or more:

a. Does the customer accept our system?
b. How is the statement coverage of our test cases?
c. How is the complexity of your code?
d. How good is the usability of the system?
e. Can we integrate the database, the controller and the user interface components right now?

A

b,c,e

35
Q

A configuration manager is responsible for

Select one or more:

a. Promotion creation triggered by change request
b. Promotion and release procedures definition
c. Change request approval or rejection
d. Promotion evaluation
e. Configuration item identification

A

b, e