after debbugs, bts-link works now over mantis…

… well, at least on my machine 😉

The goal is to be able to track remote bugs with bts-link even for your own list of (private) bugs that are not in debbugs (see also prevous post about this idea we work on in the Helios project).

Now, I have some bugs in Mantis, and I add a snippet like the following into one of its notes :
*** bts-link-mantis variables ***
Forwarded-To: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528192
*** end bts-link-mantis ***

And starting from that point, bts-link is able to monitor the (remote) Debian bug it refers to, and notify people subscribed to the local Mantis bug.

When running and if the Debian bug status changes, it will add (via SOAP) another note with, for instance :

This is a note generated by bts-link :
remote status report for 0000029
* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528192
* remote status changed: (?) -> pending
*** bts-link-mantis variables ***
Forwarded-To: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528192
User-Tags: status-pending
*** end bts-link-mantis ***

The same principle would work with almost any bugtracker even if they don’t support forwarded-to tags or any similar remote bug tracking mechanism natively.

The code is here (git), for the curious ones.

EDIT 2009/07/03 : I announced this to the Mantis-dev list hoping there will be some feedback.

Leave a Reply

Your email address will not be published. Required fields are marked *