workflows.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
@ 2024-12-02  8:14 Thorsten Leemhuis
  2024-12-02  8:28 ` Mauro Carvalho Chehab
  2024-12-04  1:06 ` Shuah Khan
  0 siblings, 2 replies; 10+ messages in thread
From: Thorsten Leemhuis @ 2024-12-02  8:14 UTC (permalink / raw)
  To: Jonathan Corbet
  Cc: workflows, linux-doc, linux-kernel, Laurent Pinchart,
	Simona Vetter, Mauro Carvalho Chehab, Greg Kroah-Hartman

Point out that explicit permission is usually needed to tag other people
in changes, but mention that implicit permission can be sufficient in
certain cases. This fixes slight inconsistencies between Reported-by:
and Suggested-by: and makes the usage more intuitive.

While at it, explicitly mention the dangers of our bugzilla instance, as
it makes it easy to forget that email addresses visible there are only
shown to logged-in users.

The latter is not a theoretical issue, as one maintainer mentioned that
his employer received a EU GDPR (general data protection regulation)
complaint after exposing a email address used in bugzilla through a tag
in a patch description.

Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: Simona Vetter <simona.vetter@ffwll.ch>
Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thorsten Leemhuis <linux@leemhuis.info>
---
Note: this triggers a few checkpatch.pl complaints that are irrelevant
when when to comes to changes like this.

v3:
- try yet again from a slightly different angle which loosens the rules
  slightly. This from review feedback to earlier versions is apparently
  what other developers want and from their "no lawyer" perspective
  consider to be okay. As IANAL myself I don't feel totally comfortable
  with this and have no idea if this legally is sound, so tag patch with
  "DONOTMERGE" for now; will remove this for v4 if enough people add a
  "Reviewed-by". Otherwise the story of this patch might end here, unless
  someone else submits it for inclusion (you are free to do so!).
- remote patch adding Suggested-by: tag to 5.Posting and submit it
  separately

v2: https://lore.kernel.org/all/cover.1731749544.git.linux@leemhuis.info/
- Retry differently. This slightly hardens the rule for Reported-by:
  while slightly lessening it for Suggested-by:. Those in the end are
  quite similar, so it does not make much sense to apply different ones.
  I considered using an approach along the lines of "if you reported it
  in pubic by mail, implicit permission to use in a tag is granted"; but
  I abstained from it, as I assume there are good reasons for the
  existing approach regarding Suggested-by:.
- CC all the people that provided feedback on the text changes in v1

v1: https://lore.kernel.org/all/f5bc0639a20d6fac68062466d5e3dd0519588d08.1731486825.git.linux@leemhuis.info/
- initial version
---
 Documentation/process/5.Posting.rst          | 13 +++++--
 Documentation/process/submitting-patches.rst | 39 ++++++++++++++------
 2 files changed, 36 insertions(+), 16 deletions(-)

diff --git a/Documentation/process/5.Posting.rst b/Documentation/process/5.Posting.rst
index b3eff03ea2491c..73961565040ed8 100644
--- a/Documentation/process/5.Posting.rst
+++ b/Documentation/process/5.Posting.rst
@@ -264,10 +264,15 @@ The tags in common use are:
  - Cc: the named person received a copy of the patch and had the
    opportunity to comment on it.
 
-Be careful in the addition of tags to your patches, as only Cc: is appropriate
-for addition without the explicit permission of the person named; using
-Reported-by: is fine most of the time as well, but ask for permission if
-the bug was reported in private.
+Be careful in the addition of tags to your patches, as all except for Cc:,
+Reported-by:, and Suggested-by: need explicit permission of the person named.
+For the three aforementioned ones implicit permission is sufficient if the
+person contributed to the Linux kernel using that name and email address
+according to the lore archives or the commit history -- and in case of
+Reported-by: and Suggested-by: did the reporting or suggestion in public.
+Note, bugzilla.kernel.org is a public place in this sense, but email addresses
+used there are private; so do not expose them in tags, unless the person used
+them in earlier contributions.
 
 
 Sending the patch
diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst
index 1518bd57adab50..9d26a4b7ca8ba3 100644
--- a/Documentation/process/submitting-patches.rst
+++ b/Documentation/process/submitting-patches.rst
@@ -481,10 +481,10 @@ list archives.
 
 If a person has had the opportunity to comment on a patch, but has not
 provided such comments, you may optionally add a ``Cc:`` tag to the patch.
-This is the only tag which might be added without an explicit action by the
-person it names - but it should indicate that this person was copied on the
-patch.  This tag documents that potentially interested parties
-have been included in the discussion.
+This tag documents that potentially interested parties have been included in
+the discussion. Note, this is one of only three tags you might be able to use
+without explicit permission of the person named (see 'Tagging people requires
+permission' below for details).
 
 Co-developed-by: states that the patch was co-created by multiple developers;
 it is used to give attribution to co-authors (in addition to the author
@@ -530,9 +530,9 @@ hopefully inspires them to help us again in the future. The tag is intended for
 bugs; please do not use it to credit feature requests. The tag should be
 followed by a Closes: tag pointing to the report, unless the report is not
 available on the web. The Link: tag can be used instead of Closes: if the patch
-fixes a part of the issue(s) being reported. Please note that if the bug was
-reported in private, then ask for permission first before using the Reported-by
-tag.
+fixes a part of the issue(s) being reported. Note, the Reported-by tag is one
+of only three tags you might be able to use without explicit permission of the
+person named (see 'Tagging people requires permission' below for details).
 
 A Tested-by: tag indicates that the patch has been successfully tested (in
 some environment) by the person named.  This tag informs maintainers that
@@ -582,11 +582,11 @@ Usually removal of someone's Tested-by or Reviewed-by tags should be mentioned
 in the patch changelog (after the '---' separator).
 
 A Suggested-by: tag indicates that the patch idea is suggested by the person
-named and ensures credit to the person for the idea. Please note that this
-tag should not be added without the reporter's permission, especially if the
-idea was not posted in a public forum. That said, if we diligently credit our
-idea reporters, they will, hopefully, be inspired to help us again in the
-future.
+named and ensures credit to the person for the idea: if we diligently credit
+our idea reporters, they will, hopefully, be inspired to help us again in the
+future. Note, this is one of only three tags you might be able to use without
+explicit permission of the person named (see 'Tagging people requires
+permission' below for details).
 
 A Fixes: tag indicates that the patch fixes an issue in a previous commit. It
 is used to make it easy to determine where a bug originated, which can help
@@ -600,6 +600,21 @@ process nor the requirement to Cc: stable@vger.kernel.org on all stable
 patch candidates. For more information, please read
 Documentation/process/stable-kernel-rules.rst.
 
+.. _tagging_people:
+
+Tagging people requires permission
+----------------------------------
+
+Be careful in the addition of tags to your patches, as all except for Cc:,
+Reported-by:, and Suggested-by: need explicit permission of the person named.
+For the three aforementioned ones implicit permission is sufficient if the
+person contributed to the Linux kernel using that name and email address
+according to the lore archives or the commit history -- and in case of
+Reported-by: and Suggested-by: did the reporting or suggestion in public.
+Note, bugzilla.kernel.org is a public place in this sense, but email addresses
+used there are private; so do not expose them in tags, unless the person used
+them in earlier contributions.
+
 .. _the_canonical_patch_format:
 
 The canonical patch format

base-commit: 83a474c11e8cb59e230a43365cb42fa00d3bddaa
-- 
2.45.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
  2024-12-02  8:14 [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people Thorsten Leemhuis
@ 2024-12-02  8:28 ` Mauro Carvalho Chehab
  2024-12-02 10:02   ` Mauro Carvalho Chehab
  2024-12-04  1:06 ` Shuah Khan
  1 sibling, 1 reply; 10+ messages in thread
From: Mauro Carvalho Chehab @ 2024-12-02  8:28 UTC (permalink / raw)
  To: Thorsten Leemhuis
  Cc: Jonathan Corbet, workflows, linux-doc, linux-kernel,
	Laurent Pinchart, Simona Vetter, Greg Kroah-Hartman

Em Mon,  2 Dec 2024 09:14:19 +0100
Thorsten Leemhuis <linux@leemhuis.info> escreveu:

> Point out that explicit permission is usually needed to tag other people
> in changes, but mention that implicit permission can be sufficient in
> certain cases. This fixes slight inconsistencies between Reported-by:
> and Suggested-by: and makes the usage more intuitive.
> 
> While at it, explicitly mention the dangers of our bugzilla instance, as
> it makes it easy to forget that email addresses visible there are only
> shown to logged-in users.
> 
> The latter is not a theoretical issue, as one maintainer mentioned that
> his employer received a EU GDPR (general data protection regulation)
> complaint after exposing a email address used in bugzilla through a tag
> in a patch description.
> 
> Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
> Cc: Simona Vetter <simona.vetter@ffwll.ch>
> Cc: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Signed-off-by: Thorsten Leemhuis <linux@leemhuis.info>

LGTM.

Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

> ---
> Note: this triggers a few checkpatch.pl complaints that are irrelevant
> when when to comes to changes like this.
> 
> v3:
> - try yet again from a slightly different angle which loosens the rules
>   slightly. This from review feedback to earlier versions is apparently
>   what other developers want and from their "no lawyer" perspective
>   consider to be okay. As IANAL myself I don't feel totally comfortable
>   with this and have no idea if this legally is sound, so tag patch with
>   "DONOTMERGE" for now; will remove this for v4 if enough people add a
>   "Reviewed-by". Otherwise the story of this patch might end here, unless
>   someone else submits it for inclusion (you are free to do so!).
> - remote patch adding Suggested-by: tag to 5.Posting and submit it
>   separately
> 
> v2: https://lore.kernel.org/all/cover.1731749544.git.linux@leemhuis.info/
> - Retry differently. This slightly hardens the rule for Reported-by:
>   while slightly lessening it for Suggested-by:. Those in the end are
>   quite similar, so it does not make much sense to apply different ones.
>   I considered using an approach along the lines of "if you reported it
>   in pubic by mail, implicit permission to use in a tag is granted"; but
>   I abstained from it, as I assume there are good reasons for the
>   existing approach regarding Suggested-by:.
> - CC all the people that provided feedback on the text changes in v1
> 
> v1: https://lore.kernel.org/all/f5bc0639a20d6fac68062466d5e3dd0519588d08.1731486825.git.linux@leemhuis.info/
> - initial version
> ---
>  Documentation/process/5.Posting.rst          | 13 +++++--
>  Documentation/process/submitting-patches.rst | 39 ++++++++++++++------
>  2 files changed, 36 insertions(+), 16 deletions(-)
> 
> diff --git a/Documentation/process/5.Posting.rst b/Documentation/process/5.Posting.rst
> index b3eff03ea2491c..73961565040ed8 100644
> --- a/Documentation/process/5.Posting.rst
> +++ b/Documentation/process/5.Posting.rst
> @@ -264,10 +264,15 @@ The tags in common use are:
>   - Cc: the named person received a copy of the patch and had the
>     opportunity to comment on it.
>  
> -Be careful in the addition of tags to your patches, as only Cc: is appropriate
> -for addition without the explicit permission of the person named; using
> -Reported-by: is fine most of the time as well, but ask for permission if
> -the bug was reported in private.
> +Be careful in the addition of tags to your patches, as all except for Cc:,
> +Reported-by:, and Suggested-by: need explicit permission of the person named.
> +For the three aforementioned ones implicit permission is sufficient if the
> +person contributed to the Linux kernel using that name and email address
> +according to the lore archives or the commit history -- and in case of
> +Reported-by: and Suggested-by: did the reporting or suggestion in public.
> +Note, bugzilla.kernel.org is a public place in this sense, but email addresses
> +used there are private; so do not expose them in tags, unless the person used
> +them in earlier contributions.
>  
>  
>  Sending the patch
> diff --git a/Documentation/process/submitting-patches.rst b/Documentation/process/submitting-patches.rst
> index 1518bd57adab50..9d26a4b7ca8ba3 100644
> --- a/Documentation/process/submitting-patches.rst
> +++ b/Documentation/process/submitting-patches.rst
> @@ -481,10 +481,10 @@ list archives.
>  
>  If a person has had the opportunity to comment on a patch, but has not
>  provided such comments, you may optionally add a ``Cc:`` tag to the patch.
> -This is the only tag which might be added without an explicit action by the
> -person it names - but it should indicate that this person was copied on the
> -patch.  This tag documents that potentially interested parties
> -have been included in the discussion.
> +This tag documents that potentially interested parties have been included in
> +the discussion. Note, this is one of only three tags you might be able to use
> +without explicit permission of the person named (see 'Tagging people requires
> +permission' below for details).
>  
>  Co-developed-by: states that the patch was co-created by multiple developers;
>  it is used to give attribution to co-authors (in addition to the author
> @@ -530,9 +530,9 @@ hopefully inspires them to help us again in the future. The tag is intended for
>  bugs; please do not use it to credit feature requests. The tag should be
>  followed by a Closes: tag pointing to the report, unless the report is not
>  available on the web. The Link: tag can be used instead of Closes: if the patch
> -fixes a part of the issue(s) being reported. Please note that if the bug was
> -reported in private, then ask for permission first before using the Reported-by
> -tag.
> +fixes a part of the issue(s) being reported. Note, the Reported-by tag is one
> +of only three tags you might be able to use without explicit permission of the
> +person named (see 'Tagging people requires permission' below for details).
>  
>  A Tested-by: tag indicates that the patch has been successfully tested (in
>  some environment) by the person named.  This tag informs maintainers that
> @@ -582,11 +582,11 @@ Usually removal of someone's Tested-by or Reviewed-by tags should be mentioned
>  in the patch changelog (after the '---' separator).
>  
>  A Suggested-by: tag indicates that the patch idea is suggested by the person
> -named and ensures credit to the person for the idea. Please note that this
> -tag should not be added without the reporter's permission, especially if the
> -idea was not posted in a public forum. That said, if we diligently credit our
> -idea reporters, they will, hopefully, be inspired to help us again in the
> -future.
> +named and ensures credit to the person for the idea: if we diligently credit
> +our idea reporters, they will, hopefully, be inspired to help us again in the
> +future. Note, this is one of only three tags you might be able to use without
> +explicit permission of the person named (see 'Tagging people requires
> +permission' below for details).
>  
>  A Fixes: tag indicates that the patch fixes an issue in a previous commit. It
>  is used to make it easy to determine where a bug originated, which can help
> @@ -600,6 +600,21 @@ process nor the requirement to Cc: stable@vger.kernel.org on all stable
>  patch candidates. For more information, please read
>  Documentation/process/stable-kernel-rules.rst.
>  
> +.. _tagging_people:
> +
> +Tagging people requires permission
> +----------------------------------
> +
> +Be careful in the addition of tags to your patches, as all except for Cc:,
> +Reported-by:, and Suggested-by: need explicit permission of the person named.
> +For the three aforementioned ones implicit permission is sufficient if the
> +person contributed to the Linux kernel using that name and email address
> +according to the lore archives or the commit history -- and in case of
> +Reported-by: and Suggested-by: did the reporting or suggestion in public.
> +Note, bugzilla.kernel.org is a public place in this sense, but email addresses
> +used there are private; so do not expose them in tags, unless the person used
> +them in earlier contributions.
> +
>  .. _the_canonical_patch_format:
>  
>  The canonical patch format
> 
> base-commit: 83a474c11e8cb59e230a43365cb42fa00d3bddaa



Thanks,
Mauro

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
  2024-12-02  8:28 ` Mauro Carvalho Chehab
@ 2024-12-02 10:02   ` Mauro Carvalho Chehab
  2024-12-02 13:54     ` Thorsten Leemhuis
  0 siblings, 1 reply; 10+ messages in thread
From: Mauro Carvalho Chehab @ 2024-12-02 10:02 UTC (permalink / raw)
  To: Thorsten Leemhuis
  Cc: Jonathan Corbet, workflows, linux-doc, linux-kernel,
	Laurent Pinchart, Simona Vetter, Greg Kroah-Hartman

Em Mon, 2 Dec 2024 09:28:57 +0100
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> escreveu:

> > +Tagging people requires permission
> > +----------------------------------
> > +
> > +Be careful in the addition of tags to your patches, as all except for Cc:,
> > +Reported-by:, and Suggested-by: need explicit permission of the person named.
> > +For the three aforementioned ones implicit permission is sufficient if the
> > +person contributed to the Linux kernel using that name and email address
> > +according to the lore archives or the commit history -- and in case of
> > +Reported-by: and Suggested-by: did the reporting or suggestion in public.
> > +Note, bugzilla.kernel.org is a public place in this sense, but email addresses
> > +used there are private; so do not expose them in tags, unless the person used
> > +them in earlier contributions.

Hmm... There is another tag that we use without requiring explicit permissions:

	Requested-by:

There are currently 376 occurrences on 6.13-rc1.

This is used when a maintainer or reviewer publicly requests some changes to
be added on a patch series.

Thanks,
Mauro

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
  2024-12-02 10:02   ` Mauro Carvalho Chehab
@ 2024-12-02 13:54     ` Thorsten Leemhuis
  2024-12-02 14:45       ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 10+ messages in thread
From: Thorsten Leemhuis @ 2024-12-02 13:54 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Jonathan Corbet, workflows, linux-doc, linux-kernel,
	Laurent Pinchart, Simona Vetter, Greg Kroah-Hartman

On 02.12.24 11:02, Mauro Carvalho Chehab wrote:
> Em Mon, 2 Dec 2024 09:28:57 +0100
> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> escreveu:
> 
>>> +Tagging people requires permission
>>> +----------------------------------
>>> +
>>> +Be careful in the addition of tags to your patches, as all except for Cc:,
>>> +Reported-by:, and Suggested-by: need explicit permission of the person named.
>>> +For the three aforementioned ones implicit permission is sufficient if the
>>> +person contributed to the Linux kernel using that name and email address
>>> +according to the lore archives or the commit history -- and in case of
>>> +Reported-by: and Suggested-by: did the reporting or suggestion in public.
>>> +Note, bugzilla.kernel.org is a public place in this sense, but email addresses
>>> +used there are private; so do not expose them in tags, unless the person used
>>> +them in earlier contributions.

First: thx for your Review-by given earlier!

> Hmm... There is another tag that we use without requiring explicit permissions:
> 
> 	Requested-by:
> 
> There are currently 376 occurrences on 6.13-rc1.
> 
> This is used when a maintainer or reviewer publicly requests some changes to
> be added on a patch series.

Hmmm, that is one of those "grey area" tags[1], as it's not documented
yet afaics ('grep -ir Requested-by Documentation/
scripts/get_maintainer.pl' gave nothing). Documenting it would make it
official; I'm not sure if that is wanted and say that is something that
should be done independently if somebody wants to make it official.

Ciao, Thorsten

[1] like "Reported-and-tested-by", which according to
Documentation/process/maintainer-tip.rst should not be used.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
  2024-12-02 13:54     ` Thorsten Leemhuis
@ 2024-12-02 14:45       ` Mauro Carvalho Chehab
  2024-12-02 15:54         ` Thorsten Leemhuis
  0 siblings, 1 reply; 10+ messages in thread
From: Mauro Carvalho Chehab @ 2024-12-02 14:45 UTC (permalink / raw)
  To: Thorsten Leemhuis
  Cc: Jonathan Corbet, workflows, linux-doc, linux-kernel,
	Laurent Pinchart, Simona Vetter, Greg Kroah-Hartman

Em Mon, 2 Dec 2024 14:54:56 +0100
Thorsten Leemhuis <linux@leemhuis.info> escreveu:

> On 02.12.24 11:02, Mauro Carvalho Chehab wrote:
> > Em Mon, 2 Dec 2024 09:28:57 +0100
> > Mauro Carvalho Chehab <mchehab+huawei@kernel.org> escreveu:
> >   
> >>> +Tagging people requires permission
> >>> +----------------------------------
> >>> +
> >>> +Be careful in the addition of tags to your patches, as all except for Cc:,
> >>> +Reported-by:, and Suggested-by: need explicit permission of the person named.
> >>> +For the three aforementioned ones implicit permission is sufficient if the
> >>> +person contributed to the Linux kernel using that name and email address
> >>> +according to the lore archives or the commit history -- and in case of
> >>> +Reported-by: and Suggested-by: did the reporting or suggestion in public.
> >>> +Note, bugzilla.kernel.org is a public place in this sense, but email addresses
> >>> +used there are private; so do not expose them in tags, unless the person used
> >>> +them in earlier contributions.  
> 
> First: thx for your Review-by given earlier!
> 
> > Hmm... There is another tag that we use without requiring explicit permissions:
> > 
> > 	Requested-by:
> > 
> > There are currently 376 occurrences on 6.13-rc1.
> > 
> > This is used when a maintainer or reviewer publicly requests some changes to
> > be added on a patch series.  
> 
> Hmmm, that is one of those "grey area" tags[1], as it's not documented
> yet afaics ('grep -ir Requested-by Documentation/
> scripts/get_maintainer.pl' gave nothing). 

> Documenting it would make it
> official; I'm not sure if that is wanted and say that is something that
> should be done independently if somebody wants to make it official.

No, my intention is not to make requested-by (or its variant suggested-by)
official.

The issue is that, when it is said there that
"all except CC/Reported-by/reviewed-by", plus considering other
other hunks of this patch like:

	"is one of only three tags you might be able to use without
	 explicit permission"

You're basically requesting explicit permission for any "non-official"
tags as well, including reviewed-by. This is not what it is wanted here.

See, if we run:

	$ git log --pretty="%b" 1da177e4c3f4..v6.13-rc1 |grep -Ei "^[a-z\-]+: .*@.*"|cut -d: -f 1|tr A-Z a-z |sort|uniq -c|wc -l
	764

There are 764 tags (and 764 ones, for the last 2 years) that are e-mails 
r e-mail related tags. Among them, there are several ones that comes
from the message-id (which may disclose the hostname that was used
during patch development).

The top 20 being:

    185 debugged-by
    240 co-authored-by
    367 requested-by			# doesn't need explicit ack
    563 reviewed-and-tested-by
   1505 to				# doesn't need explicit ack
   1757 author				# doesn't need explicit ack
   2857 closes				# with message IDs?
   3204 reported-and-tested-by
   3451 from				# doesn't need explicit ack
   5106 lkml-reference			# with message IDs?
   6616 message-id			# message IDs
   6858 co-developed-by
  18996 suggested-by			# doesn't need explicit ack
  64529 reported-by
  72321 tested-by
 213673 acked-by
 310825 link				# with message IDs?
 367140 reviewed-by
 739926 cc
2446984 signed-off-by

From that, besides the 3 you mentioned, at least 5 don't seem to require
an explicit ack: author, from, to, requested-by, suggested-by.

Thanks,
Mauro

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
  2024-12-02 14:45       ` Mauro Carvalho Chehab
@ 2024-12-02 15:54         ` Thorsten Leemhuis
  2024-12-02 16:17           ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 10+ messages in thread
From: Thorsten Leemhuis @ 2024-12-02 15:54 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Jonathan Corbet, workflows, linux-doc, linux-kernel,
	Laurent Pinchart, Simona Vetter, Greg Kroah-Hartman

On 02.12.24 15:45, Mauro Carvalho Chehab wrote:
> Em Mon, 2 Dec 2024 14:54:56 +0100
> Thorsten Leemhuis <linux@leemhuis.info> escreveu:
> 
>> On 02.12.24 11:02, Mauro Carvalho Chehab wrote:
>>> Em Mon, 2 Dec 2024 09:28:57 +0100
>>> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> escreveu:
>>>   
>>>>> +Tagging people requires permission
>>>>> +----------------------------------
>>>>> +
>>>>> +Be careful in the addition of tags to your patches, as all except for Cc:,
>>>>> +Reported-by:, and Suggested-by: need explicit permission of the person named.
>>>>> +For the three aforementioned ones implicit permission is sufficient if the
>>>>> +person contributed to the Linux kernel using that name and email address
>>>>> +according to the lore archives or the commit history -- and in case of
>>>>> +Reported-by: and Suggested-by: did the reporting or suggestion in public.
>>>>> +Note, bugzilla.kernel.org is a public place in this sense, but email addresses
>>>>> +used there are private; so do not expose them in tags, unless the person used
>>>>> +them in earlier contributions.  
>>>
>>> Hmm... There is another tag that we use without requiring explicit permissions:
>>>
>>> 	Requested-by:
>>>
>>> There are currently 376 occurrences on 6.13-rc1.
>>>
>>> This is used when a maintainer or reviewer publicly requests some changes to
>>> be added on a patch series.  
> [...]
> You're basically requesting explicit permission for any "non-official"
> tags as well, including reviewed-by. This is not what it is wanted here.

Ahh, okay, I see the problem now. But well, I'd say "as all except" in a
text like this implicitly only refers to those the text mentions in the
first place. So I'd say it's good as it is. But if people think this is
a problem, I could easily use a slightly modified phrase like "...as all
mentioned above except...".

Ciao, Thorsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
  2024-12-02 15:54         ` Thorsten Leemhuis
@ 2024-12-02 16:17           ` Mauro Carvalho Chehab
  2024-12-03  6:25             ` Thorsten Leemhuis
  0 siblings, 1 reply; 10+ messages in thread
From: Mauro Carvalho Chehab @ 2024-12-02 16:17 UTC (permalink / raw)
  To: Thorsten Leemhuis
  Cc: Jonathan Corbet, workflows, linux-doc, linux-kernel,
	Laurent Pinchart, Simona Vetter, Greg Kroah-Hartman

Em Mon, 2 Dec 2024 16:54:49 +0100
Thorsten Leemhuis <linux@leemhuis.info> escreveu:

> On 02.12.24 15:45, Mauro Carvalho Chehab wrote:
> > Em Mon, 2 Dec 2024 14:54:56 +0100
> > Thorsten Leemhuis <linux@leemhuis.info> escreveu:
> >   
> >> On 02.12.24 11:02, Mauro Carvalho Chehab wrote:  
> >>> Em Mon, 2 Dec 2024 09:28:57 +0100
> >>> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> escreveu:
> >>>     
> >>>>> +Tagging people requires permission
> >>>>> +----------------------------------
> >>>>> +
> >>>>> +Be careful in the addition of tags to your patches, as all except for Cc:,
> >>>>> +Reported-by:, and Suggested-by: need explicit permission of the person named.
> >>>>> +For the three aforementioned ones implicit permission is sufficient if the
> >>>>> +person contributed to the Linux kernel using that name and email address
> >>>>> +according to the lore archives or the commit history -- and in case of
> >>>>> +Reported-by: and Suggested-by: did the reporting or suggestion in public.
> >>>>> +Note, bugzilla.kernel.org is a public place in this sense, but email addresses
> >>>>> +used there are private; so do not expose them in tags, unless the person used
> >>>>> +them in earlier contributions.    
> >>>
> >>> Hmm... There is another tag that we use without requiring explicit permissions:
> >>>
> >>> 	Requested-by:
> >>>
> >>> There are currently 376 occurrences on 6.13-rc1.
> >>>
> >>> This is used when a maintainer or reviewer publicly requests some changes to
> >>> be added on a patch series.    
> > [...]
> > You're basically requesting explicit permission for any "non-official"
> > tags as well, including reviewed-by. This is not what it is wanted here.  
> 
> Ahh, okay, I see the problem now. But well, I'd say "as all except" in a
> text like this implicitly only refers to those the text mentions in the
> first place. So I'd say it's good as it is. But if people think this is
> a problem,

I still think it is problematic, but with the change below:

> I could easily use a slightly modified phrase like "...as all
> mentioned above except...".

It seems a lot better to me.

Regards,
Mauro

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
  2024-12-02 16:17           ` Mauro Carvalho Chehab
@ 2024-12-03  6:25             ` Thorsten Leemhuis
  2024-12-03  6:59               ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 10+ messages in thread
From: Thorsten Leemhuis @ 2024-12-03  6:25 UTC (permalink / raw)
  To: Mauro Carvalho Chehab
  Cc: Jonathan Corbet, workflows, linux-doc, linux-kernel,
	Laurent Pinchart, Simona Vetter, Greg Kroah-Hartman

On 02.12.24 17:17, Mauro Carvalho Chehab wrote:
> Em Mon, 2 Dec 2024 16:54:49 +0100
> Thorsten Leemhuis <linux@leemhuis.info> escreveu:
>> On 02.12.24 15:45, Mauro Carvalho Chehab wrote:
>>> Em Mon, 2 Dec 2024 14:54:56 +0100
>>> Thorsten Leemhuis <linux@leemhuis.info> escreveu:
>>>> On 02.12.24 11:02, Mauro Carvalho Chehab wrote:  
>>>>> Em Mon, 2 Dec 2024 09:28:57 +0100
>>>>> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> escreveu:
>>>>>>> +Tagging people requires permission
>>>>>>> +----------------------------------
>>>>>>> +
>>>>>>> +Be careful in the addition of tags to your patches, as all except for Cc:,
>>>>>>> +Reported-by:, and Suggested-by: need explicit permission of the person named.
>>>>>
>>>>> Hmm... There is another tag that we use without requiring explicit permissions:
>>>>>
>>>>> 	Requested-by:
>>>>>
>>>>> There are currently 376 occurrences on 6.13-rc1.
>>>>>
>>>>> This is used when a maintainer or reviewer publicly requests some changes to
>>>>> be added on a patch series.    
>>> [...]
>>> You're basically requesting explicit permission for any "non-official"
>>> tags as well, including reviewed-by. This is not what it is wanted here.  
>>
>> I could easily use a slightly modified phrase like "...as all
>> mentioned above except...".
> 
> It seems a lot better to me.

I went with this a slightly different variant for readability:

Be careful in the addition of the aforementioned tags to your patches,
as all except for Cc:, Reported-by:, and Suggested-by: need explicit
permission of the person named.

Hope that's okay. If I don't hear anything, I'll assume your earlier
Reviewed-by: is still valid.

Ciao, Thorsten

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
  2024-12-03  6:25             ` Thorsten Leemhuis
@ 2024-12-03  6:59               ` Mauro Carvalho Chehab
  0 siblings, 0 replies; 10+ messages in thread
From: Mauro Carvalho Chehab @ 2024-12-03  6:59 UTC (permalink / raw)
  To: Thorsten Leemhuis
  Cc: Jonathan Corbet, workflows, linux-doc, linux-kernel,
	Laurent Pinchart, Simona Vetter, Greg Kroah-Hartman

Em Tue, 3 Dec 2024 07:25:43 +0100
Thorsten Leemhuis <linux@leemhuis.info> escreveu:

> On 02.12.24 17:17, Mauro Carvalho Chehab wrote:
> > Em Mon, 2 Dec 2024 16:54:49 +0100
> > Thorsten Leemhuis <linux@leemhuis.info> escreveu:  
> >> On 02.12.24 15:45, Mauro Carvalho Chehab wrote:  
> >>> Em Mon, 2 Dec 2024 14:54:56 +0100
> >>> Thorsten Leemhuis <linux@leemhuis.info> escreveu:  
> >>>> On 02.12.24 11:02, Mauro Carvalho Chehab wrote:    
> >>>>> Em Mon, 2 Dec 2024 09:28:57 +0100
> >>>>> Mauro Carvalho Chehab <mchehab+huawei@kernel.org> escreveu:  
> >>>>>>> +Tagging people requires permission
> >>>>>>> +----------------------------------
> >>>>>>> +
> >>>>>>> +Be careful in the addition of tags to your patches, as all except for Cc:,
> >>>>>>> +Reported-by:, and Suggested-by: need explicit permission of the person named.  
> >>>>>
> >>>>> Hmm... There is another tag that we use without requiring explicit permissions:
> >>>>>
> >>>>> 	Requested-by:
> >>>>>
> >>>>> There are currently 376 occurrences on 6.13-rc1.
> >>>>>
> >>>>> This is used when a maintainer or reviewer publicly requests some changes to
> >>>>> be added on a patch series.      
> >>> [...]
> >>> You're basically requesting explicit permission for any "non-official"
> >>> tags as well, including reviewed-by. This is not what it is wanted here.    
> >>
> >> I could easily use a slightly modified phrase like "...as all
> >> mentioned above except...".  
> > 
> > It seems a lot better to me.  
> 
> I went with this a slightly different variant for readability:
> 
> Be careful in the addition of the aforementioned tags to your patches,
> as all except for Cc:, Reported-by:, and Suggested-by: need explicit
> permission of the person named.
> 
> Hope that's okay. If I don't hear anything, I'll assume your earlier
> Reviewed-by: is still valid.

It is. Just in case:
Reviewed-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>

> 
> Ciao, Thorsten



Thanks,
Mauro

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people
  2024-12-02  8:14 [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people Thorsten Leemhuis
  2024-12-02  8:28 ` Mauro Carvalho Chehab
@ 2024-12-04  1:06 ` Shuah Khan
  1 sibling, 0 replies; 10+ messages in thread
From: Shuah Khan @ 2024-12-04  1:06 UTC (permalink / raw)
  To: Thorsten Leemhuis, Jonathan Corbet
  Cc: workflows, linux-doc, linux-kernel, Laurent Pinchart,
	Simona Vetter, Mauro Carvalho Chehab, Greg Kroah-Hartman,
	Shuah Khan

On 12/2/24 01:14, Thorsten Leemhuis wrote:
> Point out that explicit permission is usually needed to tag other people
> in changes, but mention that implicit permission can be sufficient in
> certain cases. This fixes slight inconsistencies between Reported-by:
> and Suggested-by: and makes the usage more intuitive.
> 
> While at it, explicitly mention the dangers of our bugzilla instance, as
> it makes it easy to forget that email addresses visible there are only
> shown to logged-in users.
> 
> The latter is not a theoretical issue, as one maintainer mentioned that
> his employer received a EU GDPR (general data protection regulation)

Thank you for taking care of this.

Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>

thanks,
-- Shuah




^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-12-04  1:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-02  8:14 [PATCH v3 DONOTMERGE] docs: clarify rules wrt tagging other people Thorsten Leemhuis
2024-12-02  8:28 ` Mauro Carvalho Chehab
2024-12-02 10:02   ` Mauro Carvalho Chehab
2024-12-02 13:54     ` Thorsten Leemhuis
2024-12-02 14:45       ` Mauro Carvalho Chehab
2024-12-02 15:54         ` Thorsten Leemhuis
2024-12-02 16:17           ` Mauro Carvalho Chehab
2024-12-03  6:25             ` Thorsten Leemhuis
2024-12-03  6:59               ` Mauro Carvalho Chehab
2024-12-04  1:06 ` Shuah Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox