Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 500137 - post-receive-mail script should be moved to a better location
Summary: post-receive-mail script should be moved to a better location
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: git
Version: el5
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Todd Zullinger
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: ActualBug
Depends On: 600411
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-11 11:22 UTC by Noa Resare
Modified: 2013-01-10 10:32 UTC (History)
5 users (show)

Fixed In Version: git-1.7.4.1-1.el5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-09 18:26:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.