您的位置:軟件測試 > 開源軟件測試 > 開源Bug管理工具 > Mantis
開源缺陷跟蹤系統(tǒng)Mantis安裝和安裝配置手冊
作者:網絡轉載 發(fā)布時間:[ 2013/12/13 9:54:32 ] 推薦標簽:

3.2 配置config_inc.php
設置mantis配置文件config_inc.php
//添加下面一行
$g_cvs_web = 'http://192.168.100.17/cgi-bin/cvsweb.cgi/';     #CVSWeb鏈接地址
$g_source_control_account=’cvsuser’; #必須是mantis的有效帳戶;
3.3 配置CVS配置文件loginfo
在cvs倉庫的配置文件loginfo中添加一行:
DEFAULT /usr/local/bin/php /var/www/mantis/core/checkin.php %{,sVv} $USER
這樣,在提交cvs文件時,在log message中輸入包含有“issue #nnnn”的內容,會將提交的版本信息,添加在該issue的note中。
4 Relationship Graph功能配置
4.1 修改config_inc.php配置
添加下面內容:
       # --- Relationship Graphs -----------
       # Show issue relationships using graphs.
       #
       # In order to use this feature, you must first install either GraphViz
       # (all OSs except Windows) or WinGraphviz (only Windows).
       #
       # Graphviz homepage:    http://www.research.att.com/sw/tools/graphviz/
       # WinGraphviz homepage: http://home.so-net.net.tw/oodtsen/wingraphviz/
       #
       # Refer to the notes near the top of core/graphviz_api.php and
       # core/relationship_graph_api.php for more information.
 
       # Enable relationship graphs support.
       $g_relationship_graph_enable              = ON;
 
       # Font name and size, as required by Graphviz. If Graphviz fails to run
       # for you, you are probably using a font name that gd can't find. On
       # Linux, try the name of the font file without the extension.
       $g_relationship_graph_fontname          = 'Arial';
       $g_relationship_graph_fontsize            = 10;
 
       # Local path where the above font is found on your system for Relationship Graphs
       # You shouldn't care about this on Windows since there is only one system
       # folder where fonts are installed and Graphviz already knows where it
       # is. On Linux and other unices, the default font search path is defined
       # during Graphviz compilation. If you are using a pre-compiled Graphviz
       # package provided by your distribution, probably the font search path was
       # already configured by the packager.
       #
       # If for any reason, the font file you want to use is not in any directory
       # listed on the default font search path list, you can either: (1) export
       # the DOTFONTPATH environment variable in your webserver startup script
       # or (2) use this config option conveniently available here. If you need
       # to list more than one directory, use colons to separate them.
 
       # Since 0.19.3 we use the $g_system_font_folder variable to define the font folder
 
       # Default dependency orientation. If you have issues with lots of childs
       # or parents, leave as 'horizontal', otherwise, if you have lots of
       # "chained" issue dependencies, change to 'vertical'.
       $g_relationship_graph_orientation = 'horizontal';
 
       # Max depth for relation graphs. This only affects relation graphs,
       # dependency graphs are drawn to the full depth. A value of 3 is already
       # enough to show issues really unrelated to the one you are currently
       # viewing.
       $g_relationship_graph_max_depth              = 10;
 
       # If set to ON, clicking on an issue on the relationship graph will open
       # the bug view page for that issue, otherwise, will navigate to the
       # relationship graph for that issue.
       $g_relationship_graph_view_on_click = OFF;
 
       # Complete path to dot and neato tools. Your webserver must have execute
       # permission to these programs in order to generate relationship graphs.
       # NOTE: These are meaningless under Windows! Just ignore them!
       $g_dot_tool                                              = '/usr/bin/dot';
       $g_neato_tool                                    = '/usr/bin/neato';
 
4.2 安裝Graphviz
# rpm –ivh graphviz-2.4-1.rh73.i386.rpm
# rpm –ivh graphviz-devel-2.4-1.rh73.i386.rpm
# rpm –ivh graphviz-doc-2.4-1.rh73.i386.rpm
# rpm –ivh graphviz-graphs-2.4-1.rh73.i386.rpm
# rpm –ivh graphviz-tcl-2.4-1.rh73.i386.rpm

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