如何在每次交货前强制变基? [英] How to force rebase before each delivery?

查看:75
本文介绍了如何在每次交货前强制变基?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果建议使用任何基准,我们会设置政策以在交付之前强制变基.

但我们不建议每天使用基线.像这样,我们将在2周内执行一次.

在推荐的基准持续时间之间,人们经常会遇到功能方面的问题,因为他们没有采用最新的代码库.

是否有任何方法可以在每次交货前强制变基?[无论是否建议使用基线].

是否建议您在每次交货前重新定基?

解决方案

建议在交付之前进行变基,并且通常基于推荐基准"机制.

因此,即使您说是否建议不考虑基准线",我仍然建议您查看"):

  cleartool mktrtype -ucm -preop delivery_start -execwin ccperl"\\ share \ path \ to \ script.pl" -c在交付之前检查是否存在rebase活动" rebase_before_delivery @ \ pvob 

使用 script.pl 一个脚本,该脚本将列出当前流的所有活动,并检查最新活动是否是 rebase.xxx 一个活动.

  http://www.ibm.com/developerworks/forums/message.jspa?messageID=14116547 

We set policy to force rebase before delivery if any baseline is recommended.

But we would not recommend baseline everyday. We will do it once in 2 weeks like that.

In between recommend baseline duration, people are often facing issues in functionality as they have not taken latest code base.

Is there any way to force to rebase before each delivery? [irrespective of baseline is recommended or not].

Is it recommended practice to rebase before each delivery?

解决方案

It is recommended to rebase before delivering, and it usually is based on the "recommended baseline" mechanism.

So even if you said "irrespective of baseline is recommended or not", I would still suggest you look at "this deliver policy: 'Rebase before delivery'".

This policy (Require development stream to be based on the project's recommended baseline(s) prior to delivery) requires developers to rebase their source streams to the target stream current recommended baselines before they deliver work to the target stream.
The policy can be set per project or per stream, for interproject and intraproject deliver operations.

The goal of this policy is to have developers build and test their work in their development work areas against the work included in the most recent stable baselines before they deliver to the target stream. This practice minimizes the amount of merging that developers must do when they perform deliver operations.

From UCM policies:


If you don't recommend baselines on the parent stream, then you need to define a preop deliver trigger (as in this thread):

cleartool mktrtype -ucm -preop deliver_start -execwin ccperl "\\share\path\to\script.pl" -c "Check if rebase activity exists before delivering" rebase_before_delivery@\pvob

With script.pl a script which would list all activities of the current stream, checking if the latest activity is a rebase.xxx one.

http://www.ibm.com/developerworks/forums/message.jspa?messageID=14116547

这篇关于如何在每次交货前强制变基?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆