All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alison Schofield <alison.schofield@intel.com>
To: Karolina Drobnik <karolinadrobnik@gmail.com>
Cc: Outreachy Linux Kernel <outreachy-kernel@googlegroups.com>
Subject: Re: [Outreachy kernel] Help maintain the First Patch Tutorial
Date: Mon, 18 Oct 2021 10:54:20 -0700	[thread overview]
Message-ID: <20211018175420.GA446414@alison-desk> (raw)
In-Reply-To: <c924b4477fa4067b040e9a0d72af3d8eeb882a98.camel@gmail.com>

On Mon, Oct 18, 2021 at 10:59:42AM +0100, Karolina Drobnik wrote:
> Hi Alison,
> 
> I updated the `get_maintainer.pl` code section and split it up a bit,
> hope it's fine. Additionally, I decided to extract the note on
> `vc04_services` so it's more visible and add a comment on including the
> outreachy list (as a reminder).
> 
> One thing - should I use double-spaces while editing this wiki? I see
> they're used there, I added some in but I wouldn't be surprised if I
> missed some.

Is that the double spaces between sentences you are referring too?
HA HA - that shows that this writing is dated, because double space
between sentences, use to be the standard, but is not anymore ;)

As you change things, certainly get rid of those.

> 
> Please let me know what do you think about these changes.
> 
> 
> Thanks,
> Karolina
> 
> ----------------------------------------------------------------------
> 
> <<Anchor(submit_a_patch)>>
> = Submit a patch =
> 
> The first step to sending a patch is to figure out who to send it to. 
> For this, you need to find the maintainer of the code you're patching,
> and Cc the correct mailing list.  If you simply send it off to LKML, it
> will get ignored. 

Perhaps explain what LKML is, include it's full address.


> The perl script in the kernel source directory
> ``scripts/get_maintainer.pl`` will either take a git commit or a file,
> and tell you who to send your patch to:
> 
> {{{
> $ git show --pretty=oneline --abbrev-commit HEAD
> a490e2e84eda staging: vt6655: Rename byPreambleType field
> diff --git a/drivers/staging/vt6655/baseband.c
> b/drivers/staging/vt6655/baseband.c
> index 0bae35af6e0f..5efca92f1f18 100644
> --- a/drivers/staging/vt6655/baseband.c
> +++ b/drivers/staging/vt6655/baseband.c
> @@ -1764,7 +1764,7 @@ void vnt_get_phy_field(struct vnt_private *priv,
> u32 frame_length,
>         u32 count = 0;
>         u32 tmp;
>         int ext_bit;
> -       u8 preamble_type = priv->byPreambleType;
> +       u8 preamble_type = priv->preamble_type;
>  
>         bit_count = frame_length * 8;
>         ext_bit = false;
> 
> $ git show HEAD | perl scripts/get_maintainer.pl --separator , --
> nokeywords --nogit --nogit-fallback --norolestats
> Forest Bond <forest@alittletooquiet.net>,Greg Kroah-Hartman
> <gregkh@linuxfoundation.org>,linux-staging@lists.linux.dev,linux-kernel@vger.kernel.org
> }}}
> 
> It is also possible to get a list of maintainers for a particular file
> (`-f` option):
> 
> {{{
> $ perl scripts/get_maintainer.pl --separator , --nokeywords --nogit --
> nogit-fallback --norolestats -f drivers/staging/vt6655/baseband.c 
> Forest Bond <forest@alittletooquiet.net>,Greg Kroah-Hartman
> <gregkh@linuxfoundation.org>,linux-staging@lists.linux.dev,linux-kernel@vger.kernel.org
> }}}
> 
> The many arguments to get_maintainer.pl cause the output to be in the
> form of a comma-separated list and cause only the actual maintainers of
> the affected files to be included. However, for IIO drivers, please
> also include linux-iio@vger.kernel.org.  For Outreachy patches,
> remember to include the outreachy mailing list in your `To:` field as
> well.
> 
> '''Important:''' The maintainers of staging/vc04_services would prefer

I think I'm going to pounce on the word 'prefer' and say not to include
this comment. I don't get the inconvenience of Outreachy patches for
2 contribution periods (2 months) per year, to warrant a special case,
when a mail filter could achieve same result.

FYI: Outreachy use to not send patches to maintainers during Outreachy,
but changed that policy after maintainers asked for visibility into
all patches, even though it was GregKH that was the one applying them.

> '''not''' to be CCd on Outreachy patches. Please CC Greg explicitly on
> these patches: Greg KH <gregkh@linuxfoundation.org>.

wrt GregKH - 
If the code is in drivers/staging, I believe gregkh automatically
sees all patches because the patches go to linux-staging list.
Is there really a need to do special handling with GregKH?

> 
> The second step to submitting a patch is to create and send a patch as
> an email.  You cannot send patches as attachments to the mailing list.
> Instead, you will have to craft a special email, and send the patch
> inline.
> 
> There are two ways to send a patch.  Either way is correct, and we
> suggest you get comfortable with sending patches both ways.  We suggest
> sending your first patch to yourself, in order to make sure it works.
> 



> -- 
> You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/c924b4477fa4067b040e9a0d72af3d8eeb882a98.camel%40gmail.com.


  parent reply	other threads:[~2021-10-18 17:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-14 17:42 Help maintain the First Patch Tutorial Alison Schofield
2021-10-18  9:59 ` [Outreachy kernel] " Karolina Drobnik
2021-10-18 10:12   ` Julia Lawall
2021-10-18 14:01     ` Karolina Drobnik
2021-10-18 14:18       ` Julia Lawall
2021-10-18 17:54   ` Alison Schofield [this message]
2021-10-19  6:19     ` Greg KH
2021-10-19 15:36       ` Alison Schofield
2021-10-19 15:52         ` Greg KH
2021-10-20 13:00         ` Karolina Drobnik
2021-10-20 14:50           ` Alison Schofield
2021-10-19  9:01     ` Karolina Drobnik
2021-10-19  9:04       ` Julia Lawall
2021-10-25 11:44 ` Karolina Drobnik
2021-10-25 16:30   ` Alison Schofield
2021-10-26 12:33     ` Karolina Drobnik
2021-10-27 14:48     ` Karolina Drobnik
2021-10-27 19:20       ` Alison Schofield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211018175420.GA446414@alison-desk \
    --to=alison.schofield@intel.com \
    --cc=karolinadrobnik@gmail.com \
    --cc=outreachy-kernel@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.