您的位置:软件测试 > 开源软件测试 > 开源Bug管理工具 > Mantis
开源缺陷跟踪系统Mantis安装和安装配置手册
作者:网络转载 发布时间:[ 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下一页
软件测试工具 | 联系我们 | 投诉建议 | 诚聘英才 | 申请使用列表 | 网站地图
沪ICP备07036474 2003-2017 版权所有 上海泽众软件科技有限公司 Shanghai ZeZhong Software Co.,Ltd