Skip to contentSkip to conversation

Documentation: stable: Document alternative for referring upstream commit hash

PATCH Superseded Salvatore Bonaccorso 4 participants 8 messages Aug 9, 2022 – Sep 1, 2022

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: stable: Document alternative for referring upstream commit hash

Additionally to the "commit <sha1> upstream." variant, "[ Upstream commit <sha1> ]" is used as well as alternative to refer to the upstream commit hash.

---
 Documentation/process/stable-kernel-rules.rst | 6 ++++++
 1 file changed, 6 insertions(+)
Documentation/process/stable-kernel-rules.rst +6 -0
index c61865e91f52..2fd8aa593a28 100644
@@ -97,6 +97,12 @@ text, like this:
 
     commit <sha1> upstream.
 
+or alternatively:
+
+.. code-block:: none
+
+    [ Upstream commit <sha1> ]
+
 Additionally, some patches submitted via :ref:`option_1` may have additional
 patch prerequisites which can be cherry-picked. This can be specified in the
 following format in the sign-off area:
Signature · 1 line
2.36.1
Reviewed-by on v1 1/1
#1 lore raw

Documentation/process/stable-kernel-rules.rst text, like this: · line 105

Quoted 10 lines · Salvatore Bonaccorso
Documentation/process/stable-kernel-rules.rst +6 -0
@@ -97,6 +97,12 @@ text, like this:
 
     commit <sha1> upstream.
 
+or alternatively:
+
+.. code-block:: none
+
+    [ Upstream commit <sha1> ]
+

Looks OK. Indeed Sasha uses the alternative style.

Signature · 1 line
An old man doll... just what I always wanted! - Clara
#2 lore raw
Quoted 14 lines · Bagas Sanjaya

Documentation/process/stable-kernel-rules.rst text, like this: · line 105

Quoted 10 lines · Salvatore Bonaccorso
Documentation/process/stable-kernel-rules.rst +6 -0
@@ -97,6 +97,12 @@ text, like this:
 
     commit <sha1> upstream.
 
+or alternatively:
+
+.. code-block:: none
+
+    [ Upstream commit <sha1> ]
+

Looks OK. Indeed Sasha uses the alternative style.

Quoted 1 line

Thanks, I'll queue this up after -rc1 is out.

greg k-h

maintainer
#3 lore raw
In reply to Salvatore Bonaccorso
Quoted 8 lines · Salvatore Bonaccorso

Additionally to the "commit <sha1> upstream." variant, "[ Upstream commit <sha1> ]" is used as well as alternative to refer to the upstream commit hash.

---
 Documentation/process/stable-kernel-rules.rst | 6 ++++++
 1 file changed, 6 insertions(+)

So this is a nit but...

Documentation/process/stable-kernel-rules.rst text, like this: · line 104

Quoted 13 lines
Documentation/process/stable-kernel-rules.rst +5 -0
index c61865e91f52..2fd8aa593a28 100644
@@ -97,6 +97,12 @@ text, like this:
 
     commit <sha1> upstream.
 
+or alternatively:
+
+.. code-block:: none
+
+    [ Upstream commit <sha1> ]

Can this just be:

or alternatively::

[ Upstream commit <sha1> ]

That extra RST markup just clutters things without any advantage.

Thanks,

jon

#4 lore raw

Hi Jonathan,

Quoted 29 lines · Jonathan Corbet
Quoted 8 lines · Salvatore Bonaccorso

Additionally to the "commit <sha1> upstream." variant, "[ Upstream commit <sha1> ]" is used as well as alternative to refer to the upstream commit hash.

---
 Documentation/process/stable-kernel-rules.rst | 6 ++++++
 1 file changed, 6 insertions(+)

So this is a nit but...

Documentation/process/stable-kernel-rules.rst text, like this: · line 104

Quoted 13 lines
Documentation/process/stable-kernel-rules.rst +5 -0
index c61865e91f52..2fd8aa593a28 100644
@@ -97,6 +97,12 @@ text, like this:
 
     commit <sha1> upstream.
 
+or alternatively:
+
+.. code-block:: none
+
+    [ Upstream commit <sha1> ]

Can this just be:

Quoted 5 lines

or alternatively::

[ Upstream commit <sha1> ]

That extra RST markup just clutters things without any advantage.

Okay, I just have sent a v2 dropping it.

Salvatore

#5 lore raw
In reply to Jonathan Corbet

Hi Jonathan,

Quoted 29 lines · Jonathan Corbet
Quoted 8 lines · Salvatore Bonaccorso

Additionally to the "commit <sha1> upstream." variant, "[ Upstream commit <sha1> ]" is used as well as alternative to refer to the upstream commit hash.

---
 Documentation/process/stable-kernel-rules.rst | 6 ++++++
 1 file changed, 6 insertions(+)

So this is a nit but...

Documentation/process/stable-kernel-rules.rst text, like this: · line 104

Quoted 13 lines
Documentation/process/stable-kernel-rules.rst +5 -0
index c61865e91f52..2fd8aa593a28 100644
@@ -97,6 +97,12 @@ text, like this:
 
     commit <sha1> upstream.
 
+or alternatively:
+
+.. code-block:: none
+
+    [ Upstream commit <sha1> ]

Can this just be:

Quoted 5 lines

or alternatively::

[ Upstream commit <sha1> ]

That extra RST markup just clutters things without any advantage.

Btw, after revisiting, I think Greg actually can pick up the first version of the patch. Changing the above without adding the code-block:node will reformat the

[ Upstream commit <sha1> ]

differently when rendering to html.

Greg, so as the patch has not yet been commited, can you pick up the first version from
https://lore.kernel.org/lkml/[email protected]/
?

Regards,
Salvatore

#6 lore raw
Quoted 42 lines · Salvatore Bonaccorso

Hi Jonathan,

Quoted 29 lines · Jonathan Corbet
Quoted 8 lines · Salvatore Bonaccorso

Additionally to the "commit <sha1> upstream." variant, "[ Upstream commit <sha1> ]" is used as well as alternative to refer to the upstream commit hash.

---
 Documentation/process/stable-kernel-rules.rst | 6 ++++++
 1 file changed, 6 insertions(+)

So this is a nit but...

Documentation/process/stable-kernel-rules.rst text, like this: · line 104

Quoted 13 lines
Documentation/process/stable-kernel-rules.rst +5 -0
index c61865e91f52..2fd8aa593a28 100644
@@ -97,6 +97,12 @@ text, like this:
 
     commit <sha1> upstream.
 
+or alternatively:
+
+.. code-block:: none
+
+    [ Upstream commit <sha1> ]

Can this just be:

Quoted 5 lines

or alternatively::

[ Upstream commit <sha1> ]

That extra RST markup just clutters things without any advantage.

Btw, after revisiting, I think Greg actually can pick up the first version of the patch. Changing the above without adding the code-block:node will reformat the

Quoted 8 lines

[ Upstream commit <sha1> ]

differently when rendering to html.

Greg, so as the patch has not yet been commited, can you pick up the first version from
https://lore.kernel.org/lkml/[email protected]/
?

Please resend it as v3 so that our tools don't try to apply v2.

thanks,

greg k-h

#7 lore raw

Hi Greg,

Quoted 45 lines · Greg Kroah-Hartman
Quoted 44 lines · Salvatore Bonaccorso

Hi Jonathan,

Quoted 29 lines · Jonathan Corbet
Quoted 8 lines · Salvatore Bonaccorso

Additionally to the "commit <sha1> upstream." variant, "[ Upstream commit <sha1> ]" is used as well as alternative to refer to the upstream commit hash.

---
 Documentation/process/stable-kernel-rules.rst | 6 ++++++
 1 file changed, 6 insertions(+)

So this is a nit but...

Documentation/process/stable-kernel-rules.rst text, like this: · line 104

Quoted 13 lines
Documentation/process/stable-kernel-rules.rst +5 -0
index c61865e91f52..2fd8aa593a28 100644
@@ -97,6 +97,12 @@ text, like this:
 
     commit <sha1> upstream.
 
+or alternatively:
+
+.. code-block:: none
+
+    [ Upstream commit <sha1> ]

Can this just be:

Quoted 5 lines

or alternatively::

[ Upstream commit <sha1> ]

That extra RST markup just clutters things without any advantage.

Btw, after revisiting, I think Greg actually can pick up the first version of the patch. Changing the above without adding the code-block:node will reformat the

[ Upstream commit <sha1> ]

Quoted 8 lines
Quoted 6 lines

differently when rendering to html.

Greg, so as the patch has not yet been commited, can you pick up the first version from
https://lore.kernel.org/lkml/[email protected]/
?

Please resend it as v3 so that our tools don't try to apply v2.

Okay right, make sense! Just sumitted v3 with the original version of the documentation patch.

https://lore.kernel.org/lkml/[email protected]/

Regards,
Salvatore