TortoiseSVN plugin to visualise the issue list in Commit windows

Added by Bertrand Larat over 10 years ago

This is a short sample of an Issue tracker plugin for TortoiseSvn (1.5.3 and up) to Redmine. (http://tortoisesvn.net/downloads)

Plugin language is C#
Source project is for VS2005)

The config is useful :
Tortoise Settings -> Issue tracker integration -> Add
"Working copy path" is the SVN referential in relation with Redmine issue list
"Provider" is the my TortoisePlugin
"Parameters" is the adress of the Atom Feed of the issue list

When you commit, a new button allow you to open a window with the list of issue (see images).

I made this plugin a long time ago, i hope it can help some people as he help me.
Excuse me if you find some bugs.

Bertrand

Config.png - Sample of config (178 KB)

Exemple.png - Exemple of use (171 KB)

SetupPlugInTortoiseRedmine.msi - Install (MSI file) (377 KB)

PlugInTortoise.zip - Sources (122 KB)

Replies (68)

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Chris McKee about 10 years ago

Before this becomes too fragmented, Sébastien; don't you think its better to add people interested to the members within the same Google code project so once localisation is done via a language file rather then hard coded the various languages can be handled accordingly?

Anyone who wants the English Translated version just drop me an email for now.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Chris McKee about 10 years ago

I've fixed some of the code and enhanced it and translated it to English; Alpha release isn't that different from the original (behind the scenes changes) but over the next few days I'll be adding localisation in (already started); so if anyone is willing to provide a bit of translation (there's not a lot) let me know.

A few of the "help" entries are crap, they'll get changed with the English Localisation file.

http://code.google.com/p/chrismckee-project-bay/wiki/REDMINETSVN

Thanks

Chris

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein about 10 years ago

I have also upgraded this code by translating it to English, some bug fixes, Making it compatible with redmine 0.9, Updating the installer, etc.

I have my copy in a separate subversion repository. It would be nice to synchronize the efforts to enhance this plugin.

Currently I see two different projects to enhance this plugin (plus my own version that is not on code.google.com).

http://code.google.com/p/tortoise-redmine/
http://code.google.com/p/chrismckee-project-bay/wiki/REDMINETSVN

Can either of these two project owners/authors contact me so we can work on synchronizing this effort. I would like to be able to contribute to the project as well as I think I have made some significant enhancements.

Thanks,
Joshua

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein about 10 years ago

For those that want the Redmine 0.9 compatible version right now, the installer is attached.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Vincent Mailliez about 10 years ago

Hi, as you can see on the attached file, i have a problem with the plugin, when i request the list of issue created in redmine, the issue before 101 are not displayed!!

Does somebody have a solution for me?

thanks....

pluginbug.jpg (116 KB)

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Vincent Mailliez about 10 years ago

problem fixed, parameter in redmine 'feed content limit' increase.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Daniel Brauer about 10 years ago

Hi,
we would like to use the TortoiseSVN plugin.
I'm very unfamiliar with RSS feeds, though. Where do get the url used under config/parameters?
I have redmine running in a jumpbox vm with ip 192.168.42.222 and I've tried with the url http://192.168.42.222/projects/redmine-project-id/issues?format=atom&query_id= (taken from a post above) but did not receive any issues upon commit.
Whats that string after http://...key= in the example screenshot? Where do I get that from? I'm very confused...
Thanks
Daniel.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Thomas Pihl about 10 years ago

You need to click on "Show all issues" (predefined filter) to remove the "&query=" part before you copy the atom-link. If you do this you will only grab open issues.

The other way to do it is to create a filter AND SAVE IT. That way you will have something behind the equal-sign that will direct redmine to actually find some issues.

/T

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Thomas Pihl about 10 years ago

The "&key=" is a hash used instead of your password to gain access to the rss feeds.
/T

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein about 10 years ago

An updated version has been posted that contains a few bug fixes and enhancements.

The new version can be downloaded here: http://redmine-projects.googlecode.com/files/TortoiseSVNRedmineIssuesPlugin_x86_1.0.4.4.msi

See http://code.google.com/p/redmine-projects/ for details.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein about 10 years ago

An updated version has been posted that contains a few bug fixes and enhancements as well as an upgrade from .Net 2.0 to .Net 3.5.

The new version can be downloaded here: http://code.google.com/p/redmine-projects/downloads/list

Please also note that version 1.0.4.4 has a bug in the uninstaller. See the project page listed below for more information.

See http://code.google.com/p/redmine-projects/ for project details and release notes.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein almost 10 years ago

A fairly significant update was released today with a number of bug fixes, new features and performance enhancements.

The new version can be downloaded here: http://code.google.com/p/redmine-projects/downloads/list

See http://code.google.com/p/redmine-projects/ for project details and release notes.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Marcel Nadje almost 10 years ago

I've installed the latest version. My atom url is http://xxxx.some.domain/redmine/projects/elektroer/issues.atom?key=d7701e04c82f550a8c3bc51d5f2e4c1260a9e75e
If I open the Url in a browser like IE everything looks fine. If you tools tries to open the Url the following error is displayed: "An error has occured retrieving the issue list". Redmine is served via apache on windows usinng SSPI authentication. Whats wrong?

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein almost 10 years ago

Could this possibly be a proxy server issue? The current release does not support proxy servers. The next release (which will be in the next couple of days) will have basic support for proxy servers as well as more detailed error messages.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Marcel Nadje almost 10 years ago

I don't think that is a proxy issue, because the redmine server is reachable in our intranet. Is it possible that the sspi auth of the apache is the problem?

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein almost 10 years ago

I added an issue to look at this and do some testing. (http://code.google.com/p/redmine-projects/issues/detail?id=25).
Hopefully I will be able to look at this over the next week. I will privately email you a beta of the current development to see if it fixes the problem in the mean time.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein almost 10 years ago

A new release was issued today with a few other bug fixes and enhancements.

See change list Here

The new version can be downloaded here: TortoiseSVNRedmineIssuesPlugin_x86_1.1.0.2.msi

See http://code.google.com/p/redmine-projects/ for project details.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Marcel Nadje almost 10 years ago

Hi, I've tested the new release. The same error is shown, but more detailed:
An error has occurred retrieving the issue list:
Der Remoteserver hat einen Fehler zurückgegeben: (401) Nicht autorisiert.

The problem is the sspi auth. I've configured sspi auth like here http://www.redmine.org/boards/2/topics/127.
Can you do something to avoid this problem?

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein almost 10 years ago

Hi, thanks for the update. I will do some investigation and see what sort of solution I can find. Knowing the connection error type helps.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein almost 10 years ago

I think I may have fixed the sspi authentication issue.

Attached is a beta release for version 1.1.0.3 (the only change from 1.1.0.2 is added sspi authentication).

Please try this and let me know if it works for you. If so I will promote the 1.1.0.3 release after I do some additional testing of my own.

Thanks,
Joshua

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Marcel Nadje almost 10 years ago

Wow, it work fine now :-)
One question: How can I change the generated ticket ling from (Issue #81) to (Refs #81)? Is there a config option in your tool?

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein almost 10 years ago

At the moment there is not an option for this but once we add multi language support the word "Issue" will appear in what ever language version is installed. So far we have people who have volunteered to translate the application into Spanish and German. Also the application has changed enough that we need someone to translate into French again.

The multi language support is still a couple of weeks out as there is still one more set of UI elements that will be added to the next release that will also need translation.

I am glad the SSPI Authentication is working, I will promote version 1.1.0.3 from beta to the current release.

RE: TortoiseSVN plugin to visualise the issue list in Commit windows - Added by Joshua Stein almost 10 years ago

It looks like people are still downloading the 1.1.0.3 beta from the link above. The release version of 1.1.0.3 was made available on the project web site for download.

The new version can be downloaded here: http://code.google.com/p/redmine-projects/downloads/list

See http://code.google.com/p/redmine-projects/ for project details and release notes.

If you have already installed the beta then there is no need to update to the release version as the code base is the same.

1 2 3 (26-50/68)