Send full diffs of parrot commits to parrot-commits
completed by: Fernando Brito
Before Parrot's migration to git, we had a post-commit hook that would send the full diff of each commit to email@example.com. (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.