diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 06074ed9..5864c623 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -5,3 +5,4 @@ | yaswant | Yaswant Pradhan | Met Office | 2026-07-17 | | oliver-sanders | Oliver Sanders | Met Office | 2026-11-24 | | ericaneininger | Erica Neininger | Met Office | 2026-11-30 | +| mo-marqh | mark Hedley | Met Office | 2026-11-23 | diff --git a/source/Reviewers/curaterelease.rst b/source/Reviewers/curaterelease.rst index fc2e39b5..e574fa1b 100644 --- a/source/Reviewers/curaterelease.rst +++ b/source/Reviewers/curaterelease.rst @@ -114,6 +114,88 @@ separate PR first if not. exception for ``stable`` in the ``prevent updates`` ruleset from earlier. * :ref:`Tag ` the release. +Release Branch +^^^^^^^^^^^^^^ + +In some circumstances Simulation Systems may decide to manage a release via a +release branch. + +This can help with: + +* extended testing windows for suite owners and partners; +* managing major releases with known backwards incompatibilities. +* ``stable`` and ``main`` are available to developers whilst the release branch + is progressed to the actual release. + +If it is decided to manage a release branch release, then this shall be +communicated, prior to the release, on the ``Release Curation`` issue and via the +discussion forum, linking to the issue. + +A release branch release follows all of the process described for the +``Stable + Main Release``, +up until the :ref:`Tag ` final step. + +* The :ref:`Tag ` step is done, but the Tag provided is is a designated + ``Release Candidate`` tag. This shall follow the tagging rules, and + then append ``-rc1`` to the release candidate tag string. + + * A Github ``pre-release`` is created using this tag. + +* Immediately a branch is cut, for each code base that is part of the release + candidate, on the ``MetOffice`` organisation repository. + + * The branch shall be named by the intended release tag with ``-rc`` appended. + * This branch is now a permanent part of the repository on Github. + * Branch protection rules to ensure it is not deleted are added. + +* The release candidate tag is distributed for enhanced testing. +* Pull Requests may be raised to the release branch. + + * These shall adhere to :ref:`Release Branch Protection Rules ` + +* More than one release candidate tag may be added to the release branch during + testing. + +* Once a release candidate has completed adoption evaluation then any remaining + changes shall be sent to ``stable`` via a Pull Request. + + * This then represents a :ref:`Hot Fix Release ` + * As such, these changes will also be included in the ``main`` branch + using the :ref:`hotfix` process. + +* The release is finalised using the ``stable`` branch: + + * Internal version identifiers updates + * Release Tagged :ref:`Tag ` the release. + * The ``release`` branch is then no longer required and + may be subsequently deleted. + +* If a release candidate completely fails adoption testing then: + + * specific commits shall be removed from the ``stable`` && ``main`` branches. + +Release Patch Releases +"""""""""""""""""""""" + +Once a release is published and the ``release`` branch removed, then +no further patch releases relatvie to that release may be created. + +.. _releaseBranch: + +Release Branch Protection Rules +""""""""""""""""""""""""""""""" + +* Only specific change sets shall be accepted onto a release branch + + * Code changes that improve the release's ability to be adopted by + suite owners and partners + * Bug fixes that directly affect the release candidate. + +* No new features shall be added to the release branch. +* No macros may be added to the release branch. + +.. _hotfix: + Hotfix Release --------------