Tuesday, December 23, 2014

MantisBT Graph Support on CentOS

Since after searched on Google, and couldn't find a complete answer how to add graph support on MantisBT, here I post my solution, it's might be helpful to the people who struggle on this topic.

1.Enable graph plugin in MantisBT plugin management console page

2.Install PHP graph library

# yum install php-gd php-xml


3.Install msttcorefonts

Search and download from http://rpmfind.net/linux/rpm2html/search.php?query=msttcorefonts

if you want to install by compiling from source, please refer here, http://corefonts.sourceforge.net

# yum install msttcorefonts-2.5-1.noarch.rpm


create symbol link to the msttcorefonts directory

# ln -s /usr/share/fonts/msttcorefonts /usr/share/fonts/truetype


After that, you can use the 'Show graph' feature in MantisBT as a role of  manager,

if you want to let all the people including developers and reporters to view the graph summary, add this configuration to the file config_inc.php

$g_view_summary_threshold = REPORTER;


have fun...

No comments:

Post a Comment