Skip to content

Commit 7e72b0f

Browse files
committed
Merge pull request symfony#2720 from symfony/documentation-release-process
The Documentation Release Process
2 parents e0c16d3 + f0d8675 commit 7e72b0f

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

contributing/community/releases.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ release comes out every *six months*: one in *May* and one in *November*.
1313
"rules" explained in this document must be strictly followed as of Symfony
1414
2.4.
1515

16+
.. _contributing-release-development:
17+
1618
Development
1719
-----------
1820

@@ -29,6 +31,8 @@ During the development phase, any new feature can be reverted if it won't be
2931
finished in time or if it won't be stable enough to be included in the current
3032
final release.
3133

34+
.. _contributing-release-maintenance:
35+
3236
Maintenance
3337
-----------
3438

contributing/documentation/overview.rst

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,49 @@ Read the dedicated :doc:`document <translations>`.
184184
.. _`fork`: https://help.github.com/articles/fork-a-repo
185185
.. _`pull requests`: https://help.github.com/articles/using-pull-requests
186186
.. _`Documentation Build Errors`: http://symfony.com/doc/build_errors
187+
188+
Managing Releases
189+
-----------------
190+
191+
Symfony has a very standardized release process, which you can read more
192+
about in the :doc:`/contributing/community/releases` section.
193+
194+
To keep up with the release process, the documentation team makes several
195+
changes to the documentation at various parts of the lifecycle.
196+
197+
When a Release reaches "end of maintenance"
198+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
199+
200+
Every release will eventually reach its "end of maintenance". For details,
201+
see :ref:`contributing-release-maintenance`.
202+
203+
When a release reaches its end of maintenance, the following items are done.
204+
For this example, suppose version 2.1 has just reached its end of maintenance:
205+
206+
* Changes and pull requests are no longer merged into to the branch (2.1),
207+
except for security updates, which are merged until the release reaches
208+
its "end of life".
209+
210+
* All branches still under maintenance (e.g. 2.2 and higher) are updated
211+
to reflect that pull requests should start from the now-oldest maintained
212+
version (e.g. 2.2).
213+
214+
* Remove all ``versionadded`` directives - and any other notes related to features
215+
changing or being new - for the version (e.g. 2.1) from the master branch.
216+
The result is that the next release (which is the first that comes entirely
217+
*after* the end of maintenance of this branch), will have no mentions of
218+
the old version (e.g. 2.1).
219+
220+
When a new Branch is created for a Release
221+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
222+
223+
During the :ref:`stabilization phase<contributing-release-development>`, a
224+
new branch on the documentation is created. For example, if version 2.3 were
225+
being stabilized, then a new 2.3 branch would be created for it. When this
226+
happens, the following items are done:
227+
228+
* Change all version and master references to the correct version (e.g. 2.3).
229+
For example, in installation chapters, we reference the version you should
230+
use for installation. As an example, see the changes made in `PR #2688`_.
231+
232+
.. _`PR #2688`: https://github.com/symfony/symfony-docs/pull/2688

0 commit comments

Comments
 (0)