This document explains the version management of Requirements in RMsis and it would be available from RMsis V.1.2.0 onwards.
Overview of Implementation
RMsis implements the requirements versions as follows:
- General
- An entity, with at least one committed version will be declared as a requirement and will continue in the same state for ever.
- An entity, with no committed version can be treated as a container OR a requirement.
- However, it will be treated as a container, when child requirements are assigned to it.
- All versions of a requirement will be bundled together.
- This implies that at any point of time, a requirement set will have only one unique hierarchy.
- Certain operations, which are likely to create confusion (like Indent / Outdent / Move) will be disabled in "All Versions View".
- Effort computation at the parent level is suppressed for now.
- States
- A requirement version can have the following states
- Editable
- Non-Editable / Committed
- Archived - Remove from the main table view (this function is not available in RMsis 1.2.0)
- Multiple versions can be in editable state (say versions of a requirement allocated to Alpha / Beta release)
- State of a Requirement comprises of
- the values of it's attributes
- Summary
- Description
- links to the associated documents
- use cases defined for the requirement (this function is not available in RMsis 1.2.0)
- links to Requirements, most notably
- linked requirements (on which this requirement depends on)
- preceding version
- the values of it's attributes
- User analysis (perceived) data is excluded. This includes
- Feasibility
- Effort
- Priority
- Criticality
- Comments
- Release
- State
- The following links are external and do not affect the state of a requirement
- Other associated artifacts like bugs, feature requests, change requests.
- User comments
- Release
- Categories
- Baseline
- History associated with the requirement. The history will be maintained for the lifetime of a specific version of a requirement.
- When a requirement is committed, it's links are frozen.
- However, if the document is maintained at an external location, the user has to make sure that the document version is preserved.
- All parents will be stateless. Which means that their versions will not change and they will always be in editable mode. In a way, they can be considered as containers.
- the latest hierarchical structure will prevail for all views.
- Underlying requirements and their versions can change.
- documents attached to parent requirements will always be editable.
- All state changes require explicit user action.
- We should notify the user about any side effects it has. For example, while copying requirements, a copy of all linked and frozen requirements is automatically created.
- A requirement version can have the following states
- The system allows creation of multiple versions.
- At the requirement level, the user will have an option to
- Create another version on the existing branch.
- Create another version of a committed (non-editable) version of the requirement.
- This will effectively fork a new branch but branch-id's are not being displayed for maintaining simplified versioning scheme.
- The evolution of requirement can be viewed in the detailed view of a requirement.
- Branches of a requirement can be created across projects. (However this feature is not available in RMsis V.1.2.0).
- Requirement ID will remain same across all the projects.
- At the requirement level, the user will have an option to
- Version Numbering
- The versions will be auto numbered and sequential.
- The source information for a version will be stored in database.
- Creating version from the latest version of a requirement will create a copy in the same branch. For example
- "Create Version" from R2-V3 will create R2-V4
- Creating version from an old version will fork a new branch.
- "Create Version" from R2-V3 again will create a new branch for R2-V5 with R2-V3 as the source.
- Manage versions & baseline only at the requirement level
- Requirements will exist at the leaf level and cannot be converted to a parent / container.
- The detailed view of the requirement will show evolution tree for the requirement.
- All cross referencing will be with respect to versions (where applicable).
- User Actions and State Transitions
- Multiselect feature will work for all the versioning related operations.
- Create another Version
- This ensures that the current version should be in committed state.
- Carries over all attributes and links to the newly created version.
- Version can be created only for a requirement at the leaf level and not for a parent / container.
- Commit Requirement
- Change the state to Non-Editable. This Requirement state will be preserved.
- Linking another requirement to a Committed Requirement
- A link is created and it is not necessary to create another version of the committed requirement.
- An instance of a requirement can be deleted only if itself and the tree beneath does not include a committed / non-editable requirement
- Move | Cut - Paste
- All versions of a requirement are bunched together. Hence a move will move all the versions of a requirement.
- Parent / container can be moved, irrespective of the state of underlying requirements.
- Indent / Outdent in the context of versioning
- A requirement cannot become a parent, if any of it's versions are committed.
- If the current version is in Editable mode, no new copies are created and the links to parents are rearranged.
- Indent / Outdent will be contextual... will work, based on the current view of the user.
- Baseline
- If the selected version is in Editable mode, then the version is committed.
- If the selected requirement is in Non-Editable / committed mode, then it's state remains unchanged.
- If a parent is selected, all descendants at leaf level are Baselined.
- There is no impact on the other children of ascendants.
- If multiple versions of a requirement are included in a baseline, system should generate a warning to the user.
- Links will have types and can have attributes unique to the type.
- Parent Child relationship
- A child inherits the description associated with the parent. This includes attached documents.
- Other links to test cases, code, design etc have to be explicitly specified by the user.
- Certain properties for parent cannot be specified by the user.
- Inter project dependencies can be specified.
- Assigning multiple versions of the same requirement to different releases
- The user can specify this.
Overview of User Interface
- Latest View
- Latest version of a requirement, which is at the leaf level, will be displayed.
- View of Multiple versions in a single table
- There will be an option to view all versions of requirements.
- All versions of a requirement (which are not archived) will be displayed.
- The display will be sorted by version number, irrespective of the time of creation.
- The requirement Id column will include the version information.
- UI elements
- User Options
- Create a Version
- Commit Version
- Provide these options in
- Context Menu
- Version & Baseline (Dropdown Options)
- User Options
Scope
- Baseline scope is restricted to Requirements only.
- It includes Use Cases.
- Versions of other artifacts like issues, feature requests, test cases will not be managed in the current version of RMsis.