Docsity

Software Version Management, Study Guides, Projects, Research of Software Engineering

Partial preview of the text

Download Software Version Management and more Study Guides, Projects, Research Software Engineering in PDF only on Docsity!

Software Version

Management

Individual Assignment

Name: Tinsae Teka

ID: CS/0113/

What is a version of a Software?

  • An instance of a configuration item that differs, in some way, from other instances of that item. Versions always have a unique identifier, which is often composed of the configuration item name plus a version number.

Codeline and Baseline

  • A codeline is a sequence of versions of source code with later versions in the sequence derived from earlier versions. Codelines normally apply to components of systems so that there are different versions of each component.
  • A baseline is a definition of a specific system. The baseline therefore specifies the component versions that are included in the system plus a specification of the libraries used, configuration files, etc.

Codeline and Baseline

Baselines

  • Baselines are important because you often have to re- create a specific version of a complete system.
  • For example, a product line may be instantiated so that there are individual system versions for different customers. You may have to re-create the version delivered to a specific customer if, for example, that customer reports bugs in their system that have to be repaired.

Version Management System

  • To support version management, you should always use version management tools (sometimes called version control systems or source code control systems).
  • These tools identify, store, and control access to the different versions of components. There are many different version management systems available, including widely used open source systems such as CVS and Subversion.

Features of Version Management System

  1. Storage Management

Instead of keeping a complete copy of each version, the system stores a list of differences (deltas) between one version and another. By applying these to a source version (usually the most recent version), a target version can be re-created.

Storage Management Using Deltas

Features of Version Management System

  1. Change History Recording
    • All of the changes made to the code of a system or component are recorded and listed. In some systems, these changes may be used to select a particular system version.
    • This involves tagging components with keywords describing the changes made. You then use these tags to select the components to be included in a baseline.

Features of Version Management System

  1. Project Support
    • A version management system may support the development of several projects, which share components. In project support systems, such as CVS, it is possible to check in and check out all of the files associated with a project rather than having to work with one file or directory at a time.

Public Repository and a Private Workspace.

  • To support independent development without interference, version management systems use the concept of a public repository and a private workspace.
  • Developers check out components from the public repository into their private workspace and may change these as they wish in their private workspace.
  • When their changes are complete, they check in the components to the repository. If two or more people are working on a component at the same time, each must check out the component from the repository.

Branching and Merging

  • A consequence of the independent development of the same component is that codelines may branch. Rather than a linear sequence of versions that reflect changes to the component over time, there may be several independent sequences.
  • If the changes made involve completely different parts of the code, the component versions may be merged automatically by the version management system by combining the deltas that apply to the code.
  • More often, there are overlaps between the changes made and they interfere with each other. A developer has to check for clashes and modify the changes so that they are compatible.

16

Branching and Merging

Thank you!