4

I'm trying to integrate Redmine with TortoiseSVN, but I was not able to do that because TSVN always gives me this error:

"There are no issue-tracker providers available."

I followed these steps:

  • In my project folder properties, I added 'bugtraq:url -> http://myweb/../issues/show/%BUGID%'
  • In Redmine settings, I added SVN in the repository tab, and Redmine showed my repository without any problems.

I'm not sure if there are any missing steps or what I have to do to make the integration.

Or should I look at trac, because it seems more stable and has better support?

Chris Forrence
  • 10,042
  • 11
  • 48
  • 64
Mohammed Nasman
  • 10,992
  • 7
  • 43
  • 68

3 Answers3

9

Slightly more detail on Stefan's post:

With what you're trying to do, setting the bugtraq:url alone isn't enough. You need to either set the 'bugtraq:message' property or the 'bugtraq:logregex' property as well. As an example, on our redmine setup we allow the following items in the commit message:

  • References: refs,references,IssueID
  • Fixes: fixes,closes,Fixes Bug

So we use a bugtraq:logregex for maximum flexibility of:

([Cc]loses|[Ii]ssue[Ii][Dd]|[Rr]eferences|[Rr]efs|[Ff]ixes(\s[Bb]ug)?)\s?#(\d+)
\d+

Which covers all our options.

By doing this, tortoise highlights the part of the commit comment which links into redmine and turns the number into a link which you can click on to go to the actual redmine issue.

The more advanced option is to allow you to choose an open bug directly from redmine. It's this feature that needs a specific plugin installed on your machine, but as far as I can tell, such a plugin for redmine doesn't exist, so we're kind of stuck with the basic option at the moment. When someone writes such a plug-in, and you install it, you'll then be able to go into "Issue tracker Integration" as you're currently trying to and things will work fine.

Jim T
  • 12,336
  • 5
  • 29
  • 43
  • Jim, thanks great info, I want to ask if I could closes an issue in redmine when I commit with TSVN, is that possible? – Mohammed Nasman Feb 10 '09 at 16:07
  • 3
    Yes certainly, but only if you use the bugtraq:logregex method. If you go to Administration->Settings->Repositories you'll find two config options: Referencing keywords and Fixing keywords. Use on of the fixing keywords in your commit log to close your issue, ie: fixes #55 – Jim T Feb 11 '09 at 15:50
  • Thanks Jim, You put me in the right direction, everything is working fine now :) – Mohammed Nasman Feb 12 '09 at 16:42
  • TurtleMine works well. https://github.com/jlestein/turtlemine – JonS Mar 20 '20 at 19:30
7

Please read the docs.

The error "There are no issue-tracker providers available" means that you have not installed an issue tracker plugin for TSVN.

The bugtraq: properties don't require a plugin. You can use those without a plugin (but you won't be able to fetch a list of open issues in the commit dialog).

Stefan
  • 43,293
  • 10
  • 75
  • 117
  • I have already read all these links, but I think the missing part is the COM plug-ins by redmine, right? – Mohammed Nasman Feb 10 '09 at 16:05
  • Yes, if they don't provide a COM plugin, you have to write your own :) – Stefan Feb 10 '09 at 17:12
  • Stefan, Can I close an issues from TSvn directly when I made a commit?, also where Can I find a resource to write COM plug-ins for TSVN? – Mohammed Nasman Feb 10 '09 at 19:38
  • 1
    Closing issues directly from TSVN will be possible in the next version (and of course if the plugin supports it). You can find docs on how to implement such a COM plugin here: http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/contrib/issue-tracker-plugins (username: 'guest', leave password empty) – Stefan Feb 10 '09 at 20:44
  • Thanks Stefan, you have made a great work for all the developers with TSVN :-) – Mohammed Nasman Feb 12 '09 at 16:43
2

There is an existing Tortoise plugin for Redmine that you can try.

Tim
  • 4,414
  • 4
  • 35
  • 49