[QPKG] MantisBT

Silas Mariusz

rm -rf /
Help us, GOD!
5 Kwiecień 2008
10 201
31
2 296
153
39
Nowy Sącz
forum.qnap.net.pl
QNAP
TS-x77
Ethernet
1 GbE
awww.mantisbt.org_manual_mantis_logo.gif


[Name]
MantisBT

[Version]
1.2.8

[Description]
Mantis Bug Tracker is a free and open source web-based bug tracking system.

[Author]
noski

[License]
GPLv2

[Written in]
PHP

[Website]
http://www.mantisbt.org/

[Download]
http://bit.ly/vrEzzL

[History]
I wanted to setup a bug tracking system on my QNAP.
I had 3 main requirements:
1. It had to be free.
2. It had to run on my TS-209, so it couldn't be too resource hungry :).
3. It had to be able to integrate with Mylyn so i could manage my bugs from Eclipse.

JIRA is probably the most popular bug tracking system at the moment, however it is not free and, being written in Java, I believe it would be too much for my 209.
I looked around and came across MantisBT.
According to the Eclipse Community Survey 2010 (http://www.mantisbt.org/blog/?p=109), MantisBT is the 4th most popular bug tracking system.
Being free, written in PHP and having a Mylyn connector (http://wiki.eclipse.org/Mylyn_Extensions#Mantis), it met my 3 requirements.
It supports a MySQL database so it is ideal for my QNAP.

The download from the MantisBT website is easy to install, just unzip it to your QNAP web directory.
Unfortunately, no-one had made a QPKG for MantisBT, so I decided to give it a crack.
This is my first QPKG. Feel free to provide any feedback.

[Installation]
On installation, this QPKG creates a symbolic link in the web share to the MantisBT install directory.

[Post Installation Instructions]
(in phpMyAdmin)
1. Create a new database for MantisBT. I called mine "bugtracker".
2. Create a new user for MantisBT to connect to the database. I called mine "mantis".
3. Give the "mantis" user privileges for the "bugracker" database.
(goto MantisBT url - http://<qnap host>/MantisBT/
4. Fill out the MantisBT install page.
Username (for Database): mantis
Password (for Database): <whatever>
Database name (for Database): bugtracker
Click "Install/Upgrade Database" button.
5. Login with username/password - administrator/root respectively.
6. Goto Manage/Manage Users and create a new account with administrator access level.
Provide a real email as MantisBT will send an account creation confirmation email.
Click the link in the email and create a password.
7. Login to MantisBT with your new account.
8. Goto Manage/Manage Users and Delete the administrator user.
9. Remove the admin directory under /share/Qweb/MantisBT/

[Enabled]
When enabled:
- the mantis_offline.php in the install directory is deleted.

[Disabled]
When disabled:
- the mantis_offline.php.qnap file in the install directory is copied to mantis_offline.php.

[Uninstallation]
On uninstallation, the MantisBT web share link is removed.
The database is not removed. The responsibility for this is left with you.

[Customisation]
You may customise the mantis_offline.php.qnap file for your own purpose.

[Resources]
Setup SVN on QNAP:
http://wiki.qnap.com/wiki/Subversion
Useful links on integrating SVN with MantisBT:
http://noswap.com/blog/integrating-git- ... -mantisbt/
http://www.unitz.com/u-notez/2009/10/su ... -mantisbt/

[Plugins]
Source Integration: http://git.mantisforge.org/w/source-integration.git (requires Meta plugin)
Meta: http://git.mantisforge.org/w/meta.git

Download by clicking on the "snapshot" link. Unzip and place the files in the MantisBT plugins directory.

[Screenshots]
aupload.wikimedia.org_wikipedia_en_thumb_a_ab_Mantis_screen_shot.jpg_300px_Mantis_screen_shot.jpg


[Future potential enhancements]
- Get the QPKG to setup the database on initial install. If anyone can assist with this, that would be appreciated.

Comments welcome.

Enjoy :)