aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorKjeld Schouten-Lebbing <[email protected]>2020-09-28 22:23:49 +0200
committerBrian Behlendorf <[email protected]>2020-10-01 12:22:03 -0700
commite5a4f9cfc44e79aff2fdbeb7ccf8d9bc7f5b1a08 (patch)
tree08cb4e185183cc0d08a97d28aa5c44d5a049da17 /.github
parent1579483a8635ddf1a43e54c107200110ade5937f (diff)
Document branching structure
This change documents the currently used branching structure. It has been cut down to not include any controversial changes. Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Kjeld Schouten-Lebbing <[email protected]> Closes #10976
Diffstat (limited to '.github')
-rw-r--r--.github/CONTRIBUTING.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 5b3e7fa2a..9bc2e7ef0 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -175,6 +175,21 @@ to verify ZFS is behaving as intended.
## Style Guides
+### Repository Structure
+
+OpenZFS uses a standardised branching structure.
+- The "development and main branch", is the branch all development should be based on.
+- "Release branches" contain the latest released code for said version.
+- "Staging branches" contain selected commits prior to being released.
+
+**Branch Names:**
+- Development and Main branch: `master`
+- Release branches: `zfs-$VERSION-release`
+- Staging branches: `zfs-$VERSION-staging`
+
+`$VERSION` should be replaced with the `major.minor` version number.
+_(This is the version number without the `.patch` version at the end)_
+
### Coding Conventions
We currently use [C Style and Coding Standards for
SunOS](http://www.cis.upenn.edu/%7Elee/06cse480/data/cstyle.ms.pdf) as our