[core-workflow] GitHub reviews comments on b.p.o

Anish Shah shah.anish07 at gmail.com
Wed Jul 27 16:00:09 EDT 2016


Hello everyone,

I'm working on GitHub integration as a part of GSoC. One of my tasks was to
show GitHub review comments on b.p.o.

Here is how I did it :-
I wrote a handler to handle GitHub PR review/diff comments event using
webhooks. If a b.p.o issue is linked to a PR, then it checks if any
"GitHub" comment was added in last "X" minutes. If no GitHub comments were
added, then it adds that comment to the linked issue. This way there will
be fewer emails and also developers who are in the nosy list but are not
subscribed to GitHub PR will get notified about the progress/review
comments on PR. You can check the patch here
<http://psf.upfronthosting.co.za/roundup/meta/issue592>.

I wanted to know from you all if this is the right approach. If not, then
what should be changed?

Thank you,
Anish Shah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/core-workflow/attachments/20160728/cb4d63bd/attachment.html>


More information about the core-workflow mailing list