You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2023/11/17 19:00:00 UTC

[jira] [Created] (CALCITE-6125) Automate generation of contributor names in release notes

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 <al...@gmail.com>
Author: almansour <Al...@murex.com>
Author: Andrei Sereda <25...@users.noreply.github.com>
Author: Benchao Li <li...@gmail.com>
Author: Bertil Chapuis <bc...@gmail.com>
Author: chunwei.lcw <ch...@gmail.com>
Author: dssysolyatin <dm...@gmail.com>
Author: Julian Hyde <jh...@apache.org>
Author: lincoln.lil <li...@alibaba-inc.com>
Author: rubenada <ru...@gmail.com>
Author: strongduanmu <du...@apache.org>
Author: TJ Banghart <tj...@google.com>
Author: wumou.wm <wu...@alibaba-inc.com>
Author: xiejiajun <ji...@foxmail.com>
    Co-authored-by: David Handermann <ex...@apache.org>
{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 <al...@gmail.com>
Author: Ali Mansour <Al...@murex.com>
Author: Andrei Sereda <25...@users.noreply.github.com>
Author: Benchao Li <li...@gmail.com>
Author: Bertil Chapuis <bc...@gmail.com>
Author: chunwei.lcw <ch...@gmail.com>
Author: dssysolyatin <dm...@gmail.com>
Author: Jiajun Xie <ji...@foxmail.com>
Author: Julian Hyde <jh...@apache.org>
Author: Lincoln Lee <li...@alibaba-inc.com>
Author: Mou Wu <wu...@alibaba-inc.com>
Author: Ruben Quesada Lopez <ru...@gmail.com>
Author: TJ Banghart <tj...@google.com>
Author: Zhengqiang Duan <du...@apache.org>
    Co-authored-by: David Handermann <ex...@apache.org>
{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)