Tag: InDefero

InDefero Mylyn Connector

Posted by – June 27, 2009

InDefero is in its own words:

InDefero is basically a clone of GoogleCode but with git, mercurial and subversion support. The motto of InDeferobeautiful simplicity

So basically it is a bugtracker along with code-hosting and -review features. They also offer you some managed hosting space go get you started or you could download the whole thing and deploy it yourself. Sounds nice and looks good so far.

Since i can no longer live without Mylyn i digged deeper to see if there is any support for it (either on the side of InDefero/Ceondo or Eclipse/Tasktop) but to my disappointment there is was none. So i decided to use the generic web template connector feature from Mylyn to connect both Eclipse and InDefero. It still needs some work but i can query for existing tasks and create new ones just fine. Editing of tasks is done via the internal web browser so that should work too (as long as you are online). The configuration is listed below (i’m using Eclipse 3.5 and Mylyn 3.2):

Server: Your Project Adress (e. g. http://denove.indefero.net/p/core)

Label: Whatever you want

User ID and Password: Should match your user ID and password

Task URL: ${serverUrl}/issues/

New Task URL: ${serverUrl}/issues/create/

Query Request URL: ${serverUrl}/issues/search/?q=${SEARCHTERM}&s=Search

Query Pattern: <td>({Id}.+?)</td><td><a href=”/p/core/issues/({Id}.+?)/”>({Description}.+?)</a>

2 things should be noted here:

1) I’ve put SEARCHTERM in the query request URL. I’m using this to build the different query later by just overriding the SEARCHTERM parameter.

2) The bold sequence in the querry pattern (/p/core/) is actually part of my ${serverUrl} adress but i could neither get ${serverUrl} to work nor any other self-defined parameter. So you have to change that to whatever your project URL looks like. Below or some screenshots for those without Eclipse ..

Repository Setup

Repository Setup

Query Setup

Query Setup