Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 78293

Summary: subversion doesn't install files from the tools directory as executables
Product: Gentoo Linux Reporter: Tom Hosiawa <tomek32>
Component: New packagesAssignee: Paul de Vrieze (RETIRED) <pauldv>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Hosiawa 2005-01-16 17:11:02 UTC
Specifically, I'm trying to use post-commit to send out emails upon any commit to a repository.

In the hooks subdirectory of a repository, the file post-commit.tmpl contains commands needed for executation; specifically commit-email.pl and log-commit.py.  post-commit.tmpl is created when I create a new repository with svnadmin.

commit-email.pl is currently installed under /usr/share/doc/subversion-1.1.1-r3/tools/hook-scripts

That directory should either be added to the PATH variable, or the files in it should be installed into /usr/bin

Also, I can't find where log-commit is located. So I'm not sure if thats a bug with gentoo or with subversion. I'm guessing the latter. I'll ask about it on the subversion mailing list.

Reproducible: Always
Steps to Reproduce:
Comment 1 Tom Hosiawa 2005-01-17 13:44:57 UTC
I found out on the subversion users mailing list, log-commit is just a hypothetical example.
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2005-01-19 06:52:01 UTC
As said, they are examples, and provided as such. The fact that they are not executable is a security feature, not a bug. The idea is to think before adding these scripts.