post-push commit messages in email
Reported by Adam French | April 5th, 2008 @ 10:00 PM
at work, we have an svn-commit hook setup which dumps the commit message and the diff of the commit into an email and sends it to a mailing list.
Though this might sound a little spammy, it really does help out when other people need to know when a commit happened, and gives us the ability to know what went on during the day while we were out or sick.
For bigger projects, this commit-message-in-email idea may get really spammy really quickly, so it'd likely need to be opt-in, or...even better....compiled into one summary email and sent out at the end of the business day or something.
I dunno, just thoughts
Comments and changes to this ticket
-
defunkt April 8th, 2008 @ 08:47 PM
- → State changed from new to open
Sounds like a good candidate for a hosted post-receive service.
-
Rob Sanheim April 11th, 2008 @ 10:32 AM
Here's our use case for this w/i our company repo, if it helps flesh this out a bit:
I go to the Relevance account, flip a checkbox that says "send email commits for all projects"...and enter git-diffs@thinkrelevance.com (or whatever).
Every commit that gets pushed to any repo in relevance now gets sent to that email address, with diff's included (up to some sane limit, to avoid 150k email for vendor commits, etc).
Each email should at least have an easily filterable repo name in the subject...so
[project_name] rob commited 'fix links...' [shortened_sha1]
Includes a link back to the commit in the email body, and link to the repo, along w/ colored diff.
We expect team members to be able to handle and filter the large amount of email this kind of thing provides.
- Rob
-
defunkt April 11th, 2008 @ 10:34 PM
- → Assigned user changed from defunkt to PJ Hyett
-
-
-
PJ Hyett June 9th, 2008 @ 01:03 PM
I'm stretched pretty thin, so if someone is dying for this feature, fork http://github.com/pjhyett/github... and have at it. Otherwise I can't make any promises when it'll be added.
-
PJ Hyett August 7th, 2008 @ 10:39 PM
- → State changed from open to resolved
- → Tag changed from to feature
Forgot to close this, the email hook was added a few weeks ago.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
