GSoC/GCI Archive
Google Code-in 2010 Parrot Foundation and The Perl Foundation

Send full diffs of parrot commits to parrot-commits

completed by: Fernando Brito

mentors: cotto

Before Parrot's migration to git, we had a post-commit hook that would send the full diff of each commit to parrot-commits@lists.parrot.org.  (example) GitHub has a hook to send out notifications for each push, but it does not send out the full contents of commits.  Your mission, should you choose to accept it is to take tools/dev/github_post_receive.pl in Parrot's GitHub repo and modify it to send out messages similar in format to the example above.  You can use GitHub's API to get the data needed to create the message.  The script should also use an authentication token so that spammers won't be able to use it to send spam to parrot-commits.

As proof of completion, please attach the script and an example message sent by it.