Email notifications for git commits on git.debian.org
Reinhard Tartler
siretart at gmail.com
Sat Feb 1 16:05:55 UTC 2014
Hi Folks,
I've noticed the following note in the latest developer news regarding
our commit messages. I know that we have been using our own custom
post-receive-email hook, and I wonder if now wouldn't be a good time
to switch to this multimailhook script?
While we are at it, it seems that this multimail hook makes it easy to
also send VCS notices to KGB (i.e., IRC announcements) and to the PTS.
I'd like to enable all of them, but first wanted to check with you
what to look out for. I've again forgot what exact problems our
post-commit hook fixed.
Best,
Reinhard
---------- Forwarded message ----------
From: Paul Wise <pabs at debian.org>
Date: Fri, Jan 24, 2014 at 9:55 PM
Subject: Misc Developer News (#34)
To: debian-devel-announce at lists.debian.org
Email notifications for git commits on git.debian.org
-----------------------------------------------------
Many projects rely on the git-commit-notice[1] script provided on
git.debian.org to send mail notifications of the activity of the git
repositories hosted there. Up to now, this script was based on (a very
old copy of) the "post-receive-email" contrib script from Git upstream. I
recently updated it and it's now based on git-multimail[2] which
generates more useful mails (with better subjects, with commit ordering
per push, with proper support of merge, etc.). I have tweaked the script
to auto-migrate the old git configuration settings so most of you
shouldn't have anything to do but you might want to review/tweak the
generated configuration (multimailhook.* git config settings) and drop
the old one (hooks.* git config settings).
-- Raphaël Hertzog
[1] http://wiki.debian.org/Alioth/Git#Commit_mails_with_diff
[2] https://github.com/mhagger/git-multimail/
More information about the pkg-multimedia-maintainers
mailing list