MAINTAINERS: add all-match entry for qemu-devel@
PATCH 1/1 MAINTAINERS: add all-match entry for qemu-devel@
Add an entry to MAINTAINERS that matches every patch, and requests the user send patches to [email protected].
It's not 100% obvious to project newcomers that all patches should be sent there; checkpatch doesn't say so, and since it mentions other lists to CC, the wording "the list" from the SubmitAPatch wiki page can be taken to mean only those lists, not the main list too.
The F: entries were taken from a similar entry in the Linux kernel.
--- MAINTAINERS | 5 +++++ 1 file changed, 5 insertions(+)
MAINTAINERS +5 -0
@@ -52,6 +52,11 @@ General Project Administration ------------------------------ M: Peter Maydell <[email protected]> +All patches CC here +L: [email protected] +F: * +F: */ + Responsible Disclosure, Reporting Security Issues ------------------------------ W: http://wiki.qemu.org/SecurityProcess
Signature · 1 line
1.9.1
Quoted 21 lines · Stephen Warren
Add an entry to
MAINTAINERSthat matches every patch, and requests the user send patches to [email protected].It's not 100% obvious to project newcomers that all patches should be sent there; checkpatch doesn't say so, and since it mentions other lists to CC, the wording "the list" from the SubmitAPatch wiki page can be taken to mean only those lists, not the main list too.
The F: entries were taken from a similar entry in the Linux kernel.
Signed-off-by Stephen Warren <[email protected]>--- MAINTAINERS | 5 +++++ 1 file changed, 5 insertions(+)MAINTAINERS +0
-0@@ -52,6 +52,11 @@ General Project Administration ------------------------------
MAINTAINERS General Project Administration · line 62
Quoted 10 lines
MAINTAINERS +5
-0M: Peter Maydell <[email protected]> +All patches CC here +L: [email protected] +F: * +F: */ + Responsible Disclosure, Reporting Security Issues ------------------------------ W: http://wiki.qemu.org/SecurityProcess
I acknowledge the problem, but your patch breaks the "No maintainers found, printing recent contributors" functionality.
Before:
$ scripts/get_maintainer.pl -f MAINTAINERS
get_maintainer.pl: No maintainers found, printing recent contributors.
get_maintainer.pl: Do not blindly cc: them on patches! Use common sense.Paolo Bonzini <[email protected]> (commit_signer:20/74=27%) Kevin Wolf <[email protected]> (commit_signer:13/74=18%) Stefan Hajnoczi <[email protected]> (commit_signer:13/74=18%) "Michael S. Tsirkin" <[email protected]> (commit_signer:10/74=14%) Peter Maydell <[email protected]> (commit_signer:8/74=11%)
After:
$ scripts/get_maintainer.pl -f MAINTAINERS
[email protected] (open list:All patches CC here)Quoted 49 lines · Markus Armbruster
Quoted 21 lines · Stephen Warren
Add an entry to
MAINTAINERSthat matches every patch, and requests the user send patches to [email protected].It's not 100% obvious to project newcomers that all patches should be sent there; checkpatch doesn't say so, and since it mentions other lists to CC, the wording "the list" from the SubmitAPatch wiki page can be taken to mean only those lists, not the main list too.
The F: entries were taken from a similar entry in the Linux kernel.
Signed-off-by Stephen Warren <[email protected]>--- MAINTAINERS | 5 +++++ 1 file changed, 5 insertions(+)MAINTAINERS +0
-0@@ -52,6 +52,11 @@ General Project Administration ------------------------------MAINTAINERS General Project Administration · line 62
Quoted 10 lines
MAINTAINERS +5
-0M: Peter Maydell <[email protected]> +All patches CC here +L: [email protected] +F: * +F: */ + Responsible Disclosure, Reporting Security Issues ------------------------------ W: http://wiki.qemu.org/SecurityProcessI acknowledge the problem, but your patch breaks the "No maintainers found, printing recent contributors" functionality.
Before:
$ scripts/get_maintainer.pl -f MAINTAINERS get_maintainer.pl: No maintainers found, printing recent contributors. get_maintainer.pl: Do not blindly cc: them on patches! Use common sense.Paolo Bonzini <[email protected]> (commit_signer:20/74=27%) Kevin Wolf <[email protected]> (commit_signer:13/74=18%) Stefan Hajnoczi <[email protected]> (commit_signer:13/74=18%) "Michael S. Tsirkin" <[email protected]> (commit_signer:10/74=14%) Peter Maydell <[email protected]> (commit_signer:8/74=11%)
Quoted 5 lines
After:
$ scripts/get_maintainer.pl -f MAINTAINERS [email protected] (open list:All patches CC here)
Agree ... Might this also break any "unmaintained" scripts we use?
How about:
1) Update the wiki to be clearer on the submission process, and
2) Update the "no contributors found" output to also include the list
to send to?
Quoted 58 lines · John Snow
Quoted 49 lines · Markus Armbruster
Quoted 21 lines · Stephen Warren
Add an entry to
MAINTAINERSthat matches every patch, and requests the user send patches to [email protected].It's not 100% obvious to project newcomers that all patches should be sent there; checkpatch doesn't say so, and since it mentions other lists to CC, the wording "the list" from the SubmitAPatch wiki page can be taken to mean only those lists, not the main list too.
The F: entries were taken from a similar entry in the Linux kernel.
Signed-off-by Stephen Warren <[email protected]>--- MAINTAINERS | 5 +++++ 1 file changed, 5 insertions(+)MAINTAINERS +0
-0@@ -52,6 +52,11 @@ General Project Administration ------------------------------MAINTAINERS General Project Administration · line 62
Quoted 10 lines
MAINTAINERS +5
-0M: Peter Maydell <[email protected]> +All patches CC here +L: [email protected] +F: * +F: */ + Responsible Disclosure, Reporting Security Issues ------------------------------ W: http://wiki.qemu.org/SecurityProcessI acknowledge the problem, but your patch breaks the "No maintainers found, printing recent contributors" functionality.
Before:
$ scripts/get_maintainer.pl -f MAINTAINERS get_maintainer.pl: No maintainers found, printing recent contributors. get_maintainer.pl: Do not blindly cc: them on patches! Use common sense.Paolo Bonzini <[email protected]> (commit_signer:20/74=27%) Kevin Wolf <[email protected]> (commit_signer:13/74=18%) Stefan Hajnoczi <[email protected]> (commit_signer:13/74=18%) "Michael S. Tsirkin" <[email protected]> (commit_signer:10/74=14%) Peter Maydell <[email protected]> (commit_signer:8/74=11%)Quoted 5 lines
After:
$ scripts/get_maintainer.pl -f MAINTAINERS [email protected] (open list:All patches CC here)
Quoted 6 lines
Agree ... Might this also break any "unmaintained" scripts we use?
How about:
1) Update the wiki to be clearer on the submission process, and
2) Update the "no contributors found" output to also include the list
to send to?
My case was that maintainers were found, but the list only included the maintainer (Peter) and the ARM list, but not the main qemu list. So (2) above wouldn't have solved my original issue.
qemu's get_maintainers.pl must be doing something different to the Linux kernel's version then, since IIRC the Linux kernel version always prints out recent contributors irrespective of whether maintainers were found, rather than as an alternative. I think if qemu's get_maintainers.pl acted in that way it would solve the problem my patch caused?
Quoted 5 lines · Stephen Warren
qemu's get_maintainers.pl must be doing something different to the Linux kernel's version then, since IIRC the Linux kernel version always prints out recent contributors irrespective of whether maintainers were found, rather than as an alternative. I think if qemu's get_maintainers.pl acted in that way it would solve the problem my patch caused?
That difference from the kernel script's behaviour is deliberate, because the attempt to list recent contributors tends to list a whole lot of irrelevant people. So if there's a documented maintainer we prefer to just list them, and not all the random other people looking at the git logs drags up. Commit c6561586f0f8586 is where we changed the behaviour of get_maintainer.pl and the commit message has some rationale.
thanks
-- PMM
Quoted 6 lines · Peter Maydell
That difference from the kernel script's behaviour is deliberate, because the attempt to list recent contributors tends to list a whole lot of irrelevant people. So if there's a documented maintainer we prefer to just list them, and not all the random other people looking at the git logs drags up. Commit
c6561586f0f8586is where we changed the behaviour of get_maintainer.pl and the commit message has some rationale.
It should be enough not to check @list_to in the line that commit c6561586f0f8586 adds:
scripts/get_maintainer.pl +1 -1
@@ -636,7 +636,7 @@ sub get_maintainers { if ($email) { if (! $interactive) { - $email_git_fallback = 0 if @email_to > 0 || @list_to > 0 || $email_git || $email_git_blame; + $email_git_fallback = 0 if @email_to > 0 || $email_git || $email_git_blame; if ($email_git_fallback) { print STDERR "get_maintainer.pl: No maintainers found, printing recent contributors.\n"; print STDERR "get_maintainer.pl: Do not blindly cc: them on patches! Use common sense.\n";
I think this makes sense.
Paolo