按照 Gitzilla 网站上的说明配置所有内容。
我的 git repo 已经好几个星期了……Bugzilla 也可以正常工作……
在结束 Gitzilla 的配置后,我分支并测试了我是否可以推送并被记录...它给了我这个错误:
Counting objects: 57, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (42/42), done.
Writing objects: 100% (54/54), 5.59 KiB, done.
Total 54 (delta 16), reused 0 (delta 0)
remote: Traceback (most recent call last):
remote: File "hooks/update", line 8, in <module>
remote: load_entry_point('gitzilla==2.0', 'console_scripts', 'gitzilla-update')()
remote: File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/pkg_resources.py", line 318, in load_entry_point
remote: File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/pkg_resources.py", line 2221, in load_entry_point
remote: File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/pkg_resources.py", line 1954, in load
remote: File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/gitzilla/hookscripts.py", line 11, in <module>
remote: File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/gitzilla/hooks.py", line 9, in <module>
remote: File "build/bdist.freebsd-8.2-RELEASE-amd64/egg/gitzilla/utils.py", line 10, in <module>
remote: ImportError: No module named bugz.bugzilla
remote: error: hook declined to update refs/heads/roger/gitzilla
To ssh://git@git.some.net/usr/local/git/some.git
! [remote rejected] roger/gitzilla -> roger/gitzilla (hook declined)
error: failed to push some refs to 'ssh://git@git.some.net/usr/local/git/some.git'