Debian Codegraph @

ansible_collections/dellemc/powerflex/docs/BRANCHING.md

raw symbols SCIP
1 # Branching strategy
2
3 Ansible modules for Dell PowerFlex 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.
4
5 ## Branch naming convention
6
7 | Branch Type | Example | Comment |
8 |--------------|-----------------------------------|-------------------------------------------|
9 | main | main | |
10 | Release | release-1.0 | hotfix: release-1.1 patch: release-1.0.1 |
11 | Feature | feature-9-vol-support | "9" referring to GitHub issue ID |
12 | Bug Fix | bugfix-110-fix-duplicates-issue | "110" referring to GitHub issue ID |
13
14
15 ## Steps for working on a release branch
16
17 1. Fork the repository.
18 2. Create a branch off of the main branch. The branch name should follow [branch naming convention](#branch-naming-convention).
19 3. Make your changes and commit them to your branch.
20 4. If other code changes have merged into the upstream main branch, perform a rebase of those changes into your branch.
21 5. Open a [pull request](https://github.com/dell/ansible-powerflex/pulls) between your branch and the upstream main branch.
22 6. Once your pull request has merged, your branch can be deleted.