Re: [PATCH net-next] docs: netdev: add note about Changes Requested and revising commit messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 3/22/23 16:12, Jakub Kicinski wrote:
> One of the most commonly asked questions is "I answered all questions
> and don't need to make any code changes, why was the patch not applied".
> Document our time honored tradition of asking people to repost with
> improved commit messages, to record the answers to reviewer questions.
> 
> Take this opportunity to also recommend a change log format.
> 
> Signed-off-by: Jakub Kicinski <kuba@xxxxxxxxxx>
> ---
> I couldn't come up with a real example of the commit message.
> LMK if the fake one is too silly :)

FWIW I like it.

> 
> CC: sean.anderson@xxxxxxxx
> CC: corbet@xxxxxxx
> CC: linux-doc@xxxxxxxxxxxxxxx
> ---
>  Documentation/process/maintainer-netdev.rst | 29 +++++++++++++++++++++
>  1 file changed, 29 insertions(+)
> 
> diff --git a/Documentation/process/maintainer-netdev.rst b/Documentation/process/maintainer-netdev.rst
> index 4a75686d35ab..4d109d92f40d 100644
> --- a/Documentation/process/maintainer-netdev.rst
> +++ b/Documentation/process/maintainer-netdev.rst
> @@ -109,6 +109,8 @@ Finally, the vX.Y gets released, and the whole cycle starts over.
>  netdev patch review
>  -------------------
>  
> +.. _patch_status:
> +
>  Patch status
>  ~~~~~~~~~~~~
>  
> @@ -143,6 +145,33 @@ Asking the maintainer for status updates on your
>  patch is a good way to ensure your patch is ignored or pushed to the
>  bottom of the priority list.
>  
> +Changes requested
> +~~~~~~~~~~~~~~~~~
> +
> +Patches :ref:`marked<patch_status>` as ``Changes Requested`` need
> +to be revised. The new version should come with a change log,
> +preferably including links to previous postings, for example::
> +
> +  [PATCH net-next v3] net: make cows go moo
> +
> +  Even users who don't drink milk appreciate hearing the cows go "moo".
> +
> +  The amount of mooing will depend on packet rate so should match
> +  the diurnal cycle quite well.
> +
> +  Signed-of-by: Joe Defarmer <joe@xxxxxxxx>
> +  ---
> +  v3:
> +    - add a note about time-of-day mooing fluctuation to the commit message
> +  v2: https://lore.kernel.org/netdev/123themessageid@xxxxxxxx/
> +    - fix missing argument in kernel doc for netif_is_bovine()
> +    - fix memory leak in netdev_register_cow()
> +  v1: https://lore.kernel.org/netdev/456getstheclicks@xxxxxxxx/
> +
> +Commit message should be revised to answer any questions reviewers

The commit message should be

> +had to ask in previous discussions. Occasionally the update of

asked in previous discussions.

> +the commit message will be the only change in the new version.
> +
>  Partial resends
>  ~~~~~~~~~~~~~~~
>  

-- 
~Randy



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux