lolcommits / lolcommits

:camera: git-based selfies for software developers
https://lolcommits.github.io
GNU Lesser General Public License v3.0
4.73k stars 244 forks source link

Generate and upload animated image on push #142

Open shtrom opened 11 years ago

shtrom commented 11 years ago

With plugins such as Twitter or Pump.io, it is easy to flood a stream with a bunch of selfies, not even taking amends and fixups into account.

It might make more sense for those to note post on commit, but rather to post a summary on push.

This would require a way to generate an animated picture of all recorded commits between two given revisions (or one and HEAD), and a hook which somehow would execute locally on push. Unfortunately, my githooks(5) doesn't list any that fit that bill at the moment.

shtrom commented 11 years ago

Ah. Pre-push hooks have been introduced in 1.8.2 [0].

[0] https://github.com/git/git/blob/master/Documentation/RelNotes/1.8.2.txt#L167

matthutchinson commented 10 years ago

Re-opening after GitHub weirdness