Documentation/maintainer-tip: Update Link tag rules
Subsystems (2)
PATCH 1/1 Documentation/maintainer-tip: Update Link tag rules
From: "Borislav Petkov (AMD)" <[email protected]>
Remove the rule about Link tag pointing to the upstream submission of a patch as this is "frowned upon" now. Clarify when a Link tag should be used.
Signed-off-by Borislav Petkov (AMD) <[email protected]>
--- Documentation/process/maintainer-tip.rst | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-)
Documentation/process/maintainer-tip.rst +9 -11
@@ -377,11 +377,18 @@ following tag ordering scheme: Link: https://lore.kernel.org/email-message-id@here - This URL should be used when referring to relevant mailing list - topics, related patch sets, or other notable discussion threads. + This URL should be used when referring to relevant mailing list topics, + related patch sets, or other notable discussion threads. Do not add a Link + tag to simply point to the mail which became the upstream commit - the Link + should contain interesting and otherwise relevant information regardling + the evolution of the change or any related side-discussion. See + https://lore.kernel.org/r/CAHk-=wh5AyuvEhNY9a57v-vwyr7EkPVRUKMPwj92yF_K0dJHVg@mail.gmail.com + for more info. + A convenient way to associate ``Link:`` trailers with the commit message is to use markdown-like bracketed notation, for example:: + A similar approach was attempted before as part of a different effort [1], but the initial implementation caused too many regressions [2], so it was backed out and reimplemented.
@@ -389,15 +396,6 @@ following tag ordering scheme: Link: https://lore.kernel.org/some-msgid@here # [1] Link: https://bugzilla.example.org/bug/12345 # [2] - You can also use ``Link:`` trailers to indicate the origin of the - patch when applying it to your git tree. In that case, please use the - dedicated ``patch.msgid.link`` domain instead of ``lore.kernel.org``. - This practice makes it possible for automated tooling to identify - which link to use to retrieve the original patch submission. For - example:: - - Link: https://patch.msgid.link/patch-source-message-id@here - Please do not use combined tags, e.g. ``Reported-and-tested-by``, as they just complicate automated extraction of tags.
Signature · 1 line
2.51.0
Documentation/process/maintainer-tip.rst following tag ordering scheme: · line 383
Quoted 8 lines
Documentation/process/maintainer-tip.rst +4
-2- This URL should be used when referring to relevant mailing list - topics, related patch sets, or other notable discussion threads. + This URL should be used when referring to relevant mailing list topics, + related patch sets, or other notable discussion threads. Do not add a Link + tag to simply point to the mail which became the upstream commit - the Link + should contain interesting and otherwise relevant information regardling
s/regardling/regarding ?
Documentation/process/maintainer-tip.rst following tag ordering scheme: · line 391
Quoted 8 lines
Documentation/process/maintainer-tip.rst +5
-0+ the evolution of the change or any related side-discussion. See + https://lore.kernel.org/r/CAHk-=wh5AyuvEhNY9a57v-vwyr7EkPVRUKMPwj92yF_K0dJHVg@mail.gmail.com + for more info. + A convenient way to associate ``Link:`` trailers with the commit message is to use markdown-like bracketed notation, for example:: +
This looks like an intended change?
Quoted 19 lines
A similar approach was attempted before as part of a different effort [1], but the initial implementation caused too many regressions [2], so it was backed out and reimplemented.
Documentation/process/maintainer-tip.rst +0
-9@@ -389,15 +396,6 @@ following tag ordering scheme: Link: https://lore.kernel.org/some-msgid@here # [1] Link: https://bugzilla.example.org/bug/12345 # [2] - You can also use ``Link:`` trailers to indicate the origin of the - patch when applying it to your git tree. In that case, please use the - dedicated ``patch.msgid.link`` domain instead of ``lore.kernel.org``. - This practice makes it possible for automated tooling to identify - which link to use to retrieve the original patch submission. For - example:: - - Link: https://patch.msgid.link/patch-source-message-id@here - Please do not use combined tags, e.g. ``Reported-and-tested-by``, as they just complicate automated extraction of tags.