第 7 章 IBugtraqProvider 接口
目录
怎样通过问题跟踪器而不是简单的利用bugtraq:
属性去获得更紧密的集成呢?TortoiseSVN可以利用COM插件来实现这个目的。这类插件的使用令直接从问题追踪者那里获取信息成为可能,还可以和用户互动,并把有关开放问题的信息返回给TortoiseSVN,也可以验校用户输入的日志信息并且在成功提交后运行某些动作,比如关闭一个问题。
We can't provide information and tutorials on how you have to implement a COM object in your preferred programming language, but we have example plugins in C++/ATL and C# in our repository in the contrib/issue-tracker-plugins
folder. In that folder you can also find the required include files you need to build your plugin. (“许可协议”一节 explains how to access the repository.)
重要
您需要同时提供32位和64位的插件。因为x64版本的TortoiseSVN不能使用32位的插件,反之亦然。
命名规范
If you release an issue tracker plugin for TortoiseSVN, please do not name it Tortoise<Something>. We'd like to reserve the Tortoise prefix for a version control client integrated into the windows shell. For example: TortoiseCVS, TortoiseSVN, TortoiseHg, TortoiseGit and TortoiseBzr are all version control clients.
Please name your plugin for a Tortoise client Turtle<Something>, where <Something> refers to the issue tracker that you are connecting to. Alternatively choose a name that sounds like Turtle but has a different first letter. Nice examples are:
Gurtle - 用于Google code的问题跟踪插件
TurtleMine - 用于Redmine的问题跟踪插件
VurtleOne - 用于VersionOne的问题跟踪插件