etcd/Documentation/branch-management.md

30 lines
1.5 KiB
Markdown
Raw Normal View History

---
title: Branch management
weight: 1
---
2015-03-14 00:10:25 +03:00
## Guide
2015-03-14 00:10:25 +03:00
2016-02-04 20:36:02 +03:00
* New development occurs on the [master branch][master].
* Master branch should always have a green build!
* Backwards-compatible bug fixes should target the master branch and subsequently be ported to stable branches.
* Once the master branch is ready for release, it will be tagged and become the new stable branch.
2015-03-14 00:10:25 +03:00
The etcd team has adopted a *rolling release model* and supports two stable versions of etcd.
2015-03-14 00:10:25 +03:00
### Master branch
2015-06-05 02:41:32 +03:00
The `master` branch is our development branch. All new features land here first.
2015-03-14 00:10:25 +03:00
2016-06-24 03:25:38 +03:00
To try new and experimental features, pull `master` and play with it. Note that `master` may not be stable because new features may introduce bugs.
2015-03-14 00:10:25 +03:00
Before the release of the next stable version, feature PRs will be frozen. A [release manager](./dev-internal/release.md#release-management) will be assigned to major/minor version and will lead the etcd community in test, bug-fix and documentation of the release for one to two weeks.
2015-03-14 00:10:25 +03:00
### Stable branches
2015-06-05 02:41:32 +03:00
All branches with prefix `release-` are considered _stable_ branches.
2015-03-14 00:10:25 +03:00
After every minor release (http://semver.org/), we will have a new stable branch for that release, managed by a [patch release manager](./dev-internal/release.md#release-management). We will keep fixing the backwards-compatible bugs for the latest two stable releases. A _patch_ release to each supported release branch, incorporating any bug fixes, will be once every two weeks, given any patches.
2016-02-04 20:36:02 +03:00
[master]: https://github.com/coreos/etcd/tree/master