Manuals

Capítulo 7. IBugtraqProvider interface

Índice

Convenções de nomenclatura
The IBugtraqProvider interface
The IBugtraqProvider2 interface

To get a tighter integration with issue trackers than by simply using the bugtraq: properties, TortoiseSVN can make use of COM plugins. With such plugins it is possible to fetch information directly from the issue tracker, interact with the user and provide information back to TortoiseSVN about open issues, verify log messages entered by the user and even run actions after a successful commit to e.g, close an issue.

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. (“Licença” explains how to access the repository.)

Importante

You should provide both a 32-bit and 64-bit version of your plugin. Because the x64-Version of TortoiseSVN can not use a 32-bit plugin and vice-versa.

Convenções de nomenclatura

Se publicares um plugin de rastreador de problemas para o TortoiseSVN, por favor não lhe dês o nome de Tortoise<QualquerCoisa>. Gostariamos de reservar o perfixo Tortoise para um cliente de controlo de versões integrado na shell do Windows. Por exemplo: TortoiseCVS, TortoiseSVN, TortoiseHg, TortoiseGit e o TortoiseBzr são todos clientes de controlo de versões.

Dá, por favor, um nome ao teu plugin de cliente Tortoise Tartaruga <something> , onde <something> será referente ao controlador de problemas ao qual estás ligado. Em alternativa, escolhe um nome que soe como Tartaruga mas tenha uma primeira letra diferente. Bons exemplos são:

  • Gurtle - Um plugin de rastreador de reportes para Google code

  • TurtleMine - Um plugin de rastreador de reportes para Redmine

  • VurtleOne - Um plugin de rastreador de reportes para VersionOne

TortoiseSVN homepage