As the person who rolled the past few trac-bzr releases: I currently don't have the time to read and compare those commit hooks you offered. It appears that there are two scripts here and one in a branch by Jelmer at bug #120470, which is already being reviewed. It also appears that there is a number of users here who do have the time to think about these matters and even write code.
So I propose the following: can the three of you compare your scripts, review one anothers code, and hopefully come up with a solution offering the best from all three approaches. I'd then love to see a branch from which I can merge both the script and a suitable doc change. lp:~jelmer/trac-bzr/close-bugs already has part of that.
If more than one person tells me that a given piece of code for passing metadata from bzr commits to trac is good and should be included, I'll happily accept it even if I didn't test it myself. If that approach doesn't work, you'll have to wait till I have more time, dunno when that will be.
As the person who rolled the past few trac-bzr releases: I currently don't have the time to read and compare those commit hooks you offered. It appears that there are two scripts here and one in a branch by Jelmer at bug #120470, which is already being reviewed. It also appears that there is a number of users here who do have the time to think about these matters and even write code.
So I propose the following: can the three of you compare your scripts, review one anothers code, and hopefully come up with a solution offering the best from all three approaches. I'd then love to see a branch from which I can merge both the script and a suitable doc change. lp:~jelmer/trac-bzr/close-bugs already has part of that.
If more than one person tells me that a given piece of code for passing metadata from bzr commits to trac is good and should be included, I'll happily accept it even if I didn't test it myself. If that approach doesn't work, you'll have to wait till I have more time, dunno when that will be.