git workflow and http://wiki.xenproject.org/wiki/Submitting_Xen_Project_Patches
Hey,
I wanted to ask what folks would think of expanding the Wiki to include (making it a diff for simpler) this change. With my giant 30 set of patches that not only CC-ed xen-devel twice but had some patches CC some maintainers but not others - I figured it may be good to describe this in the Wiki:
new renamed from orig +29 -1
@@ -140,7 +140,35 @@ * The maintainers are listed in the MAINTAINERS file at the top of the Xen source tree. If no maintainer is listed then there is no need for a CC (if you are modifying code with no maintainer then you might like to consider becoming the maintainer for that piece of code!). ** You can pipe your patch to the <code>./scripts/get_maintainer.pl</code> tool and it will list the relevant maintainers. * In addition to CCing the maintainer you should always send patches to (via TO) the [email protected] mailing list as well. -* To add a CC when sending the mail you can use the ''--cc'' option to the ''git send-email'' command, or you can do it manually in your MUA. +* To add a CC when sending the mail you can: + * use the ''--cc'' option to the ''git send-email'' command - however if your + patchset is to multiple maintainers - you may end up sending all of the + patches to all maintainers - where some of them have no interest in + viewing them (as they are not under their responsibility). + * edit each patch to have the proper maintainer on the CC list by adding: +<pre> +CC: [email protected] +</pre> + in the patch. + * or alternatively use --cc-cmd in your .gitconfig: +<pre> +[sendemail] + cc-cmd = scripts/get_maintainer.pl --remove-duplicates --no-l +</pre> +which will automatically add the proper maintainer on the CC line. +The ''no-l'' is to not add the mailing list to the CC (as you would +be adding that via the TO - see above) + * or you can do it manually in your MUA. + +In short, it could look like this: +<pre> +$pwd +/home/joedoe/xen +git send-email --to [email protected] --to [email protected] --compose --subject "[PATCH v1] Fixes to frobnicator." *.patch +</pre> + +Which will send all patches to yourself on the TO, to xen-devel mailiing list (on the TO:) +and the patches will have their CC: list generated based on scripts/get_maintainer.pl. === Providing a git branch ===
Quoted 12 lines · Konrad Rzeszutek Wilk
Hey,
I wanted to ask what folks would think of expanding the Wiki to include (making it a diff for simpler) this change. With my giant 30 set of patches that not only CC-ed xen-devel twice but had some patches CC some maintainers but not others - I figured it may be good to describe this in the Wiki:
new renamed from orig +0
-0@@ -140,7 +140,35 @@ * The maintainers are listed in the MAINTAINERS file at the top of the Xen source tree. If no maintainer is listed then there is no need for a CC (if you are modifying code with no maintainer then you might like to consider becoming the maintainer for that piece of code!). ** You can pipe your patch to the <code>./scripts/get_maintainer.pl</code> tool and it will list the relevant maintainers.
new line 150
Quoted 10 lines
new renamed from orig +8
-1* In addition to CCing the maintainer you should always send patches to (via TO) the [email protected] mailing list as well. -* To add a CC when sending the mail you can use the ''--cc'' option to the ''git send-email'' command, or you can do it manually in your MUA. +* To add a CC when sending the mail you can: + * use the ''--cc'' option to the ''git send-email'' command - however if your + patchset is to multiple maintainers - you may end up sending all of the + patches to all maintainers - where some of them have no interest in + viewing them (as they are not under their responsibility). + * edit each patch to have the proper maintainer on the CC list by adding: +<pre> +CC: [email protected]
andrewcoop@andrewcoop:/local/xen.git/xen$ dig -t ANY doe.com ... ;; AUTHORITY SECTION: doe.com. 3600 IN NS ns52.domaincontrol.com. doe.com. 3600 IN NS ns51.domaincontrol.com.
;; ADDITIONAL SECTION:
ns51.domaincontrol.com. 73514 IN A 216.69.185.26 ns51.domaincontrol.com. 56142 IN AAAA 2607:f208:206::1a
I would use example.com instead.
Otherwise, looks good to me.
~Andrew
Quoted 11 lines · Andrew Cooper
andrewcoop@andrewcoop:/local/xen.git/xen$ dig -t ANY doe.com ... ;; AUTHORITY SECTION: doe.com. 3600 IN NS ns52.domaincontrol.com. doe.com. 3600 IN NS ns51.domaincontrol.com.;; ADDITIONAL SECTION:
ns51.domaincontrol.com. 73514 IN A 216.69.185.26 ns51.domaincontrol.com. 56142 IN AAAA 2607:f208:206::1aI would use example.com instead.
RFC2606 and I agree.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
El 15/2/16 a les 17:00, Konrad Rzeszutek Wilk ha escrit:
Quoted 12 lines
Hey,
I wanted to ask what folks would think of expanding the Wiki to include (making it a diff for simpler) this change. With my giant 30 set of patches that not only CC-ed xen-devel twice but had some patches CC some maintainers but not others - I figured it may be good to describe this in the Wiki:
new renamed from orig +0
-0@@ -140,7 +140,35 @@ * The maintainers are listed in the MAINTAINERS file at the top of the Xen source tree. If no maintainer is listed then there is no need for a CC (if you are modifying code with no maintainer then you might like to consider becoming the maintainer for that piece of code!). ** You can pipe your patch to the <code>./scripts/get_maintainer.pl</code> tool and it will list the relevant maintainers.
new line 150
Quoted 10 lines
new renamed from orig +8
-1* In addition to CCing the maintainer you should always send patches to (via TO) the [email protected] mailing list as well. -* To add a CC when sending the mail you can use the ''--cc'' option to the ''git send-email'' command, or you can do it manually in your MUA. +* To add a CC when sending the mail you can: + * use the ''--cc'' option to the ''git send-email'' command - however if your + patchset is to multiple maintainers - you may end up sending all of the + patches to all maintainers - where some of them have no interest in + viewing them (as they are not under their responsibility). + * edit each patch to have the proper maintainer on the CC list by adding: +<pre> +CC: [email protected]
I'm not a maintainer/committer myself, but since we are spelling this out, I think maintainers/committers prefer that the "Cc:" tags are placed after a "---".
Roger.
Quoted 22 lines
Quoted 1 line
Quoted 1 line · On 15.02.16 at 17:10, <[email protected]> wrote:
El 15/2/16 a les 17:00, Konrad Rzeszutek Wilk ha escrit:
Quoted 3 lines
Hey,
I wanted to ask what folks would think of expanding the Wiki to include
(making it a diff
Quoted 2 lines
for simpler) this change. With my giant 30 set of patches that not only CC-ed xen-devel twice but had some patches CC some maintainers but not others - I
figured
new line 140
Quoted 6 lines
it may be good to describe this in the Wiki:
new renamed from orig +0
-0@@ -140,7 +140,35 @@ * The maintainers are listed in the MAINTAINERS file at the top of the Xensource tree. If no maintainer is listed then there is no need for a CC (if you are modifying code with no maintainer then you might like to consider becoming the maintainer for that piece of code!).
new line 141
Quoted 1 line
new renamed from orig +0
-0** You can pipe your patch to the <code>./scripts/get_maintainer.pl</code> tooland it will list the relevant maintainers.
new line 142
Quoted 1 line
new renamed from orig +0
-0* In addition to CCing the maintainer you should always send patches to(via TO) the [email protected] mailing list as well.
Quoted 13 lines
new line 150
Quoted 9 lines
new renamed from orig +8
-1-* To add a CC when sending the mail you can use the ''--cc'' option to the ''git send-email'' command, or you can do it manually in your MUA. +* To add a CC when sending the mail you can: + * use the ''--cc'' option to the ''git send-email'' command - however if your + patchset is to multiple maintainers - you may end up sending all of the + patches to all maintainers - where some of them have no interest in + viewing them (as they are not under their responsibility). + * edit each patch to have the proper maintainer on the CC list by adding: +<pre> +CC: [email protected]I'm not a maintainer/committer myself, but since we are spelling this out, I think maintainers/committers prefer that the "Cc:" tags are placed after a "---".
While I'm one of those who indeed does, I recall there having been different views (derived from there being different view on whether it is a good idea to retain these Cc-s in what gets committed).
Jan
Quoted 36 lines · Jan Beulich
Quoted 22 lines
Quoted 1 line
Quoted 1 line · On 15.02.16 at 17:10, <[email protected]> wrote:
El 15/2/16 a les 17:00, Konrad Rzeszutek Wilk ha escrit:
Quoted 3 lines
Hey,
I wanted to ask what folks would think of expanding the Wiki to include
(making it a diff
Quoted 2 lines
for simpler) this change. With my giant 30 set of patches that not only CC-ed xen-devel twice but had some patches CC some maintainers but not others - I
figured
new line 140
Quoted 6 lines
it may be good to describe this in the Wiki:
new renamed from orig +0
-0@@ -140,7 +140,35 @@ * The maintainers are listed in the MAINTAINERS file at the top of the Xensource tree. If no maintainer is listed then there is no need for a CC (if you are modifying code with no maintainer then you might like to consider becoming the maintainer for that piece of code!).
new line 141
Quoted 1 line
new renamed from orig +0
-0** You can pipe your patch to the <code>./scripts/get_maintainer.pl</code> tooland it will list the relevant maintainers.
new line 142
Quoted 1 line
new renamed from orig +0
-0* In addition to CCing the maintainer you should always send patches to(via TO) the [email protected] mailing list as well.
Quoted 13 lines
new line 150
Quoted 9 lines
new renamed from orig +8
-1-* To add a CC when sending the mail you can use the ''--cc'' option to the ''git send-email'' command, or you can do it manually in your MUA. +* To add a CC when sending the mail you can: + * use the ''--cc'' option to the ''git send-email'' command - however if your + patchset is to multiple maintainers - you may end up sending all of the + patches to all maintainers - where some of them have no interest in + viewing them (as they are not under their responsibility). + * edit each patch to have the proper maintainer on the CC list by adding: +<pre> +CC: [email protected]I'm not a maintainer/committer myself, but since we are spelling this out, I think maintainers/committers prefer that the "Cc:" tags are placed after a "---".
Quoted 4 lines
While I'm one of those who indeed does, I recall there having been different views (derived from there being different view on whether it is a good idea to retain these Cc-s in what gets committed).
How about:
new renamed from orig +36 -1
@@ -140,7 +140,42 @@ * The maintainers are listed in the MAINTAINERS file at the top of the Xen source tree. If no maintainer is listed then there is no need for a CC (if you are modifying code with no maintainer then you might like to consider becoming the maintainer for that piece of code!). ** You can pipe your patch to the <code>./scripts/get_maintainer.pl</code> tool and it will list the relevant maintainers. * In addition to CCing the maintainer you should always send patches to (via TO) the [email protected] mailing list as well. -* To add a CC when sending the mail you can use the ''--cc'' option to the ''git send-email'' command, or you can do it manually in your MUA. +* To add a CC when sending the mail you can: + * use the ''--cc'' option to the ''git send-email'' command - however if your + patchset is to multiple maintainers - you may end up sending all of the + patches to all maintainers - where some of them have no interest in + viewing them (as they are not under their responsibility) + * edit each patch to have the proper maintainer on the CC list by adding: +<pre> +--- +CC: [email protected] +--- +</pre> + in the patch. The ''---'' means that when the patch is applied the text +in between them is discarded. + * or alternatively use --cc-cmd in your .gitconfig or git-send-email: +<pre> +[sendemail] + cc-cmd = scripts/get_maintainer.pl --no-l +</pre> +or: +<pre> +git send-email --cc-cmd="scripts/get_maintainer.pl +</pre> +which will automatically add the proper maintainer on the CC line. +The ''no-l'' is to not add the mailing list to the CC (as you would +be adding that via the TO - see above) + * or you can do it manually in your MUA. + +In short, it could look like this: +<pre> +$pwd +/home/joe/xen +git send-email --cc-cmd="scripts/get_maintainer.pl --no-l --to [email protected] --to [email protected] --compose --subject "[PATCH v1] Fixes to frobnicator." *.patch +</pre> + +Which will send all patches to yourself on the TO, to xen-devel mailiing list (on the TO:) +and the patches will have their CC: list generated based on scripts/get_maintainer.pl. === Providing a git branch ===
Quoted 15 lines · Konrad Rzeszutek Wilk
Hey,
I wanted to ask what folks would think of expanding the Wiki to include (making it a diff for simpler) this change. With my giant 30 set of patches that not only CC-ed xen-devel twice but had some patches CC some maintainers but not others - I figured it may be good to describe this in the Wiki:
new renamed from orig +1
-1@@ -140,7 +140,35 @@ * The maintainers are listed in the MAINTAINERS file at the top of the Xen source tree. If no maintainer is listed then there is no need for a CC (if you are modifying code with no maintainer then you might like to consider becoming the maintainer for that piece of code!). ** You can pipe your patch to the <code>./scripts/get_maintainer.pl</code> tool and it will list the relevant maintainers. * In addition to CCing the maintainer you should always send patches to (via TO) the [email protected] mailing list as well. -* To add a CC when sending the mail you can use the ''--cc'' option to the ''git send-email'' command, or you can do it manually in your MUA. +* To add a CC when sending the mail you can:
new line 153
Quoted 10 lines
new renamed from orig +10
-0+ * use the ''--cc'' option to the ''git send-email'' command - however if your + patchset is to multiple maintainers - you may end up sending all of the + patches to all maintainers - where some of them have no interest in + viewing them (as they are not under their responsibility). + * edit each patch to have the proper maintainer on the CC list by adding: +<pre> +CC: [email protected] +</pre> + in the patch. + * or alternatively use --cc-cmd in your .gitconfig:
I wouldn't encourage people to put this in their global gitconfig file.
It either needs to be in project local gitconfig .git/config or be spelled out explicitly in command line.
Wei.
Quoted 26 lines
new renamed from orig +18
-0+<pre> +[sendemail] + cc-cmd = scripts/get_maintainer.pl --remove-duplicates --no-l +</pre> +which will automatically add the proper maintainer on the CC line. +The ''no-l'' is to not add the mailing list to the CC (as you would +be adding that via the TO - see above) + * or you can do it manually in your MUA. + +In short, it could look like this: +<pre> +$pwd +/home/joedoe/xen +git send-email --to [email protected] --to [email protected] --compose --subject "[PATCH v1] Fixes to frobnicator." *.patch +</pre> + +Which will send all patches to yourself on the TO, to xen-devel mailiing list (on the TO:) +and the patches will have their CC: list generated based on scripts/get_maintainer.pl. === Providing a git branch ===_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel