Julian Hyde created CALCITE-6125:
------------------------------------

             Summary: Automate generation of contributor names in release notes
                 Key: CALCITE-6125
                 URL: https://issues.apache.org/jira/browse/CALCITE-6125
             Project: Calcite
          Issue Type: Improvement
            Reporter: Julian Hyde


Automate generation of contributor names in release notes. Currently the 
process requires manual effort because people do not use their real name in the 
author field of their git commit.

For example, consider generating the list for release 1.32.0. Here is a rough 
process:
{noformat}
$ git log calcite-1.31.0..calcite-1.32.0 | egrep 'Author:|Co-authored-by:' | 
sort -u
Author: Alessandro Solimando <[email protected]>
Author: almansour <[email protected]>
Author: Andrei Sereda <[email protected]>
Author: Benchao Li <[email protected]>
Author: Bertil Chapuis <[email protected]>
Author: chunwei.lcw <[email protected]>
Author: dssysolyatin <[email protected]>
Author: Julian Hyde <[email protected]>
Author: lincoln.lil <[email protected]>
Author: rubenada <[email protected]>
Author: strongduanmu <[email protected]>
Author: TJ Banghart <[email protected]>
Author: wumou.wm <[email protected]>
Author: xiejiajun <[email protected]>
    Co-authored-by: David Handermann <[email protected]>
{noformat}

If we add a [git mailmap file|https://git-scm.com/docs/gitmailmap], 
{{.mailmap}}, we can translate some of the names 'lincolon.lil' to 'Lincoln 
Lee' and 'wumou.wm' to 'Mou Wu':

{noformat}
$ git log calcite-1.31.0..calcite-1.32.0 |egrep 'Author:|Co-authored-by:' |sort 
-u
Author: Alessandro Solimando <[email protected]>
Author: Ali Mansour <[email protected]>
Author: Andrei Sereda <[email protected]>
Author: Benchao Li <[email protected]>
Author: Bertil Chapuis <[email protected]>
Author: chunwei.lcw <[email protected]>
Author: dssysolyatin <[email protected]>
Author: Jiajun Xie <[email protected]>
Author: Julian Hyde <[email protected]>
Author: Lincoln Lee <[email protected]>
Author: Mou Wu <[email protected]>
Author: Ruben Quesada Lopez <[email protected]>
Author: TJ Banghart <[email protected]>
Author: Zhengqiang Duan <[email protected]>
    Co-authored-by: David Handermann <[email protected]>
{noformat}

I propose to add a mailmap file, and change the release process so that the 
release manager must modify the mailmap to achieve the right names in the 
release notes (not edit the names manually).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to