This one-character typo seems to be preventing commit mail from being
sent for all newly-created packages. I've fixed a couple already, but:
$ ls /srv/git/rpms/*/hooks/post.receive|wc -l
92
so I've more to fix. Not sure if I need +1s to make those changes, but I do
need +1s to push the following fix through puppet. I'm pretty sure that
this script simply lives in puppet; if there's another more upstream
repository, please let me know and I'll try to get this fixed there
first.
diff --git a/modules/gitolite/files/distgit/setup_git_package
b/modules/gitolite/files/distgit/setup_git_package
index ebe3165..4b438b2 100755
--- a/modules/gitolite/files/distgit/setup_git_package
+++ b/modules/gitolite/files/distgit/setup_git_package
@@ -111,7 +111,7 @@ popd >/dev/null
# Put our special update hooks in place
ln -s /usr/share/gitolite/hooks/common/update $GITROOT/$PACKAGE.git/hooks/
ln -s /usr/share/git-core/mail-hooks/gnome-post-receive-email \
- $GITROOT/$PACKAGE.git/hooks/post.receive
+ $GITROOT/$PACKAGE.git/hooks/post-receive
- J<