Leverage gitmailmap for fixing authors' names #40396
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR gets rid of the custom work for fixing committer/author information to use functionality git already has.
gitmailmap is a built in git functionality for converting the random names/emails that people supply into something more meaningful. This includes correcting the names and email addresses.
There is no associated issue.
To test:
This added the ability to get the authors directly from
tools/DOI/authors.pyand can be run without accidentally creating a DOI. Usetools/DOI/authors.py --helpto find out how to use it and try the two modes. As it says, you need to contact a TWG member (i.e. me) to get the.gitmailmapfile.This does not require release notes* because it modifies how authors are generated for the DOI tool.
Reviewer
Your comments will be used as part of the gatekeeper process. Comment clearly on what you have checked and tested during your review. Provide an audit trail for any changes requested.
As per the review guidelines:
mantid-developersormantid-contributorsteams, add a review commentrerun cito authorize/rerun the CIGatekeeper
As per the gatekeeping guidelines: