您的位置:软件测试 > 开源软件测试 > 开源Bug管理工具 > Bugzilla
SVN与Bugzilla整合
作者:网络转载 发布时间:[ 2014/3/7 15:45:04 ] 推荐标签:Bugzilla SVN

配置scmbug主要为以下几个部分:

(1)配置daemon.conf

安装完scmbug, scmbug自动安装在/etc/scmbug,进入该目录,修改daemon.conf文件:

首先确定bugzilla的安装目录路径

# Used for Bugzilla and RequestTracker.

#

# Path to the directory of the bugtracker sources providing an

# API that the daemon can use

installation_directory => ’/home/bugzilla/’

再确定bugzilla安装参数,bugzilla本地安装installed_locally设置为1

# Used only for Bugzilla.

#

# Flags whether the live bugtracker instance is installed

# locally on the same machine the daemon is running

installed_locally => 1,

后修改mapping_regexes部分,设置enabled=>1,并且修改unix user mapping为邮件地址形式(由于bugzilla用户名为邮件地址),此处不设置的话会出现如下错误:

Scmbug error 77: The userlist mappings are enabled, but no mappings are configured.

(2)利用scmbug的命令scm_install_glue下载安装glue

首先确定scmbug的server开启,输入命令

#/etc/init.d/scmbug-server start

然后输入如下命令安装glue:

$ scmbug_install_glue --scm=Subversion

--product=Finacingmanagemen --repository=file:///home/svnroot/repository/test

--bug=770 --binary-paths=/bin,/usr/bin --daemon=192.168.1.222

注意:输入产品名称中间好没有空格,否则报无效产品

出现以下信息

This is the installation scrīpt of the Scmbug glue.

The glue will be installed in repository: file:/// home/svnroot/repository/test

This is a repository for the Subversion SCM tool.

The product name in the bug tracking system is Finacingmanagement..

The integration glue will be committed against bug 770.

The IP address of the Scmbug integration daemon to contact is 192.168.1.222.

The binary paths used are: /bin,/usr/bin

-------------

Press Enter to continue or Ctrl-C to cancel

两次回车后安装完毕.

安装完毕后glue装在/ home/svnroot/repository/test/hooks/etc/scmbug/glue.conf

(3)由于subversion不能区分提交任务和创建tags或者branches.所以创建project时要设置subersion中的labeling directories, trunk directories.(建立project时详细描述)

上一页12345下一页
软件测试工具 | 联系我们 | 投诉建议 | 诚聘英才 | 申请使用列表 | 网站地图
沪ICP备07036474 2003-2017 版权所有 上海泽众软件科技有限公司 Shanghai ZeZhong Software Co.,Ltd