doc: remove confusing command to send patch
PATCH 1/1 doc: remove confusing command to send patch
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
--- doc/guides/contributing/patches.rst | 4 ---- 1 file changed, 4 deletions(-)
doc/guides/contributing/patches.rst +0 -4
@@ -561,10 +561,6 @@ Script ``get-maintainer.sh`` can be used to select maintainers automatically:: git send-email --to-cmd ./devtools/get-maintainer.sh --cc [email protected] 000*.patch -New additions can be sent without a maintainer:: - - git send-email --to [email protected] 000*.patch - You can test the emails by sending it to yourself or with the ``--dry-run`` option. If the patch is in relation to a previous email thread you can add it to the same thread using the Message ID::
Signature · 1 line
2.42.0
Quoted 27 lines · Thomas Monjalon
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>--- doc/guides/contributing/patches.rst | 4 ---- 1 file changed, 4 deletions(-)doc/guides/contributing/patches.rst +0
-4@@ -561,10 +561,6 @@ Script ``get-maintainer.sh`` can be used to select maintainers automatically:: git send-email --to-cmd ./devtools/get-maintainer.sh --cc [email protected] 000*.patch -New additions can be sent without a maintainer:: - - git send-email --to [email protected] 000*.patch - You can test the emails by sending it to yourself or with the ``--dry-run`` option. If the patch is in relation to a previous email thread you can add it to the same thread using the Message ID::
Quoted 8 lines · Thomas Monjalon
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>
I agree Cc: maintainers should be the default / recommended way of sending patches.
Just to convince myself, adding some meson skeleton for a "plop" library, adding an entry in the release notes and hooking in lib/meson.build:
$ git show --stat doc/guides/rel_notes/release_23_11.rst | 4 ++++ lib/meson.build | 1 + lib/plop/meson.build | 2 ++
$ ./devtools/get-maintainer.sh 0001-new-awesome-library.patch
In this case, it translates to an empty To: list if you follow the example command line:
git send-email --to-cmd ./devtools/get-maintainer.sh --cc
[email protected] 000*.patch
We could add a default list of recipients if no maintainer is found by the script.
And the next question is who should be in that list..
Signature · 1 line
David Marchand
11/10/2023 09:30, David Marchand:
Quoted 23 lines · Thomas Monjalon
Quoted 8 lines
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>I agree Cc: maintainers should be the default / recommended way of sending patches.
Just to convince myself, adding some meson skeleton for a "plop" library, adding an entry in the release notes and hooking in
lib/meson.build:$ git show --stat doc/guides/rel_notes/release_23_11.rst | 4 ++++ lib/meson.build | 1 + lib/plop/meson.build | 2 ++$ ./devtools/get-maintainer.sh 0001-new-awesome-library.patch
Quoted 8 lines
In this case, it translates to an empty To: list if you follow the example command line:
git send-email --to-cmd ./devtools/get-maintainer.sh --cc[email protected] 000*.patch
We could add a default list of recipients if no maintainer is found by the script.
And the next question is who should be in that list..
Or we can send to [email protected], Cc maintainers.
This is what I do:
git send-email --to [email protected] --cc-cmd devtools/get-maintainer.sh
Quoted 29 lines · Thomas Monjalon
11/10/2023 09:30, David Marchand:
Quoted 28 lines · Thomas Monjalon
Quoted 8 lines
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>I agree Cc: maintainers should be the default / recommended way of sending patches.
Just to convince myself, adding some meson skeleton for a "plop" library, adding an entry in the release notes and hooking in
lib/meson.build:$ git show --stat doc/guides/rel_notes/release_23_11.rst | 4 ++++ lib/meson.build | 1 + lib/plop/meson.build | 2 ++$ ./devtools/get-maintainer.sh 0001-new-awesome-library.patchIn this case, it translates to an empty To: list if you follow the example command line:
git send-email --to-cmd ./devtools/get-maintainer.sh --cc[email protected] 000*.patch
Quoted 8 lines
Quoted 3 lines
We could add a default list of recipients if no maintainer is found by the script.
And the next question is who should be in that list..Or we can send to [email protected], Cc maintainers.
This is what I do:
git send-email --to [email protected] --cc-cmddevtools/get-maintainer.sh
+1 for this, mainly on the basis of it being what I do too! :-)
Quoted 34 lines · Bruce Richardson
Quoted 33 lines · Thomas Monjalon
11/10/2023 09:30, David Marchand:
Quoted 31 lines · Thomas Monjalon
Quoted 8 lines
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>I agree Cc: maintainers should be the default / recommended way of sending patches.
Just to convince myself, adding some meson skeleton for a "plop" library, adding an entry in the release notes and hooking in
lib/meson.build:$ git show --stat doc/guides/rel_notes/release_23_11.rst | 4 ++++ lib/meson.build | 1 + lib/plop/meson.build | 2 ++$ ./devtools/get-maintainer.sh 0001-new-awesome-library.patchIn this case, it translates to an empty To: list if you follow the example command line:
git send-email --to-cmd ./devtools/get-maintainer.sh --cc[email protected] 000*.patch
We could add a default list of recipients if no maintainer is found by the script.
And the next question is who should be in that list..
Quoted 6 lines
Quoted 4 lines
Or we can send to [email protected], Cc maintainers.
This is what I do:
git send-email --to [email protected] --cc-cmddevtools/get-maintainer.sh+1 for this, mainly on the basis of it being what I do too! :-)
I am for "--to-cmd=./devtools/get-maintainer.sh --cc [email protected]"
To highlight response is expected from the maintainers, and community is informed.
Also people may have filters to give higher priority to emails they are in 'to' list, high priority is what we want from maintainers :)
11/10/2023 10:41, Ferruh Yigit:
Quoted 42 lines · Bruce Richardson
Quoted 34 lines · Thomas Monjalon
Quoted 33 lines
11/10/2023 09:30, David Marchand:
Quoted 31 lines · Thomas Monjalon
Quoted 8 lines
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>I agree Cc: maintainers should be the default / recommended way of sending patches.
Just to convince myself, adding some meson skeleton for a "plop" library, adding an entry in the release notes and hooking in
lib/meson.build:$ git show --stat doc/guides/rel_notes/release_23_11.rst | 4 ++++ lib/meson.build | 1 + lib/plop/meson.build | 2 ++$ ./devtools/get-maintainer.sh 0001-new-awesome-library.patchIn this case, it translates to an empty To: list if you follow the example command line:
git send-email --to-cmd ./devtools/get-maintainer.sh --cc[email protected] 000*.patch
We could add a default list of recipients if no maintainer is found by the script.
And the next question is who should be in that list..Quoted 6 lines
Quoted 4 lines
Or we can send to [email protected], Cc maintainers.
This is what I do:
git send-email --to [email protected] --cc-cmddevtools/get-maintainer.sh+1 for this, mainly on the basis of it being what I do too! :-)
Quoted 7 lines
I am for "--to-cmd=./devtools/get-maintainer.sh --cc [email protected]"
To highlight response is expected from the maintainers, and community is informed.
Also people may have filters to give higher priority to emails they are in 'to' list, high priority is what we want from maintainers :)
They should give high priority when they are Cc as well.
The problem is that we may have patches with empty "To", especially for cover letters and new libs.
Quoted 48 lines · Thomas Monjalon
11/10/2023 10:41, Ferruh Yigit:
Quoted 47 lines · Bruce Richardson
Quoted 34 lines · Thomas Monjalon
Quoted 33 lines
11/10/2023 09:30, David Marchand:
Quoted 31 lines · Thomas Monjalon
Quoted 8 lines
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>I agree Cc: maintainers should be the default / recommended way of sending patches.
Just to convince myself, adding some meson skeleton for a "plop" library, adding an entry in the release notes and hooking in
lib/meson.build:$ git show --stat doc/guides/rel_notes/release_23_11.rst | 4 ++++ lib/meson.build | 1 + lib/plop/meson.build | 2 ++$ ./devtools/get-maintainer.sh 0001-new-awesome-library.patchIn this case, it translates to an empty To: list if you follow the example command line:
git send-email --to-cmd ./devtools/get-maintainer.sh --cc[email protected] 000*.patch
We could add a default list of recipients if no maintainer is found by the script.
And the next question is who should be in that list..Quoted 6 lines
Quoted 4 lines
Or we can send to [email protected], Cc maintainers.
This is what I do:
git send-email --to [email protected] --cc-cmddevtools/get-maintainer.sh+1 for this, mainly on the basis of it being what I do too! :-)
I am for "--to-cmd=./devtools/get-maintainer.sh --cc [email protected]"
To highlight response is expected from the maintainers, and community is informed.
Quoted 8 lines
Quoted 2 lines
Also people may have filters to give higher priority to emails they are in 'to' list, high priority is what we want from maintainers :)
They should give high priority when they are Cc as well.
The problem is that we may have patches with empty "To", especially for cover letters and new libs.
There are indeed, for those cases I am putting 'dev' to "To:".
11/10/2023 12:22, Ferruh Yigit:
Quoted 52 lines · Thomas Monjalon
Quoted 51 lines
11/10/2023 10:41, Ferruh Yigit:
Quoted 49 lines · Bruce Richardson
Quoted 34 lines · Thomas Monjalon
Quoted 33 lines
11/10/2023 09:30, David Marchand:
Quoted 31 lines · Thomas Monjalon
Quoted 8 lines
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>I agree Cc: maintainers should be the default / recommended way of sending patches.
Just to convince myself, adding some meson skeleton for a "plop" library, adding an entry in the release notes and hooking in
lib/meson.build:$ git show --stat doc/guides/rel_notes/release_23_11.rst | 4 ++++ lib/meson.build | 1 + lib/plop/meson.build | 2 ++$ ./devtools/get-maintainer.sh 0001-new-awesome-library.patchIn this case, it translates to an empty To: list if you follow the example command line:
git send-email --to-cmd ./devtools/get-maintainer.sh --cc[email protected] 000*.patch
We could add a default list of recipients if no maintainer is found by the script.
And the next question is who should be in that list..Quoted 6 lines
Quoted 4 lines
Or we can send to [email protected], Cc maintainers.
This is what I do:
git send-email --to [email protected] --cc-cmddevtools/get-maintainer.sh+1 for this, mainly on the basis of it being what I do too! :-)
I am for "--to-cmd=./devtools/get-maintainer.sh --cc [email protected]"
To highlight response is expected from the maintainers, and community is informed.
Also people may have filters to give higher priority to emails they are in 'to' list, high priority is what we want from maintainers :)
Quoted 6 lines
Quoted 4 lines
They should give high priority when they are Cc as well.
The problem is that we may have patches with empty "To", especially for cover letters and new libs.
There are indeed, for those cases I am putting 'dev' to "To:".
So it would be simpler to recommend a single method with maintainers as Cc.
Quoted 5 lines · On Wed, 11 Oct 2023 09:30:23 +0100 Bruce Richardson…
Quoted 4 lines
Or we can send to [email protected], Cc maintainers.
This is what I do:
git send-email --to [email protected] --cc-cmddevtools/get-maintainer.sh+1 for this, mainly on the basis of it being what I do too! :-)
Ditto.
Maybe would be good to have alias or wrapper script?
11/10/2023 17:52, Stephen Hemminger:
Quoted 11 lines
Quoted 5 lines · On Wed, 11 Oct 2023 09:30:23 +0100 Bruce Richardson…
Quoted 4 lines
Or we can send to [email protected], Cc maintainers.
This is what I do:
git send-email --to [email protected] --cc-cmddevtools/get-maintainer.sh+1 for this, mainly on the basis of it being what I do too! :-)
Ditto.
Maybe would be good to have alias or wrapper script?
I am convinced we should have an interactive script to send patches. I could make something using this tool:
https://github.com/tmonjalo/choose
Quoted 16 lines · On Tue, 10 Oct 2023 18:26:35 +0200 Thomas Monjalon <[email protected]> wrote:
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>--- doc/guides/contributing/patches.rst | 4 ---- 1 file changed, 4 deletions(-)doc/guides/contributing/patches.rst +0
-0
doc/guides/contributing/patches.rst Script ``get-maintainer.sh`` can be used to select maintainers automatically:: · line 566
Quoted 10 lines
doc/guides/contributing/patches.rst +0
-4@@ -561,10 +561,6 @@ Script ``get-maintainer.sh`` can be used to select maintainers automatically:: git send-email --to-cmd ./devtools/get-maintainer.sh --cc [email protected] 000*.patch -New additions can be sent without a maintainer:: - - git send-email --to [email protected] 000*.patch - You can test the emails by sending it to yourself or with the ``--dry-run`` option. If the patch is in relation to a previous email thread you can add it to the same thread using the Message ID::
10/10/2023 18:26, Thomas Monjalon:
Quoted 7 lines
In the contributor guide, it was said that no need to Cc maintainers for new additions, probably for new directories not having a maintainer. There is no harm, and it is a good habit, to always Cc maintainers.
Remove this case as it can mislead to not Cc maintainers when needed.
Signed-off-by Thomas Monjalon <[email protected]>
There was a discussion about this patch but no better solution, so applied to avoid confusion.