Red Hat Bugzilla – Bug 500137
post-receive-mail script should be moved to a better location
Last modified: 2013-01-10 05:32:22 EST
Description of problem:
The git distribution contains a script that can be used to send emails when
a new revision is pushed onto a repository named post-receive-email
This script currently resides in the documentation directory of git, a location
that has the version name of the git package encoded into it. This is a bit inconvenient since it will lead to silent breakage of the email hook on existing repositories when the git package is updated if the method of invoking the script suggested in the post-receive hook template script is used.
Version-Release number of selected component (if applicable):
I would suggest moving the hooks directory from %doc/hooks to /usr/share/git-core and at the same time update the post-receive hook template to refer to the new location in it's last line.
I've committed a change like this to the rawhide packages. I'll try to see that it makes its way into the EL-5 branch at some point.
FWIW, the spec file from rawhide should rebuild on EL-5, if you wanted to test it and have an updated git. :)
Discussed an update to git-1.7.x on epel-devel-list yesterday. Any help testing the packages there would be great.
git-18.104.22.168-1.el5 has been submitted as an update for Fedora EPEL 5.
git-22.214.171.124-1.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update git'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/git-126.96.36.199-1.el5
git-188.8.131.52-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.