Skip to contentSkip to conversation

doc/develop/sending_patches.rst: Clarify when to use which branch

PATCH In review Tom Rini 5 participants 11 messages Aug 26, 2024 – Sep 16, 2024

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 doc/develop/sending_patches.rst: Clarify when to use which branch

The previous wording on the paragraph about what branch to use when submitting patches did not reflect how / when the next branch is currently used. Reword this to note that master should be used for bug and regression fixes, always, and that next should be used once it opens, with -rc2.

---
 doc/develop/sending_patches.rst | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
doc/develop/sending_patches.rst +7 -5
index 3f25b1d0466f..82efb717b179 100644
@@ -74,11 +74,13 @@ General Patch Submission Rules
 
 * Send your patches as plain text messages: no HTML, no MIME, no links, no
   compression, no attachments. Just plain text. The best way the generate
-  patches is by using the ``git format-patch`` command. Please use the
-  ``master`` branch of the mainline U-Boot git repository
-  (``https://source.denx.de/u-boot/u-boot.git``) as reference, unless (usually
-  late in a release cycle) there has been an announcement to use the ``next``
-  branch of this repository instead.
+  patches is by using the ``git format-patch`` command. For a patch that is
+  fixing a bug or regression of some sort, please use the ``master`` branch of
+  the mainline U-Boot git repository
+  (``https://source.denx.de/u-boot/u-boot.git``) as reference. For new
+  features, if the ``next`` branch has been opened (which happens with the
+  release of ``-rc2``) that branch should be used, otherwise ``master`` is
+  acceptable.
 
 * Make sure that your mailer does not mangle the patch by automatic changes
   like wrapping of longer lines etc.
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Tom,

Quoted 19 lines · Tom Rini

The previous wording on the paragraph about what branch to use when submitting patches did not reflect how / when the next branch is currently used. Reword this to note that master should be used for bug and regression fixes, always, and that next should be used once it opens, with -rc2.

---
  doc/develop/sending_patches.rst | 12 +++++++-----
  1 file changed, 7 insertions(+), 5 deletions(-)
doc/develop/sending_patches.rst +0 -0
index 3f25b1d0466f..82efb717b179 100644
@@ -74,11 +74,13 @@ General Patch Submission Rules
 
  * Send your patches as plain text messages: no HTML, no MIME, no links, no

doc/develop/sending_patches.rst General Patch Submission Rules · line 80

Quoted 10 lines
doc/develop/sending_patches.rst +4 -5
    compression, no attachments. Just plain text. The best way the generate
-  patches is by using the ``git format-patch`` command. Please use the
-  ``master`` branch of the mainline U-Boot git repository
-  (``https://source.denx.de/u-boot/u-boot.git``) as reference, unless (usually
-  late in a release cycle) there has been an announcement to use the ``next``
-  branch of this repository instead.
+  patches is by using the ``git format-patch`` command. For a patch that is
+  fixing a bug or regression of some sort, please use the ``master`` branch of
+  the mainline U-Boot git repository
+  (``https://source.denx.de/u-boot/u-boot.git``) as reference. For new

Please also remove the tick quotes around the link, it means we cannot click on it anymore as it's basically "verbatim". Maybe in a separate patch?

Looks good to me otherwise,

Thanks!
Quentin

author
#2 lore raw

PATCH 1/1 doc/develop/sending_patches.rst: Reword where our git tree is slightly

In reply to Tom Rini

We shouldn't have had the link to our git tree be contained within "``" as that meant that it did not work as a link, so remove those. And rather than make this a link plus text, keep this as a link within the text for overall clarity.

---
 doc/develop/sending_patches.rst | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
doc/develop/sending_patches.rst +4 -5
index 82efb717b179..990cb9912a92 100644
@@ -76,11 +76,10 @@ General Patch Submission Rules
   compression, no attachments. Just plain text. The best way the generate
   patches is by using the ``git format-patch`` command. For a patch that is
   fixing a bug or regression of some sort, please use the ``master`` branch of
-  the mainline U-Boot git repository
-  (``https://source.denx.de/u-boot/u-boot.git``) as reference. For new
-  features, if the ``next`` branch has been opened (which happens with the
-  release of ``-rc2``) that branch should be used, otherwise ``master`` is
-  acceptable.
+  the mainline U-Boot git repository located at
+  https://source.denx.de/u-boot/u-boot.git as reference. For new features, if
+  the ``next`` branch has been opened (which happens with the release of
+  ``-rc2``) that branch should be used, otherwise ``master`` is acceptable.
 
 * Make sure that your mailer does not mangle the patch by automatic changes
   like wrapping of longer lines etc.
Signature · 1 line
2.34.1
Reviewed-by on v1 1/1
#3 lore raw

Re: [PATCH] doc/develop/sending_patches.rst: Reword where our git tree is slightly

Hi Tom,

Quoted 6 lines · Tom Rini

We shouldn't have had the link to our git tree be contained within "``" as that meant that it did not work as a link, so remove those. And rather than make this a link plus text, keep this as a link within the text for overall clarity.

Thanks!
Quentin

Reviewed-by on v1 1/1
#4 lore raw

Re: [PATCH] doc/develop/sending_patches.rst: Reword where our git tree is slightly

In reply to Tom Rini
Quoted 21 lines · Tom Rini

We shouldn't have had the link to our git tree be contained within "``" as that meant that it did not work as a link, so remove those. And rather than make this a link plus text, keep this as a link within the text for overall clarity.

---
  doc/develop/sending_patches.rst | 9 ++++-----
  1 file changed, 4 insertions(+), 5 deletions(-)
doc/develop/sending_patches.rst +0 -2
index 82efb717b179..990cb9912a92 100644
@@ -76,11 +76,10 @@ General Patch Submission Rules
    compression, no attachments. Just plain text. The best way the generate
    patches is by using the ``git format-patch`` command. For a patch that is
    fixing a bug or regression of some sort, please use the ``master`` branch of
-  the mainline U-Boot git repository
-  (``https://source.denx.de/u-boot/u-boot.git``) as reference. For new

doc/develop/sending_patches.rst General Patch Submission Rules · line 85

Quoted 10 lines
doc/develop/sending_patches.rst +4 -3
-  features, if the ``next`` branch has been opened (which happens with the
-  release of ``-rc2``) that branch should be used, otherwise ``master`` is
-  acceptable.
+  the mainline U-Boot git repository located at
+  https://source.denx.de/u-boot/u-boot.git as reference. For new features, if
+  the ``next`` branch has been opened (which happens with the release of
+  ``-rc2``) that branch should be used, otherwise ``master`` is acceptable.
 
  * Make sure that your mailer does not mangle the patch by automatic changes
    like wrapping of longer lines etc.
Acked-by on v1 1/1
#5 lore raw
In reply to Tom Rini
Quoted 25 lines · Tom Rini

The previous wording on the paragraph about what branch to use when submitting patches did not reflect how / when the next branch is currently used. Reword this to note that master should be used for bug and regression fixes, always, and that next should be used once it opens, with -rc2.

---
 doc/develop/sending_patches.rst | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)
doc/develop/sending_patches.rst +0 -5
index 3f25b1d0466f..82efb717b179 100644
@@ -74,11 +74,13 @@ General Patch Submission Rules
 
 * Send your patches as plain text messages: no HTML, no MIME, no links, no
   compression, no attachments. Just plain text. The best way the generate
-  patches is by using the ``git format-patch`` command. Please use the
-  ``master`` branch of the mainline U-Boot git repository
-  (``https://source.denx.de/u-boot/u-boot.git``) as reference, unless (usually
-  late in a release cycle) there has been an announcement to use the ``next``
-  branch of this repository instead.

doc/develop/sending_patches.rst General Patch Submission Rules · line 86

Quoted 10 lines
doc/develop/sending_patches.rst +7 -0
+  patches is by using the ``git format-patch`` command. For a patch that is
+  fixing a bug or regression of some sort, please use the ``master`` branch of
+  the mainline U-Boot git repository
+  (``https://source.denx.de/u-boot/u-boot.git``) as reference. For new
+  features, if the ``next`` branch has been opened (which happens with the
+  release of ``-rc2``) that branch should be used, otherwise ``master`` is
+  acceptable.
 
 * Make sure that your mailer does not mangle the patch by automatic changes
   like wrapping of longer lines etc.

Crystal clear! Thanks.
FWIW and with Quentin's comment about the back ticks addressed or not:

Signature · 1 line
Jerome
Reviewed-by on v1 1/1
#6 lore raw
In reply to Tom Rini
Quoted 8 lines · Tom Rini

The previous wording on the paragraph about what branch to use when submitting patches did not reflect how / when the next branch is currently used. Reword this to note that master should be used for bug and regression fixes, always, and that next should be used once it opens, with -rc2.

Hello Tom,

I missed that patch in my recent documentation pull-request.

Maybe you just want to add it to master with whatever comes next.

Quoted 27 lines
---
  doc/develop/sending_patches.rst | 12 +++++++-----
  1 file changed, 7 insertions(+), 5 deletions(-)
doc/develop/sending_patches.rst +7 -5
index 3f25b1d0466f..82efb717b179 100644
@@ -74,11 +74,13 @@ General Patch Submission Rules
 
  * Send your patches as plain text messages: no HTML, no MIME, no links, no
    compression, no attachments. Just plain text. The best way the generate
-  patches is by using the ``git format-patch`` command. Please use the
-  ``master`` branch of the mainline U-Boot git repository
-  (``https://source.denx.de/u-boot/u-boot.git``) as reference, unless (usually
-  late in a release cycle) there has been an announcement to use the ``next``
-  branch of this repository instead.
+  patches is by using the ``git format-patch`` command. For a patch that is
+  fixing a bug or regression of some sort, please use the ``master`` branch of
+  the mainline U-Boot git repository
+  (``https://source.denx.de/u-boot/u-boot.git``) as reference. For new
+  features, if the ``next`` branch has been opened (which happens with the
+  release of ``-rc2``) that branch should be used, otherwise ``master`` is
+  acceptable.
 
  * Make sure that your mailer does not mangle the patch by automatic changes
    like wrapping of longer lines etc.
author
#7 lore raw
Quoted 10 lines · Heinrich Schuchardt
Quoted 8 lines · Tom Rini

The previous wording on the paragraph about what branch to use when submitting patches did not reflect how / when the next branch is currently used. Reword this to note that master should be used for bug and regression fixes, always, and that next should be used once it opens, with -rc2.

Quoted 7 lines

Hello Tom,

I missed that patch in my recent documentation pull-request.

Maybe you just want to add it to master with whatever comes next.

Will do, thanks.

Signature · 1 line
Tom
author
#8 lore raw
Quoted 13 lines · Tom Rini
Quoted 12 lines · Heinrich Schuchardt
Quoted 8 lines · Tom Rini

The previous wording on the paragraph about what branch to use when submitting patches did not reflect how / when the next branch is currently used. Reword this to note that master should be used for bug and regression fixes, always, and that next should be used once it opens, with -rc2.

Hello Tom,

Quoted 7 lines
Quoted 5 lines

I missed that patch in my recent documentation pull-request.

Maybe you just want to add it to master with whatever comes next.

Will do, thanks.

You got it already:
commit 85deb7f69ca4467cf5cf75545b253f9414908222

Author:     Tom Rini <[email protected]>
AuthorDate: Mon Aug 26 10:39:17 2024 -0600
Commit:     Heinrich Schuchardt <[email protected]>
CommitDate: Thu Sep 12 18:13:52 2024 +0200

doc/develop/sending_patches.rst: Clarify when to use which branch

Signature · 1 line
Tom
author
#9 lore raw
In reply to Heinrich Schuchardt
Quoted 10 lines · Heinrich Schuchardt
Quoted 8 lines · Tom Rini

The previous wording on the paragraph about what branch to use when submitting patches did not reflect how / when the next branch is currently used. Reword this to note that master should be used for bug and regression fixes, always, and that next should be used once it opens, with -rc2.

Quoted 7 lines

Hello Tom,

I missed that patch in my recent documentation pull-request.

Maybe you just want to add it to master with whatever comes next.

Ah, I think you meant to reply to:
https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/

Signature · 1 line
Tom
author
#10 lore raw

Re: (subset) [PATCH] doc/develop/sending_patches.rst: Clarify when to use which branch

In reply to Tom Rini
Quoted 8 lines · Tom Rini

The previous wording on the paragraph about what branch to use when submitting patches did not reflect how / when the next branch is currently used. Reword this to note that master should be used for bug and regression fixes, always, and that next should be used once it opens, with -rc2.

[...]

Applied to u-boot/master, thanks!

Signature · 1 line
Tom