* [PATCH] Documentation/maintainer-tip: Update Link tag rules
@ 2025-09-09 13:51 Borislav Petkov
2025-09-11 4:56 ` Huang, Kai
0 siblings, 1 reply; 2+ messages in thread
From: Borislav Petkov @ 2025-09-09 13:51 UTC (permalink / raw)
To: X86 ML; +Cc: LKML, Borislav Petkov (AMD)
From: "Borislav Petkov (AMD)" <bp@alien8.de>
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) <bp@alien8.de>
---
Documentation/process/maintainer-tip.rst | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/Documentation/process/maintainer-tip.rst b/Documentation/process/maintainer-tip.rst
index 41d5855700cd..9dd700948261 100644
--- a/Documentation/process/maintainer-tip.rst
+++ b/Documentation/process/maintainer-tip.rst
@@ -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.
--
2.51.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Documentation/maintainer-tip: Update Link tag rules
2025-09-09 13:51 [PATCH] Documentation/maintainer-tip: Update Link tag rules Borislav Petkov
@ 2025-09-11 4:56 ` Huang, Kai
0 siblings, 0 replies; 2+ messages in thread
From: Huang, Kai @ 2025-09-11 4:56 UTC (permalink / raw)
To: bp@kernel.org, x86@kernel.org; +Cc: linux-kernel@vger.kernel.org, bp@alien8.de
>
> - 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 ?
> + 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?
> 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.
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-11 4:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-09 13:51 [PATCH] Documentation/maintainer-tip: Update Link tag rules Borislav Petkov
2025-09-11 4:56 ` Huang, Kai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox