-
Notifications
You must be signed in to change notification settings - Fork 241
Branching Strategy
This document attempts to capture the details of our branching strategy for Puppet Server. This information is up-to-date as of 2015-06-25.
Similar to most of the other projects at Puppet Labs, there should generally
only be two branches that are relevant at all in this repository:
master
and stable
.
In the case of Puppet Server, the stable
branch maps to the 1.x series of
OSS Puppet Server releases. These releases are compatible with Puppet 3.x.
The master
branch maps to the 2.x series of OSS Puppet Server releases. The
2.0 release is compatible with Puppet 4.x as part of Puppet Collection 1 (PC1).
The 2.1.0 release and later releases are compatible with Puppet
3.x and Puppet 4.x. Puppet 3.x is supported for remote agents only, only Puppet
4.x satisfies the package dependency between Puppet Server and Puppet.
At the time of this writing, we've recently released 2.1.1 and 1.1.1. As of now, the 1.x and 2.x series are roughly equivalent to each other in terms of functionality, with the primary differences being around support for Puppet 4.x compatibility in Puppet Server 2.x. The 2.1.0 release included a URL compatibility layer that will allow Puppet 3.x agents to talk to Puppet Server 2.x. For more info, see https://tickets.puppetlabs.com/browse/SERVER-526.
In summary:
-
stable
is for work to be done toward the next 1.x release -
master
is for work to be done toward the next 2.x release
Under normal circumstances, the stable
branch will be used for bugfix releases
off of the last stable "Y" release. PRs should only be targeted at stable if
they are intended to go out in a z/bugfix release, and all code merged into the
stable branch should be merged up to the master branch at regular intervals.
Most PRs should normally be targeted at the master
branch, which is where
feature work will be going on for the next X/Y release.
Ideally, as soon as a new x/major release is shipped (e.g. Puppet Server 2.0), that would become the stable branch and there would be no additional planned 1.x releases. Because of the drastic nature of the changes between Puppet 3 and Puppet 4, it's possible that we'll need to continue to do both 1.x and 2.x releases of Puppet Server for some period of time.