gitolite镜像错误设置访问问题

时间:2016-01-27 12:58:17

标签: git gitolite

我正在通过gitolite设置一个git test repo。

不要理解这里的问题, 当试图推

"C:\Program Files (x86)\Git\bin\git.exe" push --recurse-submodules=check --progress "origin" refs/heads/master:refs/heads/master
Counting objects: 4, done.
Delta compression using up to 4 threads.
Total 3 (delta 0), reused 0 (delta 0)
remote: WARNING: subconf 'gitserver1' attempting to set access for repo1
remote: WARNING: split conf not set, gl-conf present for 'repo1'
remote: WARNING: split conf not set, gl-conf present for 'repo1'
remote: WARNING: split conf not set, gl-conf present for 'repo1'
remote: WARNING: split conf not set, gl-conf present for 'repo1'
To git@10.50.2.221:gitolite-admin
   e79a565..a6aeecf  master -> master
Done

关于gitolite日志我得到了:

 FATAL: W any gitolite-admin gitserver1 DENIED by fallthru
2016-01-27.12:44:56     12481           mirror: (or you mis-spelled the reponame)
2016-01-27.12:44:56     12481           mirror: fatal: The remote end hung up unexpectedly
2016-01-27.12:44:56     12410           system() failed,/home/git/bin/commands/mirror,push,gittrain3,gitolite-admin,-> 256

修改

在git 1.7.9.5上运行gitolite3 v3.1-8-ga509b20

1 个答案:

答案 0 :(得分:1)

This thread引用同样的错误,可以使用commit 16f2d9b

在gitolite 3.2中修复
  即使repo para只有配置行,也必须创建gl-conf   (即没有访问规则,只有配置行)

要做的第一件事是在将gitolite升级到latest version 3.6.4时(3.1从2012年10月起)检查问题是否仍然存在。