Bzr bug tracker plugin for Redmine

Asked by Mace

Hi. I wonder if it would be worthwhile for somebody to implement the bzr bug tracker feature[0] for Redmine too. Redmine has a RESTful API for doing all sorts of things, and updating of issues is possible[1]. Basically you submit XML of json to Redmine, but i wonder what does bzr send with the bugtracker_tracker_url[2]. It seems to say in the documentation that bzr can at this time only mark an issue/bug as "fixed".

[0] bzr commit --fixed trackedname:id
[1] http://www.redmine.org/projects/redmine/wiki/Rest_Issues
[2] http://doc.bazaar.canonical.com/bzr.dev/en/user-reference/bugs-help.html#bugtracker-tracker-url

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Martin Pool
Solved:
Last query:
Last reply:
Revision history for this message
Best Martin Pool (mbp) said :
#1

I think that would be good to add. Probably not too hard to do as a post-commit hook in bzr if you're interested and know a little bit of Python.

Revision history for this message
Mace (xmacex) said :
#2

Hmm i didn't think of the post-commit hook, that might be a good idea, though it's different from the generalistic, builtin bugtracker feature of bzr. A hook could indeed do a lot more, like store the commit log also etc. Hmm..

Revision history for this message
Mace (xmacex) said :
#3

Thanks Martin Pool, that solved my question.

Revision history for this message
Mace (xmacex) said :
#4

Off-topic, i love the Launchpad automatics "thanks" -feature. I wish the whole world was more like this :)

Revision history for this message
Martin Pool (mbp) said :
#5

> Off-topic, i love the Launchpad automatics "thanks" -feature. I wish the
> whole world was more like this :)

Me too; I wish Launchpad had it for bugs too :)

Revision history for this message
Pierre (ibizapeanut) said :
#6

Sorry to bump this, but can you post your post-commit hook ?
thanks !