summaryrefslogtreecommitdiffstats
path: root/ansible_collections/dellemc/unity/docs/BRANCHING.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:03:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 16:03:42 +0000
commit66cec45960ce1d9c794e9399de15c138acb18aed (patch)
tree59cd19d69e9d56b7989b080da7c20ef1a3fe2a5a /ansible_collections/dellemc/unity/docs/BRANCHING.md
parentInitial commit. (diff)
downloadansible-upstream.tar.xz
ansible-upstream.zip
Adding upstream version 7.3.0+dfsg.upstream/7.3.0+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ansible_collections/dellemc/unity/docs/BRANCHING.md')
-rw-r--r--ansible_collections/dellemc/unity/docs/BRANCHING.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/ansible_collections/dellemc/unity/docs/BRANCHING.md b/ansible_collections/dellemc/unity/docs/BRANCHING.md
new file mode 100644
index 00000000..810a309b
--- /dev/null
+++ b/ansible_collections/dellemc/unity/docs/BRANCHING.md
@@ -0,0 +1,32 @@
+<!--
+Copyright (c) 2022 Dell Inc., or its subsidiaries. All Rights Reserved.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+-->
+
+# Branching strategy
+
+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.
+
+## Branch naming convention
+
+| Branch Type | Example | Comment |
+|--------------|-----------------------------------|-------------------------------------------|
+| main | main | |
+| Release | release-1.0 | hotfix: release-1.1 patch: release-1.0.1 |
+| Feature | feature-9-vol-support | "9" referring to GitHub issue ID |
+| Bug Fix | bugfix-110-fix-duplicates-issue | "110" referring to GitHub issue ID |
+
+
+## Steps for working on a release branch
+
+1. Fork the repository.
+2. Create a branch off of the main branch. The branch name should follow [branch naming convention](#branch-naming-convention).
+3. Make your changes and commit them to your branch.
+4. If other code changes have merged into the upstream main branch, perform a rebase of those changes into your branch.
+5. Open a [pull request](https://github.com/dell/ansible-unity/pulls) between your branch and the upstream main branch.
+6. Once your pull request has merged, your branch can be deleted.