简体   繁体   English

使用URL链接到Starteam中的特定CR编号

[英]Use url Link to specific CR number in Starteam

I'm working on migration from starteam to GIT. 我正在研究从starteam到GIT的迁移。

Git will be used as verison control system. Git将用作版本控制系统。 Right now the plan is to continue using starTeam as a issue tracker. 现在,该计划是继续使用starTeam作为问题跟踪器。

My goal is to parse the commit msg and find the CR number and then create a link in that commit to starteam CR 我的目标是解析提交消息,找到CR编号,然后在该提交中创建一个链接到starteam CR

Example

Commit msg 
This commit solves CR #123

'#123' would be parsed to a link pointing into startteam using a Startteam URL “#123”将使用Startteam URL解析为指向startteam的链接

I have fixed so that GIT will complain if no CR number is added to a commit. 我已经修复,如果未将CR号添加到提交中,GIT将抱怨。 But It would have been nice that that CR number added in commit msg could be a link to the specific issue(CR) in StarTeam When I looking at the URL to a specific issue in Starteam I cannot see the connection to the CR number. 但是,很高兴在commit msg中添加的CR编号可以是StarTeam中特定问题(CR)的链接。当我查看Starteam中特定问题的URL时,看不到CR编号的连接。

This is an URL to CR 3075.... starteam://plan0542:49205/0;ns=Project;scheme=id/0;ns=View;scheme=id/80984;ns=ChangeRequest;scheme=id;scope=full 这是CR 3075的URL .... starteam://plan0542:49205/0;ns=Project;scheme=id/0;ns=View;scheme=id/80984;ns=ChangeRequest;scheme=id;scope=full

How can i change this URL to point to right issue in startteam when I only have the CR number 3075? 当我只有CR编号3075时,如何更改此URL以指向startteam中的正确问题?

Found a text about it here: Link 在这里找到有关它的文本: 链接

The solution ended up like this. 解决方案就这样结束了。 Change to scheme=name 更改为scheme = name

starteam://plan0542:49205/0;ns=Project;scheme=id/0;ns=View;scheme=id/3075;ns=ChangeRequest;scheme=name;scope=full``

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

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