ArticleslgStudy

computer science

Mantis Bug Tracker

Mantis Bug Tracker is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Mantis Bug Tracker rather than just read about it. In short: Mantis Bug Tracker is a free and open source, web-based bug tracking system. The most common use of MantisBT is to track software defects.

Mantis Bug Tracker — main illustration
Mantis Bug Tracker — illustration

Key takeaways

  • Mantis Bug Tracker belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Mantis Bug Tracker to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Mantis Bug Tracker from memory before moving on to harder problems.

Reference excerpt

Mantis Bug Tracker is a free and open source, web-based bug tracking system. The most common use of MantisBT is to track software defects. However, MantisBT is often configured by users to serve as a more generic issue tracking system and project management tool. The name Mantis and the logo of the project refer to the insect family Mantidae, known for tracking and feeding on other insects, colloquially referred to as "bugs". The name of the project is abbreviated to either MantisBT or just Mantis.

History Kenzaburo Ito started the development of the Mantis Bug Tracking Project in 2000. In 2002, Kenzaburo was joined by Jeroen Latour, Victor Boctor, and Julian Fitzell to be the administrators, and it became a team project. Version 1.0.0 was released in February 2006. Version 1.1.0 was released in December 2007. In November 2008, after a long discussion, the project switched from using the Subversion revision control tool to Git, a distributed revision control tool. In February 2010, version 1.2.0 was released. In July 2012, the MantisBT organization on GitHub became the official repository for the Project's source code. Currently Mantis is running version 2.28.1

Features

Plug-ins An event-driven plug-in system was introduced with the release of version 1.2.0. This plug-in system allows extension of MantisBT through both officially maintained and third party plug-ins. There are numerous plug-ins available on the MantisBT-plugins organization on GitHub. Prior to version 1.2.0, a third party plug-in system created by Vincent Debout was available to users along with a variety of different plug-ins. This system was not officially supported by the MantisBT project and is incompatible with MantisBT 1.2.0 and later.

Notifications MantisBT supports the sending of e-mail notifications upon changes being made to issues in the system. Users have the ability to specify the type of e-mails they receive and set filters to define the minimum severity of issues to receive notifications about. Users also have the ability to explicitly subscribe to issues that affect them. RSS feeds are available for users who wish to keep track of issues that have been resolved. Additionally, MantisBT has integration with Twitter via a plugin, to allow a notification to be tweeted when an issue is resolved. Via MantisBT's event-driven plug-in system, it is possible to extend the built in notification support to run advanced scripts that perform additional notification actions (such as sending SMS messages or updating statuses in external project management systems).

Revision control system integration Versions of MantisBT prior to 1.2.0 allowed for limited integration with the CVS revision control system. With the introduction of plug-in capabilities in MantisBT 1.2.0, revision control integration was redeveloped by Amethyst Reese in the SourceIntegration plugin. The initial release of the SourceIntegration plugin supported GitHub, GitWeb, SourceForge and WebSVN. Over time, two additional modules were added and as of November 2013, source integration is supported for the following revision control tools and web-based providers:

cgit, a web interface for Git repositories, written in C GitHub, an open-source software hosting facility that hosts Git repositories Gitweb, a free and open source web interface for Git repositories HgWeb, a cgi web front-end for Mercurial repositories SourceForge (for Subversion integration only), an open-source software hosting facility that hosts various types of software repositories WebSVN, a free and open source web interface for Subversion repositories RhodeCode, an OpenSource web interface to Mercurial, Git and Subversion repositories Upon committing changesets to a source code repository, post-commit hooks within Git or Subversion can be configured to automatically notify MantisBT that changes have been made to the repository. GitHub is also capable of remotely notifying a MantisBT installation of changes to a source code repository. Another technique used for integrating MantisBT with web-based source code hosting providers is the use of a job scheduler such as cron to manually check for changes to a repository every few minutes, reporting any changes back to MantisBT. SourceIntegration allows for issues within MantisBT to be automatically resolved when a changeset message contains special strings such as "Fixes #12345", which are configurable using regular expressions. This also allows for relationships to be automatically created between changesets and corresponding issues recorded in MantisBT. Multiple issue IDs can be specified in a single changeset message, although this is commonly discouraged as it indicates the changeset doesn't have a single, clear and logical purpose.

Minor features In addition to the features mentioned above, MantisBT also has support for:

Full text search Audit trails of changes made to issues Revision control of text fields and notes Roadmaps Changelogs Graphing of relationships between issues Sponsorship of issues Wiki documentation integration for DokuWiki, MediaWiki, TWiki, WackoWiki, WikkaWiki and XWiki News Project Management and TimeTracking with CodevTT. Localised dozens of languages on translatewiki.net.

Technical design

Development languages MantisBT is mainly written in PHP and uses SQL to interface with databases. The web-based user interface of MantisBT is written using HTML which is styled and presented using CSS. The UI also uses the jQuery client-side JavaScript library to provide optional features such as Ajax and JSON powered dynamic page content. Development tools and build scripts are written predominantly in Python with some Shell script and PHP. MantisBT's codebase dates back to a time when PHP's support for object-oriented programming principles was in its infancy. As of version 1.2.0, the majority of the MantisBT codebase still uses procedural programming principles, however some sections have been converted to make use of PHP 5's new object model.

Database storage Data is stored in a relational database management system by means of the ADOdb database abstraction library. MantisBT supports MySQL, MariaDB and PostgreSQL. It has experimental support for Microsoft SQL and Oracle. MantisBT maintains a database upgrade path between versions by modifying the database schema incrementally. During the installation of MantisBT, database schema modifications are replayed all the way back from early versions of MantisBT to reach the latest state.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Mantis Bug Tracker

Start with the simplest possible case. Write down what Mantis Bug Tracker claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Mantis Bug Tracker before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Mantis Bug Tracker ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Mantis Bug Tracker

In research
Mantis Bug Tracker appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Mantis Bug Tracker in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Mantis Bug Tracker is common in secondary-school and first-year university syllabi. It links to neighbouring topics Bug and issue tracking software, Free project management software, Free software programmed in PHP, so understanding it makes those chapters shorter.
In everyday life
Look for Mantis Bug Tracker outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Mantis Bug Tracker” →

How to study Mantis Bug Tracker in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Mantis Bug Tracker means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Mantis Bug Tracker out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Mantis Bug Tracker in simple terms?

Mantis Bug Tracker is a free and open source, web-based bug tracking system. The most common use of MantisBT is to track software defects.

Why does Mantis Bug Tracker matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Mantis Bug Tracker?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Mantis Bug Tracker.

Tags

  • Bug and issue tracking software
  • Free project management software
  • Free software programmed in PHP
  • Software using the GNU General Public License

Keep exploring