mglaman/drupal-mrn

Add committers as contributors

DieterHolvoet opened this issue · 3 comments

Commit authors should be listed as contributor. If you create a release where no issue was fixed, but where a bunch of things were committed straight to the repository, the release notes currently list zero contributors.

@DieterHolvoet so this is intended to parse commit messages per the Drupal.org format. If we cannot find Issue # by Z, Y: we should instead pull the commit authorand say AUTHOR: COMMIT_MESSAGE?

Yeah, I think that makes sense

I started to look at this. One problem is that the API returns the author and 'committers'' name and email as provided by Git, not their GitLab username. In all cases I checked, I'd end up with a full name ("Matt Glaman") and my email address, not my username.

It is possible to search https://git.drupalcode.org/api/v4/users?search= with the full name and find a username.