简体   繁体   English

TortoiseGit为GitHub发布追踪器集成

[英]TortoiseGit Issue Tracker Integration for GitHub

TortoiseGit has a bunch of issue trackers integration plugins. TortoiseGit有一堆问题跟踪器集成插件。 One such useful plugin is Gurtle which shows the list of open issues during a commit operation so issues can be closed directly during commit. 一个这样有用的插件是Gurtle ,它显示了提交操作期间的未解决问题列表,因此可以在提交期间直接关闭问题。

Does such a plugin exist for GitHub issues integration? 这样的插件是否存在GitHub问题集成? Are there any other similar tools for Github issues? Github问题还有其他类似的工具吗?

Screenshot of TortoiseGit + Google Code issue tracker integration: TortoiseGit + Google Code问题跟踪器集成的屏幕截图:

TortiseGit问题跟踪器集成

I've found that TurtleHub works okay. 我发现TurtleHub工作正常。 You have to build it yourself and install following some pretty arcane instructions . 你必须自己构建它并按照一些非常神秘的指示安装。 Since Google Code is going away soon, I'll quote those instructions here: 由于Google Code很快就会消失,我会在这里引用这些说明:

Registering your new C# class can be done by using RegAsm from the command line, as follows: 注册新的C#类可以通过命令行中的RegAsm来完成,如下所示:

 RegAsm bin\\Debug\\MyCsPlugin.dll /codebase /regfile:MyCsPlugin.reg 

You'll need to edit the .REG file, by adding another "Implemented Categories" entry that looks like this: 您需要编辑.REG文件,方法是添加另一个“Implemented Categories”条目,如下所示:

[HKEY_CLASSES_ROOT\\CLSID{PUT-GUID-HERE}\\Implemented Categories{3494FA92-B139-4730-9591-01135D5E7831}] [HKEY_CLASSES_ROOT \\ CLSID {PUT-GUID-HERE} \\已实施类别{3494FA92-B139-4730-9591-01135D5E7831}]

Replace "PUT-GUID-HERE" with the same value you used earlier. 将“PUT-GUID-HERE”替换为您之前使用的相同值。

Then, merge that .REG file into the registry, and your plugin is ready to go! 然后,将.REG文件合并到注册表中,您的插件就可以了!

The RegAsm command didn't work for me, so I had to provide its full path. RegAsm命令对我不起作用,所以我必须提供完整的路径。 My command ended up looking like this: 我的命令最终看起来像这样:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe bin\Release\TurtleHub.dll /codebase /regfile:bin\Release\TurtleHub.reg

Next, I edited the resulting TurtleHub.reg file and added this line at the end: 接下来,我编辑了生成的TurtleHub.reg文件,并在最后添加了这一行:

[HKEY_CLASSES_ROOT\CLSID\{B2C6EC0F-8742-4792-9FDC-10635D2C118B}\Implemented Categories\{3494FA92-B139-4730-9591-01135D5E7831}]

After this, I double-clicked the .reg file to add it to the registry. 在此之后,我双击.reg文件将其添加到注册表。

The parameters are fairly intuitive. 参数非常直观。 There's only one: [username]/[reponame] 只有一个:[用户名] / [reponame]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM