2079 13

BIT302 ยท 2079 ยท 5 marks

What is version management? How is it carried Out?

What is version management? How is it carried Out? [5]

Software EngineeringChapter 9: Software Configuration and Release ManagementVersion management and version control

Quick answer

Version management (also called version control) is the process of keeping track of different versions of software components and the systems in which these components are used. It allows developers to manage changes to source code, documents, and other files over time, ensuring that previous versions can be retrieved and that multiple developers can work on the same project without conflict.

Version Management

Definition


How Version Management is Carried Out

Version management is carried out through the following key activities and mechanisms:

1. Version and Release Identification

  • Each version of a software component is assigned a unique identifier (e.g., v1.0, v1.1, v2.0).
  • Versions may be identified using:
    • Version numbers (sequential numbering)
    • Date/time stamps
    • Attribute-based identification (describing properties of the version)

2. Storage Management

  • A version control system (VCS) stores all versions of components in a repository.
  • To save storage space, only the differences (deltas) between versions are stored rather than complete copies of each version.

3. Change Logging

  • Every change made to a component is recorded with a description, who made the change, and when it was made.
  • This provides a complete audit trail of the evolution of the software.

4. Independent Development (Branching and Merging)

  • Developers can create branches to work on new features or bug fixes independently without affecting the main codebase.
  • Once work is complete, branches are merged back into the main line.
  • This supports parallel development by multiple team members.

5. Project Support

  • A VCS can manage multiple projects and track which versions of components belong to which project or release.
  • It supports configuration management by linking component versions to specific system builds.

Common Version Control Systems

TypeExamples
Centralized VCSCVS, SVN (Subversion)
Distributed VCSGit, Mercurial

Summary

Version management ensures that:

  • No work is lost due to accidental changes
  • Previous working versions can be restored
  • Multiple developers can collaborate without overwriting each other's work
  • The complete history of changes is maintained for accountability and debugging

Note: The above answer is based on standard software engineering principles as no specific curriculum notes were available for this topic.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.