version-control - 在 Rational Team Concert 中保持不同流中的相同组件同步

标签 version-control synchronization rational-team-concert ibm-rational

我们有一个客户端/服务器项目,其中包含三个组件:

  • 客户端
  • 服务器
  • 基础库

客户端和服务器都引用 BaseLibrary。因此我创建了两个流:

  • Server Stream 包含 Server 和 BaseLibrary 组件
  • Client Stream 包括 Client 和 BaseLibrary 组件

现在,如果我在一个流中对 BaseLibrary 进行更改,则它们不会出现在另一个流中。有没有办法让组件在不同的流上与 RTC 2 保持同步?

我还尝试为每个其他流设置流量目标,但这似乎没有帮助。

最佳答案

流之间的流目标只是为了帮助您可视化交付/接受流应该发生的位置:它是一个可视化工具,您可以在创建“流程图”时使用。

在 3.0.1 中,您实际上可以 show pending changes from one Stream to another .

show pending changes pending changes

现在您可以设置构建定义和 use the post-build Deliver 为了自动从一个流传送到另一个流:

post deliver

In this scenario "TeamA" still uses the same trigger policy (to ensure anything they deliver has been validated), however now they are only delivering their single component to the "Integration Stream". In this situation there is no "green" stream, and the Release Engineer no longer has to deliver changes to the integration stream since it is now automated.

Also note from the above Figure that the two checkboxes "Add components to deliver if they do not exist in the deliver target" and "Remove components from the deliver target if they do not exist in the build workspace" are NOT checked.
It is recommended to not propagate component additions / deletions to an integration stream via some automated mechanism. The last thing the team would want is to have all other components removed from the integration stream because someone accidentally modified their team's stream.
The adding or removing of components should be done manually by the Release Engineer in these cases.
For example, if the team needs a new component, they should first add it to their stream, and deliver it to the integration stream. They would then modify the "Components to deliver" selection in the "Post-build Deliver" tab to include this new component and have it automatically delivered afterwards

关于version-control - 在 Rational Team Concert 中保持不同流中的相同组件同步,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9284370/

相关文章:

Git 日志历史

version-control - 如何仅在创建新标签时强制执行 Mercurial 存储库的远程 gnupg 签名?

synchronization - 如果不同处理器中的两个进程试图同时获取锁会发生什么

c# - HttpWebRequest .GetResponse 抛出 WebException 'The operation has timed out'

Git 分支在 Pull 或 Fetch 后不显示在 "git branch"但 "git checkout"工作......?

version-control - Liferay 门户如何置于版本控制之下?

objective-c - 对可能被objective-c中的另一个线程锁定的对象执行 "dirty read"的最佳方法

java - Java 8 Stream并行处理时,所有处理器核心的缓存是否同步?

java - IBM RTC API - 将文件添加到更改集

timestamp - RTC - 为本地文件加上实际 checkin 历史时间的时间戳