加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Python > 正文

您使用Mercurial协调Pivotal Tracker的工作流程是什么?

发布时间:2020-12-16 22:56:13 所属栏目:Python 来源:网络整理
导读:我想将 Pivotal Tracker用于新项目,但我不知道如何将它与Mercurial一起使用,以便轻松地从一个工具转到另一个工具. 您使用什么工作流程将Pivotal Tracker中的用户故事/功能与您的DVCS(Mercurial / Git)相关联? 提前感谢您的建议. 解决方法 如果有人仍在寻找
我想将 Pivotal Tracker用于新项目,但我不知道如何将它与Mercurial一起使用,以便轻松地从一个工具转到另一个工具.

您使用什么工作流程将Pivotal Tracker中的用户故事/功能与您的DVCS(Mercurial / Git)相关联?

提前感谢您的建议.

解决方法

如果有人仍在寻找答案,则存在一种服务,允许mercurial用户在其提交消息中使用[#story_id finished]等语法连接到关键跟踪器. Bitbucket也允许这种集成.

链接:https://bitbucket.org/proppy/hgpivotal/src/tip/hgpivotal.py

07001:

The minimum commit message string that will allow Tracker to associate
a source_commits POST with a story and create a comment is a single
story ID enclosed in square brackets: ‘[#12345678]’. A more typical
message,indicating that one commit completes two stories (which need
not be in the same Tracker project),might look like this: ‘finally
[finished #12345678 #12345779],fixes client/server integration
glitch’

If an included story was not already started (it was in the “not
started” state),an update to that story from /source_commits that
doesn’t contain any other state-change information will automatically
start the story.

To automatically finish a story by using a commit message,include
“fixed”,“completed”,or “finished” in the square brackets in addition
to the story ID. You may use different cases or forms of these verbs,
such as “Fix” or “FIXES”,and they may appear before or after the
story ID. Note: For features,use of one of these keywords will put
the story in the finished state. For chores,it will put the story in
the accepted state.

In some environments,code that is committed is automatically deployed. For this situation,use the keyword “delivers” and feature stories will be put in the delivered state.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读