siemens800 发表于 2013-1-16 02:28:45

bugServer Mantis / ClearQuest / JIRA

软件测试论坛
http://bbs.51testing.com/forum-12-1.html
Mantis Bug Tracker
http://www.iteye.com/upload/attachment/85062/26908b31-58ea-3463-9b4e-43191cad0a45.gif

一个基于Web的免费bug追踪系统,用PHP 编写而成,它支持的数据库包括:MySQL、PostgreSQL 和 MS SQL。
Mantis有多个层次的hieararchy:projects>sub-projects>categories>bugs ,如果用户拥有权限变可以进行访问。这个应用集成了wiki,chat,RSS feeds,实时追踪等…
Apache/2.2.3 (Red Hat) Server at docs.mantisbt.org Port 80
question: 192.168.100.38 mantis 1.0.6 改整个帐号的存取权限 ?
answer: 管理员login----管理----点添加用户出现的编辑功能--ok

Mantis 帮助手册
http://manual.mantisbt.org/
my mantis 1.0.6
http://tangxje:null@192.168.100.38/login_page.php
mantis简介
http://www.mantisbt.org/
http://shenmin1984.iteye.com/blog/178437
Mantis下载 download
http://sourceforge.net/projects/mantisbt/files/mantis-stable/
http://jaist.dl.sourceforge.net/project/mantisbt/mantis-stable/1.1.8/mantisbt-1.1.8.zip
http://jaist.dl.sourceforge.net/project/mantisbt/mantis-stable/1.1.8/mantisbt-1.1.8.tar.gz
http://ncu.dl.sourceforge.net/project/mantisbt/mantis-stable/1.2.1/mantisbt-1.2.1.zip
http://ncu.dl.sourceforge.net/project/mantisbt/mantis-stable/1.2.1/mantisbt-1.2.1.tar.gz
 
mantisbt-1.1.8.tar.gz2.3 MiBMon Jun 08 2009 20:005,697                                                            Release Notes                                                   mantisbt-1.1.8.tar.gz.digests122 BytesMon Jun 08 2009 20:00256                                                            Release Notes                                                   mantisbt-1.1.8.zip2.8 MiBMon Jun 08 2009 20:008,110                                                            Release Notes                                                   mantisbt-1.1.8.zip.digests116 BytesMon Jun 08 2009 20:00445                                                            Release NotesMantis中文论坛
http://www.mantis.org.cn/index.php
Mantis使用说明
http://peirenlei.iteye.com/blog/351057
Mantis与SVN集成
http://zhuzhsh.iteye.com/blog/188519
9个免费开源的bug追踪软件
http://www.iteye.com/news/6306-9-free-open-source-bug-tracking-software
Mantis 在Windows 平台上的安装方法
http://moonsee.iteye.com/blog/246185
Mantis 在RedHat AS 4 平台上的安装方法
http://www.51testing.com/?uid-65519-action-viewspace-itemid-109961
Mantis与SVN集成
http://zhuzhsh.iteye.com/blog/188519
要集成Mantis和SVN,需要几个工具:
<div class="blog_content">SVN客户端,有个windows下的很不错的工具,TortoiseSVN,完全集成在explorer里,下载地址: http://tortoisesvn.net/
SVN服务端,这个应该都有吧。
Mantis缺陷跟踪系统,用php开发。轻量级的缺陷跟踪系统。 http://www.mantisbt.org/
首先先在TortoiseSVN里设置一下项目的属性,右键点击目录,属性,在subversion一栏里,加入这几个属性
bugtraq:label = issue
bugtraq:url = http://<mantisserver>/mantis/view.php?id=%BUGID%
bugtraq:message = issue %BUGID%
bugtraq:warnifnoissue = true
到对应的SVN版本库里,找到hooks目录,建立一个post-commit.bat文件,将以下内容拷入:
REM Post-commit hook for MantisBT integration
SET REPOS=%1
SET REV=%2
SET DETAILS_FILE=E:\svnrepo\log\svnfile_%REV%
SET LOG_FILE=E:\svnrepo\log\svnfile_%REV%_Log
set APR_ICONV_PATH=F:\software\svn-win32-1.4.2\iconv
set path=%path%;e:\software\php;F:\software\svn-win32-1.4.2\bin;

echo ****** Source code change ******>>%DETAILS_FILE%
svnlook log -r %REV% %REPOS%>>%DETAILS_FILE%
echo SVN Revision:%REV%>>%DETAILS_FILE%
svnlook diff -r %REV% %REPOS%>>%DETAILS_FILE%
php.exe E:\www\mantis\core\checkin.php <%DETAILS_FILE% >%LOG_FILE%
DEL %DETAILS_FILE%
DEL %LOG_FILE%

最后,修改mantis安装目录下的config_inc.php,加入以下内容(mantis系统里要有SVN用户):
$g_source_control_notes_view_status = VS_PUBLIC;
$g_source_control_account = 'SVN';
$g_source_control_set_status_to = OFF;
$g_source_control_regexp = "/\bissue [#]{0,1}(\d+)\b/i";
完成这些步骤后,就可以在SVN提交新版本时,同时发布内容到对应的缺陷跟踪系统了。
比如,修改了一个源文件,svn commit时,在右上的issue栏目里输入要提交到的具体的 issue/bug 编号,然后在下面的message框内输入具体的描述,svn的hook就会自动往mantis里对应的条目里写入你提交时输入的这些内容。
页: [1]
查看完整版本: bugServer Mantis / ClearQuest / JIRA