Petr Hosek via llvm-dev
2020-Jan-31 22:46 UTC
[llvm-dev] Sending bot emails to both Git authors and committers
When committing changes on behalf of other contributors, I've started setting the author in Git to be the change author. I think that's better for attribution than just including "Patch By: username" in the message which is default for arc, especially now that we're finally using Git. However, I've noticed that when the change breaks bots, emails are sent only to the author, not the committer. I think that's counterintuitive because the author in these cases doesn't even have permission to revert the change (otherwise they would have pushed the change themselves). Can we modify bot notifications to either send the email to committer or (preferably) both? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200131/92462010/attachment.html>
Johannes Doerfert via llvm-dev
2020-Jan-31 22:48 UTC
[llvm-dev] Sending bot emails to both Git authors and committers
On 01/31, Petr Hosek via llvm-dev wrote:> Can we modify bot notifications to either send the email to committer or > (preferably) both?+1 for both. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200131/1f900d95/attachment.sig>
Aaron Ballman via llvm-dev
2020-Jan-31 22:49 UTC
[llvm-dev] Sending bot emails to both Git authors and committers
+1 for both as well On Fri, Jan 31, 2020, 5:48 PM Johannes Doerfert via llvm-dev < llvm-dev at lists.llvm.org> wrote:> On 01/31, Petr Hosek via llvm-dev wrote: > > Can we modify bot notifications to either send the email to committer or > > (preferably) both? > > +1 for both. > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200131/bfa131ad/attachment.html>
Daniel Sanders via llvm-dev
2020-Feb-07 01:19 UTC
[llvm-dev] Sending bot emails to both Git authors and committers
> On Jan 31, 2020, at 14:46, Petr Hosek via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > When committing changes on behalf of other contributors, I've started setting the author in Git to be the change author. I think that's better for attribution than just including "Patch By: username" in the message which is default for arc, especially now that we're finally using Git.We changed the policy to use the Committer and Author fields correctly a little while back. https://llvm.org/docs/DeveloperPolicy.html#commit-messages <https://llvm.org/docs/DeveloperPolicy.html#commit-messages> (it's the second bullet point).> However, I've noticed that when the change breaks bots, emails are sent only to the author, not the committer. I think that's counterintuitive because the author in these cases doesn't even have permission to revert the change (otherwise they would have pushed the change themselves). > > Can we modify bot notifications to either send the email to committer or (preferably) both?+1. It looks like we might need a fairly big update to buildbot though (unless we do it ourselves). We're on 0.85 and (based on a quick look) it seems some of the groundwork went into buildbot last year: https://github.com/buildbot/buildbot/pull/4841 <https://github.com/buildbot/buildbot/pull/4841> (Add committer field to changes). Based on the date, we probably need buildbot 2.4.0> _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200206/a33c2eb0/attachment.html>