Products.Poi and Subversion integration
Is there any ready-to-use solution for integrating Products.Poi with a Subversion changelog? If not, which would be the steps to code it?
I'd like to have a note added to the Poi issue tracker whenever a commit to the SVN repository references the issue id in the log message. Something like wh开发者_Go百科at is possible to be done with MantisBT, for instance.
You could probably create an after-commit hook in subversion for this.
Check if the log messages mentions #123 (as example).
Somehow figure out which issue tracker this would need to be posted to. Let's just say you have only one tracker that corresponds to this subversion repository.
In that hook do a POST with the required info to the url that you would use when submitting a response to an issue.
EDIT: part of the solution may be the poi.receivemail package: let your subversion hook send an email to an address that you have hooked up with poi.receivemail and smtp2zope.
There is no existing solution or integration for this.
Maurits' proposal might work if you just figure out which urls to use (check the forms)
精彩评论