wiki:MantisChangesetBugLinksPatch

Link bug references to Mantis bugtracker

Description

This patch transforms bug references in commit messages to link to external Mantis bugtracker. It also fetches the bug descriptions from the Mantis page title.

It does the same thing as simple mantis redirector, but with bug descriptions in timeline.

As an example:

Commit messages containing text like

mantis #802

are transformed to links like

Mantis #000802: Associate an image file (or raw HTML?) for each project.

Bugs/Feature Requests

Existing bugs and feature requests for MantisChangesetBugLinksPatch are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out MantisChangesetBugLinksPatch from here using Subversion, or browse the source with Trac.

Installation

If you have troubles applying patch, for example, because of differences of linefeeds:

  1. Download patch.py utility from http://python-patch.googlecode.com/svn-history/trunk/patch.py
  2. Execute the following:
    python patch.py icachechangesetlistener.env.diff
    
  3. Change MANTIS_URL value in plugins/mantis_tickets_query.py to point to location of your bug tracker.
  4. Copy changed plugins/mantis_tickets_query.py to plugins folder of your Trac environment.

Recent Changes

12473 by techtonik on 2012-12-24 00:29:33
Remove trailing whitespace
12472 by techtonik on 2012-12-24 00:28:10
Forgot imports
12471 by techtonik on 2012-12-24 00:15:27
Update ICacheChangesetListener patch for 0.12
(more)

Author/Contributors

Author: techtonik
Maintainer: anatoly techtonik
Contributors:

Last modified 8 years ago Last modified on Feb 17, 2017, 10:43:46 PM