我想通过脚本控制 Bugzilla 2.17.7 以:更改注释、键集、创建 bugz 等
我的尝试: - Bugzilla 工具没有记录任何示例:所以我忽略了如何去做 - LegNeato:始终请求远程对象进行设置 - Pyzilla:从提供的示例中我有一个异常(exception)
那么:用 Python 远程控制 bugzilla 的最佳方法是什么?
PS : Python 是首选,因为我几乎不读 Perl,但其他语言也可以
最佳答案
bztools模块允许您从 Python 访问 Bugzilla API。由于您使用的是旧版本的 Bugzilla,我认为您需要对安装进行修补。来自Bugzilla API page :
If you are on 3.4 or below, you need a patch and a template. These are shipped in the BzAPI distribution, in the patches directory, from version 0.8 onwards. See the INSTALL file for details.
关于python - 如何远程控制 Bugzilla(首选 Python),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9068011/