|Version 7 (modified by techtonik, 4 years ago) (diff)|
Link bug references to MantisBT
This patch transforms bug references in commit messages to link to external mantis bugtracker. It also fetches bug description from mantis page title.
It does the same thing as simple mantis redirector, but with bug descriptions in timeline.
If you have any issues, create a new ticket.
Download the zipped source from here.
If you have troubles applying patch (for example, because of differences of linefeeds):
- Download patch.py utility from http://python-patch.googlecode.com/files/patch-9.08-2.py
python patch-9.08-2.py icachechangesetlistener.env.diff
- Change MANTIS_URL value in plugins/mantis_tickets_query.py to point to location of your bug tracker
- Copy changed plugins/mantis_tickets_query.py to plugins folder of your Trac environment
Commit messages containing text like
are transformed to links like
Mantis #000802: Associate an image file (or raw HTML?) for each project.