-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
The "Send separate e-mails to individuals who broke the build" option sends emails to the commit's committers. However, there are cases when it's better to send emails to the commit's authors instead.
We use Gerrit for hosting our Git repositories and its workflow consists in pushing commits to pseudo-branches for review. After the commits have been approved they are submitted (integrated) automatically into the real branch, but this action is performed by Gerrit which may have to rebase the original commit in order to be able to tuck it on top of the current branch's HEAD. In these cases, the actual commit's committer becomes an administrative user. In our case we configured it to be a user called gerrit with an email like gerrit@ourdomain.com.
So, for these commits it doesn's work to send notifications to the commit's committer. They should be sent to the commit's author instead.
What I propose is that there should exist another configuration option where we could specify a list of emails (a Regexp would also do). If the committer's email matches one of the emails specified, then the notifications should be sent to the commit's author instead.
This option should be subordinated to the "Send separate e-mails to individuals who broke the build" option.
I just knew that Gerrit's latest version incorporated this fix which should preserve the commit's committer when performing an automatic rebase. With this (I'm not using the latest version yet) I think this proposal loses its appeal.
Should I close the issue myself? I'm not sure which resolution to choose...