[PATCH v4 0/2] improve mailmap file
Thomas Monjalon
thomas at monjalon.net
Thu Oct 23 17:25:06 CEST 2025
20/10/2025 16:08, Bruce Richardson:
> The mailmap file in DPDK is not always correctly sorted, and standard
> cmdline sorting tools don't always do the job correctly. To improve
> things, add a new script to devtools for working with the mailmap file,
> to make it easier to add new entries in the correct place, to check the
> file for correctness, and lastly to sort the file in place (hopefully a
> one-off operation).
>
> Once that is done, commit the changes to the mailmap file to ensure it
> is correctly sorted in the repository.
>
> V4: minor changes based on more feedback:
> - sort imports alphabetically
> - remove unused "operations" map
>
> V3:
> * feedback from Robin's review:
> - used builtin type annotations
> - used argparse subparsers and callbacks for individual commands
> * re-sorted latest mailmap in patch 2
>
> V2:
> * address multiple feedback items on V1.
> * fix bug whereby adding an extra actually sorted the whole file
>
> Bruce Richardson (2):
> devtools/mailmap_ctl: script to work with mailmap
> mailmap: sort mailmap
>
> .mailmap | 356 ++++++++++++++++++++--------------------
> devtools/mailmap_ctl.py | 209 +++++++++++++++++++++++
For consistency, it should be named devtools/mailmap-ctl.py
Applied with this minor change, thanks.
More information about the dev
mailing list