• 关于bugzilla与svn结合的配置注意事项


    安装环境:
    ActivePerl-5.8.8.822-MSWin32-x86-280952.msi
    mysql v5.0.41
    bugzilla 3.0.0或3.0.1或3.0.2或3.0.3或3.0.4(注3.0.5没有试)
    IIS 5
    svn服务器的版本必须在1.4.5及其以下的版本

     

    0. 安装iis
    1.安装perl ActivePerl-5.8.8.822-MSWin32-x86-280952.msi  
      在iis中添加  属性->主目录->配置的.cgi项中设置:C:\perl\bin\perl.exe -xC:\bugzilla-3.0 -wT "%s" %s
    2.安装mysql v5.0.41
    3.解压bugzilla 3.0.0或3.0.1或3.0.2或3.0.3或3.0.4(注3.0.5没有试)
    4.在bugzilla目录下执行 checksetup.pl --check-modules
    5.安装缺少的perl模块
    ppm install DBD-mysql
    ppm install Email-Send
    ppm install Email-MIME
    ppm install Template-Toolkit
    ppm install TimeDate
    ppm repo add theory58S http://theoryx5.uwinnipeg.ca/ppms
    ppm install Email-MIME-Modifier
    ppm install GDGraph
    ppm install GDTextUtil
    ppm install Template-GD
    ppm install GD
    ppm install Email-MIME-Attachment-Stripper
    ppm install Email-Reply
    ppm install perl-ldap
    ppm install HTML-Scrubber
    ppm install MIME-tools
    ppm install XML-Twig
    ppm install Chart
    ppm install PatchReader
    ;ppm install mod_perl
    ;ppm install PerlMagick
    6.再次执行checksetup.pl --check-modules
    ppm update Email-Send
    ppm update Email-MIME
    7.执行checksetup.pl进行安装
    8.修改localconfig文件
    9.再次执行checksetup.pl
    10. 修改perl目录下lib目录下CGI.pm文件,在2724行添加:$url ||= '';
    11.通过访问http://localhost/bugzilla305/index.cgi可以访问bugzilla.

    安装testopia   testopia-2.0.tar.gz
    1. Untar the Testopia 2.0 tarball inside your Bugzilla 3.0.x directory.
    2. Patch the Bugzilla files.
     There are two patch files. patch-3.0 is for Bugzilla 3.0 (without a .1 .2 or .3 etc.) while patch-3.0.x is for  Bugzilla 3.0.1 - 3.0.4 (as yet

    unreleased).
     On Linux systems it should look something like: patch -p0 -i testopia/patch-3.0.x
     On Windows systems:patch --binary -p0 -i testopia/patch-3.0.x
    3. Run checksetup.pl
    4. 安装缺少的Perl模块
        ppm install GD-Graph3d
        ppm install JSON
        ppm install Text-Diff
    5. 修改C:\bugzilla-3.0.5\extensions\testopia\code\install-requirements.pl,修改JSON的版本条件
    6. Run checksetup.pl
    7. 通过访问http://localhost/bugzilla305/index.cgi可以访问bugzilla.  (失败了,估计是JSON的版本问题)
    8. 修改了IIS的权限。默认网站->右键菜单->所有任务->权限向导,所有选项按照默认的即可

     


    注意:安装的svn服务器的版本必须在1.4.5及其以下的版本

    安装scmbug   SCMBUG_RELEASE_0-23-3.zip
    1、解压0-23-3版到c盘
    2、修改C:\Program Files\Scmbug\etc\scmbug\daemon.conf的相关配置
    3、启动 C:\Program Files\Scmbug\etc\init.d\scmbug-server.bat
    4、将C:\Program Files\Scmbug\share\scmbug\glue\templates\svn\latest 内的文件拷贝到上层目录
    5、安装glue,在C:\Program Files\Scmbug\bin目录下执行下面的命令:
    scmbug_install_glue.pl --scm=Subversion --product=TestProduct --repository=file:///C:/Repositories/PECSTAR3 --bug=770 --binary-paths="c:/Program

    Files/VisualSVN Server/bin" --daemon=127.0.0.1
    其中:
     c:/Program Files/VisualSVN Server/bin 目录下要有diff.exe, svn.....等相关程序
    repository应该为file的格式
    6、修改file:///C:/Repositories/PECSTAR3中的hooks\etc\scmbug\glue.conf文件内的consolidate_cvs_messages值改为0;
    7、在签出项目时,应该使用https的协议,以便使用svn的用户,该用户和bugzilla的用户的映射关系在步骤2中配置;
    8、svn中提交的时候,log的格式参考下面的语句,字符不少于50个:
    bug 1: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

    参数根据具体情况配置,要求svn为1.4.5版
    安装结束

     

  • 相关阅读:
    you have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar(255), sort integer not null
    mysql导出数据到excel的两种方式
    java8 foreach不能使用break、countinue
    学习rabbitmq
    shell脚本基础
    编程基础;程序的执行方式;编程基本概念
    定制vim的工作特性
    使用多个“窗口”
    多文件模式
    可视化模式
  • 原文地址:https://www.cnblogs.com/strinkbug/p/1301763.html
Copyright © 2020-2023  润新知