Skip to main content
 首页 » 编程设计

python之远程 : missing/incomplete bugzilla conf (no bugzilla_url) error with gitzilla

2025年05月04日10lyj

我在远程中央存储库服务器上的/ect/gitzillarc 中设置了 gitzilla 配置文件,并具有所有读写权限。 文件代码配置内容如下

[/home/gituser/repositories/git-main/git-main.git/.git] 
bugzilla_url: https://repo.example.com/bugzilla/ 
bugzilla_user: sboppana@example.com 
bugzilla_password: s123 
user_config: deny 
allowed_bug_states: NEW, ASSIGNED, REOPENED 
logfile: /var/log/gitzilla.log 
loglevel: info` 
 
python at 2.6.5 
pybugz at 0.9.3 (tried with 0.8.0 also) 
Gitzilla at gera-gitzilla-gitzilla-2.0-19-geceeaca.tar.gz 

我用 git push 得到错误“remote: missing/incomplete bugzilla conf (no bugzilla_url)” 当然 bugzilla_url 值在我的配置文件中有真实名称而不是示例名称。

尝试了很多,但无法让它工作。感谢所有帮助。

请您参考如下方法:

添加 xmlrpc.cgi 以及 bugzilla URL 应该可以解决这个问题。这是 Pybugz 中问题的解决方法。

例如,如果您的 bugzilla URL 是 https://repo.example.com/bugzilla/ 尝试使用 https://repo.example.com/bugzilla/xmlrpc.cgi 这应该有效。