您的位置:軟件測(cè)試 > 開源軟件測(cè)試 > 開源Bug管理工具 > Bugzilla
SVN與Bugzilla整合
作者:網(wǎng)絡(luò)轉(zhuǎn)載 發(fā)布時(shí)間:[ 2014/3/7 15:45:04 ] 推薦標(biāo)簽:Bugzilla SVN

配置scmbug主要為以下幾個(gè)部分:

(1)配置daemon.conf

安裝完scmbug, scmbug自動(dòng)安裝在/etc/scmbug,進(jìn)入該目錄,修改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安裝參數(shù),bugzilla本地安裝installed_locally設(shè)置為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部分,設(shè)置enabled=>1,并且修改unix user mapping為郵件地址形式(由于bugzilla用戶名為郵件地址),此處不設(shè)置的話會(huì)出現(xiàn)如下錯(cuò)誤:

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

注意:輸入產(chǎn)品名稱中間好沒有空格,否則報(bào)無效產(chǎn)品

出現(xiàn)以下信息

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不能區(qū)分提交任務(wù)和創(chuàng)建tags或者branches.所以創(chuàng)建project時(shí)要設(shè)置subersion中的labeling directories, trunk directories.(建立project時(shí)詳細(xì)描述)

上一頁12345下一頁
軟件測(cè)試工具 | 聯(lián)系我們 | 投訴建議 | 誠聘英才 | 申請(qǐng)使用列表 | 網(wǎng)站地圖
滬ICP備07036474 2003-2017 版權(quán)所有 上海澤眾軟件科技有限公司 Shanghai ZeZhong Software Co.,Ltd