ome / omero-insight

Gradle project containing insight java client for OMERO
https://www.openmicroscopy.org/omero/
GNU General Public License v2.0
7 stars 14 forks source link

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

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, https://github.com/ome/omero-py/pull/375 and https://github.com/ome/omero-scripts/pull/208