EuIrcBot icon indicating copy to clipboard operation
EuIrcBot copied to clipboard

Github Module: More info on push notification

Open euank opened this issue 11 years ago • 2 comments

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.

euank avatar Jul 08 '14 07:07 euank

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.

cbgbt avatar Jul 08 '14 12:07 cbgbt

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.

cbgbt avatar Jul 08 '14 14:07 cbgbt