Debian Codegraph @

ansible_collections/dellemc/unity/docs/BRANCHING.md

raw symbols SCIP
1 <!--
2 Copyright (c) 2022 Dell Inc., or its subsidiaries. All Rights Reserved.
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9 -->
10
11 # Branching strategy
12
13 Ansible modules for Dell Unity follows a scaled trunk branching strategy where short-lived branches are created off of the main branch. When coding is complete, the branch is merged back into main after being approved in a pull request code review.
14
15 ## Branch naming convention
16
17 | Branch Type | Example | Comment |
18 |--------------|-----------------------------------|-------------------------------------------|
19 | main | main | |
20 | Release | release-1.0 | hotfix: release-1.1 patch: release-1.0.1 |
21 | Feature | feature-9-vol-support | "9" referring to GitHub issue ID |
22 | Bug Fix | bugfix-110-fix-duplicates-issue | "110" referring to GitHub issue ID |
23
24
25 ## Steps for working on a release branch
26
27 1. Fork the repository.
28 2. Create a branch off of the main branch. The branch name should follow [branch naming convention](#branch-naming-convention).
29 3. Make your changes and commit them to your branch.
30 4. If other code changes have merged into the upstream main branch, perform a rebase of those changes into your branch.
31 5. Open a [pull request](https://github.com/dell/ansible-unity/pulls) between your branch and the upstream main branch.
32 6. Once your pull request has merged, your branch can be deleted.