Bug 500137

Summary: post-receive-mail script should be moved to a better location
Product: [Fedora] Fedora EPEL Reporter: Noa Resare <noa>
Component: gitAssignee: Todd Zullinger <tmz>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: el5CC: bkearney, chrisw, jwboyer, mastahnke, tmz
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: ActualBug
Fixed In Version: git-1.7.4.1-1.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-09 18:26:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 600411    
Bug Blocks:    

Description Noa Resare 2009-05-11 11:22:26 UTC
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):
git-1.5.5.6-2.el5

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.

Comment 1 Todd Zullinger 2009-06-28 23:31:50 UTC
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. :)

Comment 2 Todd Zullinger 2010-06-11 16:37:35 UTC
Discussed an update to git-1.7.x on epel-devel-list yesterday.  Any help testing the packages there would be great.

http://www.redhat.com/archives/epel-devel-list/2010-June/msg00023.html

Comment 3 Fedora Update System 2011-02-16 18:56:35 UTC
git-1.7.4.1-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/git-1.7.4.1-1.el5

Comment 4 Fedora Update System 2011-02-16 21:39:19 UTC
git-1.7.4.1-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-1.7.4.1-1.el5

Comment 5 Fedora Update System 2011-03-09 18:26:28 UTC
git-1.7.4.1-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.