EuIrcBot
EuIrcBot copied to clipboard
Github Module: More info on push notification
Specifically, I think a git.io link + the commit message would be great. Example: from the official github irc service thing:
<git-notification> [ponscripter-fork] euank pushed 1 new commit to master: http://git.io/N-WAkA
<git-notification> ponscripter-fork/master f1c2ad5 Euank: Backport SDL2 fix from upstream...
You could likely compact it into one line or tweak it in other ways, but I think it's important to get most of the information there. Specifically, commit link, commit message, repository info, and committer.
Do you happen to know what the official service does if you've pushed multiple commits? Does it output a line for each one?
I didn't include a link to the commit because there can be several commits for a push.
Looks like github combines all of the commits into a comparison page: https://github.com/euank/EuIrcBot/compare/8f6743d93...69ab144d5f
It then prints the sha and commit message for each commit on a separate line. I'm not sure there is a way to print that in an appealing manner without multiline.