Mesa (master): docs: move "stable" tag explanation next to `Fixes:`

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 19 19:55:44 UTC 2020


Module: Mesa
Branch: master
Commit: 7b7d28ed6de5dadc3a6b121d3bb2fec69571c69b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7b7d28ed6de5dadc3a6b121d3bb2fec69571c69b

Author: Eric Engestrom <eric at engestrom.ch>
Date:   Sun Jun  7 19:18:31 2020 +0200

docs: move "stable" tag explanation next to `Fixes:`

Signed-off-by: Eric Engestrom <eric at engestrom.ch>
Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5378>

---

 docs/submittingpatches.rst | 44 +++++++++++++++++++++-----------------------
 1 file changed, 21 insertions(+), 23 deletions(-)

diff --git a/docs/submittingpatches.rst b/docs/submittingpatches.rst
index 5cd5025fd88..586131df148 100644
--- a/docs/submittingpatches.rst
+++ b/docs/submittingpatches.rst
@@ -118,6 +118,26 @@ You can produce those fixes lines by running this command once::
 
 After that, using ``git fixes <sha1>`` will print the full line for you.
 
+The stable tag
+~~~~~~~~~~~~~~
+
+If you want a commit to be applied to a stable branch, you should add an
+appropriate note to the commit message.
+
+Using a ``Fixes:`` tag as described in `Patch formatting <#formatting>`__
+is the preferred way to nominate a commit that should be backported.
+There are scripts that will figure out which releases to apply the patch
+to automatically, so you don't need to figure it out.
+
+Alternatively, you may use a "CC:" tag. Here are some examples of such a
+note::
+
+    CC: 20.0 19.3 <mesa-stable>
+
+Using the CC tag **should** include the stable branches you want to
+nominate the patch to. If you do not provide any version it is nominated
+to all active stable branches.
+
 .. _testing:
 
 Testing Patches
@@ -254,7 +274,7 @@ branch and release. In order or preference:
 
 - By adding the ``Fixes:`` tag in the commit message as described above, if you are fixing
   a specific commit.
-- By adding the ``Cc: mesa-stable`` tag in the commit message as described below.
+- By adding the ``Cc: mesa-stable`` tag in the commit message as described above.
 - By submitting a merge request against the ``staging/year.quarter``
   branch on gitlab.
 
@@ -267,28 +287,6 @@ nomination request.
 The current patch status can be observed in the `staging
 branch <releasing.rst#stagingbranch>`__.
 
-The stable tag
-~~~~~~~~~~~~~~
-
-If you want a commit to be applied to a stable branch, you should add an
-appropriate note to the commit message.
-
-Using a ``Fixes:`` tag as described in `Patch formatting <#formatting>`__
-is the preferred way to nominate a commit that should be backported.
-There are scripts that will figure out which releases to apply the patch
-to automatically, so you don't need to figure it out.
-
-Alternatively, you may use a "CC:" tag. Here are some examples of such a
-note:
-
-::
-
-   CC: 20.0 19.3 <mesa-stable>
-
-Using the CC tag **should** include the stable branches you want to
-nominate the patch to. If you do not provide any version it is nominated
-to all active stable branches.
-
 .. _criteria:
 
 Criteria for accepting patches to the stable branch



More information about the mesa-commit mailing list