Outreachy PATCHES To: Cc:
Hi all,
(I know...tl;dr ;))
This has popped up in a couple of email threads and Karolina has offered to update the First Patch Tutorial. It has some outdated comments.
The short answer is that applicants send all patches:
To: [email protected]
Cc: The *key* individuals and all the lists derived from get_maintainers.pl
Do not exclude any individual or list that this patch would have gone to, had it not been in Outreachy. We only add the Outreachy list.
I don't know what the presiding thoughts are about including LKML ([email protected]). I recall it being always included, but now I see it left out frequently, not just by Outreachy. (Today, I don't care and I wouldn't NAK a patch either way, but if someone has an official position - let us know.)
How do you get the *key* individuals and list out of get_maintainers.pl?
Familiarize yourself with the get_maintainers.pl options. Play around with it a bit. Try to avoid taking someone else's format, feeding it to git send-email (and hope it works OK) That's my advice for most of the tips and tricks you will receive. Make sure you do it the hard way first, ie manually try things out, before adopting someone elses bundle of scripts.
Having said that - Karolina will update the tutorial with a good example usage, and here's an example below of trying out the get_maintainers.pl options to get a 'CC list.
Refer to: perl scripts/get_maintainer.pl --help
For drivers/staging/vt6655/baseband.c
1) No options:
$ perl scripts/get_maintainer.pl -f drivers/staging/vt6655/baseband.c
Forest Bond <[email protected]> (odd fixer:STAGING - VIA VT665X DRIVERS)
Greg Kroah-Hartman <[email protected]> (supporter:STAGING SUBSYSTEM,commit_signer:3/3=100%) Madhumitha Prabakaran <[email protected]> (commit_signer:1/3=33%,authored:1/3=33%,added_lines:3/5=60%,removed_lines:3/7=43%) Lucas Henneman <[email protected]> (commit_signer:1/3=33%,authored:1/3=33%,removed_lines:2/7=29%) Yujia Qiao <[email protected]> (commit_signer:1/3=33%,authored:1/3=33%,added_lines:2/5=40%,removed_lines:2/7=29%) [email protected] (open list:STAGING SUBSYSTEM)
[email protected] (open list)
It is giving me everyone who has committed, they are not necessarily maintainers or reviewers. And, if they are indeed interested in watching the changes in this file, they'll be on its mailing list.
2) Options --nogit-faillback (Get rid of all those commit-signers)
$ perl scripts/get_maintainer.pl --nogit-fallback -f drivers/staging/vt6655/baseband.c Forest Bond <[email protected]> (odd fixer:STAGING - VIA VT665X DRIVERS) Greg Kroah-Hartman <[email protected]> (supporter:STAGING SUBSYSTEM) [email protected] (open list:STAGING SUBSYSTEM) [email protected] (open list)
Getting cleaner, now let's get rid of the rolestats.
3) Options --nogit-faillback --norolestats
$ perl scripts/get_maintainer.pl --nogit-fallback --no-rolestats -f drivers/staging/vt6655/baseband.c Forest Bond <[email protected]> Greg Kroah-Hartman <[email protected]> [email protected] [email protected]
BINGO - That's a good list. What about the other options suggested for get_maintainers.pl? Left as an exercise for the user. Use the help of the get_maintainer.pl.
You are welcome to ask for help on this list if you are unsure of your CC list. And, if you make a mistake, there is always a [PATCH v#] where you can fix it up.
Alison