ome / omero-scripts

Core OMERO Scripts
https://pypi.org/project/omero-scripts/
12 stars 32 forks source link

Add top-level Git mailmap to normalize commit author variants #208

Closed sbesson closed 1 year ago

sbesson commented 1 year ago

This PR adds a top-level mapping file allowing to normalize commits from the same contributor and associate all commits to a canonical "First Name Last Name " author line.

The following rules are used for the construction of the .mailmap file:

The .mailmap is constructed according to the official documentation using one of the two forms:

Proper Name <proper@email.xx> <commit@email.xx>

for mapping different email addresses and

Proper Name <proper@email.xx> Commit Name <commit@email.xx>

for mapping different real names.

The unique list of commit authors can be generated and reviewing using git shortlog -se See also https://github.com/ome/openmicroscopy/pull/6349, https://github.com/ome/bioformats/pull/4026, https://github.com/ome/omero-web/pull/482 and https://github.com/ome/omero-py/pull/375