TortoiseSVN集成禅道插件发布
- 2016-10-24 13:12:00
- 王怡栋 原创
- 23619
大家好,TortoiseSVN可以和禅道集成了。在 TortoiseSVN中提交代码就可以自动更新关联禅道的任务和Bug。
感谢网友张彪的开发。https://zb.oschina.net/developer/583244
一、下载地址
1、源代码: https://github.com/easysoft/zentaoextension/tree/master/client/tortoise
2、安装包: http://dl.cnezsoft.com/zentao/ tortoise/TurtleZenTao-20161026.rar
注:8.3以前版本,提交代码的日志不能记录。因为还没有记录的API。可以到 https://github.com/easysoft/zentaopms/blob/master/module/svn/control.php,将最新control.php文件替换到本地。
二、安装及使用
1、安装
下载安装包并且解压到不含中文路径的目录中,双击TurtleZenTao.exe。
2、配置
1) 打开 tortoiseSVN的配置页面。
2) 找到配置页面中的 Hook Scripts -> Issue Tracker Integration,点击添加
3) 如图填写内容并保存。
3、使用
1) 如果安装成功并且配置正确,在提交页面会有 “从禅道中选择” 按钮
2) 点击该按钮进入选择禅道页面,如果第一次使用,首先需要添加禅道关联。
3) 在站点编辑页面,按照提示填写正确的禅道网址及用户名和密码。点击添加,即可关联禅道。
4) 在网址管理页面中,双击需要关联提交的禅道,如果站点配置正确。就可以获取该站点指派者自己的任务和Bug。
5) 勾选该次提交所涉及的任务或Bug。点击 确定 按钮。
注:勾选任务的时候需要填写工时信息。
6) 会根据勾选内容自动升级提交日志
7) 最后点击提交。插件后自动调用禅道API,修改Bug或任务数据,添加禅道日志。
联系人: 陈冬冬
电话/微信: 13206385027
Email: chendongdong@easycorp.ltd
QQ: 2035719629
地址:青岛市黄岛区井冈山路157号中南金石国际广场A座3202室
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
在 Newtonsoft.Json.JsonTextReader.ParseValue()
在 Newtonsoft.Json.JsonTextReader.Read()
在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter)
在 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
在 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
在 Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
在 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
在 TurtleZenTaoLib.ZenTaoManage.getBugList() 位置 f:\chandao-svn\zentaoextension\client\tortoise\TurtleZenTaoLib\ZenTaoManage.cs:行号 114
在 TurtleZenTaoLib.ZenTaoManage.searchBugList(String keyword) 位置 f:\chandao-svn\zentaoextension\client\tortoise\TurtleZenTaoLib\ZenTaoManage.cs:行号 141
在 TurtleZenTaoLib.IssuesForm.searchBug(String keyword) 位置 f:\chandao-svn\zentaoextension\client\tortoise\TurtleZenTaoLib\IssuesForm.cs:行号 208
在 TurtleZenTaoLib.IssuesForm.IssuesForm_Load(Object sender, EventArgs e) 位置 f:\chandao-svn\zentaoextension\client\tortoise\TurtleZenTaoLib\IssuesForm.cs:行号 240
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.Form.WmShowWindow(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
TurtleZenTaoLib
程序集版本:1.0.0.0
Win32 版本:1.0.0.0
基本代码:file:///F:/chandao-svn/zentaoextension/client/tortoise/TurtleZenTao/bin/Debug/TurtleZenTaoLib.dll
----------------------------------------
System.Windows.Forms
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
mscorlib.resources
程序集版本:4.0.0.0
Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
Newtonsoft.Json
程序集版本:4.5.0.0
Win32 版本:4.5.11.15520
基本代码:file:///F:/chandao-svn/zentaoextension/client/tortoise/TurtleZenTao/bin/Debug/Newtonsoft.Json.DLL
----------------------------------------
System.ComponentModel.DataAnnotations
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
----------------------------------------
System.Runtime.Serialization
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Xml.Linq
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Data
程序集版本:4.0.0.0
Win32 版本:4.6.1073.0 built by: NETFXREL3STAGE
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Windows.Forms.resources
程序集版本:4.0.0.0
Win32 版本:4.0.30319.18408 built by: FX451RTMGREL
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
只是有个问题,状态是改成已解决了,但指派人还是我,应该指派给Bug创建者吧?
提交svn关联bug,选择已解决,禅道上也会修改为已解决,没问题
但是一般开发解决bug后,这个bug会指派测试或者是这个bug的创建者,禅道上的“解决”操作页面也是有默认的指派对象的
而这个插件没有这样指派,我不得不再手动指派一次
不知道这个问题可以处理吗?