Skip to content
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

Can not push when use http/https protocol #166

Open
maxidr opened this issue Aug 9, 2012 · 4 comments
Open

Can not push when use http/https protocol #166

maxidr opened this issue Aug 9, 2012 · 4 comments

Comments

@maxidr
Copy link

maxidr commented Aug 9, 2012

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

@Jehreg
Copy link

Jehreg commented Aug 31, 2012

Same problem. Chiliproject commit 0e1a622a6a7d6 and redmine_git_hosting commit c70a17b

@Jehreg
Copy link

Jehreg commented Sep 1, 2012

Found it. We cannot use Gitolite 3.x

git clone git://github.com/sitaramc/gitolite
cd gitolite
git checkout v2.3.1

@maxidr
Copy link
Author

maxidr commented Sep 3, 2012

@Jehreg do you mean that it works with version 2?

@xelerance
Copy link

Yes, that's exactly what I mean. Version 2 = good. Version 3 = not so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants