New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redmine_git_hosting installs its hooks into the wrong place on gitolite 3.x #258

Closed
ohthehugemanatee opened this Issue Aug 11, 2014 · 1 comment

Comments

Projects
None yet
3 participants
@ohthehugemanatee

ohthehugemanatee commented Aug 11, 2014

This plugin seems to insist on installing its hooks into ~git/.gitolite/hooks/common . This was correct for gitolite 2.x, but in 3.x there is a separate "local scripts" directory which you define in ~git/.gitolite.rc . See http://gitolite.com/gitolite/non-core.html#localcode

When installed into the wrong place, redmine's gitolite scripts overrule anything you have (correctly) set up in ~git/local/hooks/common .

@n-rodriguez n-rodriguez self-assigned this Aug 20, 2014

@mrueg

This comment has been minimized.

Show comment
Hide comment
@mrueg

mrueg Aug 27, 2014

I think it is possible to store the hook in the gitolite-admin.git repository [1]. So you only need to manipulate gitolite.conf to run the hook.

[1] http://gitolite.com/gitolite/non-core.html#rsh

mrueg commented Aug 27, 2014

I think it is possible to store the hook in the gitolite-admin.git repository [1]. So you only need to manipulate gitolite.conf to run the hook.

[1] http://gitolite.com/gitolite/non-core.html#rsh

@n-rodriguez n-rodriguez added this to the v0.8 milestone Sep 10, 2014

n-rodriguez added a commit that referenced this issue Sep 19, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment