redmine_git_hosting
redmine_git_hosting copied to clipboard
Can not push when use http/https protocol
When try to push a project using http or https (like git remote add origin http://[email protected]/chiliproject/test-repo.git) show the error:
remote: Empty compile time value given to use lib at hooks/update line 6
remote: Use of uninitialized value in require at hooks/update line 7.
remote: Can't locate Gitolite/Hooks/Update.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at hooks/update line 7.
remote: BEGIN failed--compilation aborted at hooks/update line 7.
remote: error: hook declined to update refs/heads/master
But, when use ssh protocol works ok.
I'm using the version 0.4.5x of the extension in ChiliProject 3.2.1.221a2e73c
Same problem. Chiliproject commit 0e1a622a6a7d6 and redmine_git_hosting commit c70a17bcd7d57f72101a
Found it. We cannot use Gitolite 3.x
git clone git://github.com/sitaramc/gitolite
cd gitolite
git checkout v2.3.1
@Jehreg do you mean that it works with version 2?
Yes, that's exactly what I mean. Version 2 = good. Version 3 = not so much