在ClearCase中,将新文件添加到源代码管理后,更新变更集和动态视图需要多长时间? [英] In ClearCase how long does it take for a changeset and dynamic view to be updated after adding a new file to source control?

查看:52
本文介绍了在ClearCase中,将新文件添加到源代码管理后,更新变更集和动态视图需要多长时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图了解执行添加到源代码控制操作后ClearCase操作需要花费多长时间.

I am trying to understand how long ClearCase operations take after performing the add to source control operations.

如果我正在CCRC快照视图中工作,并将文件添加到源代码管理,则用新行更新更改集需要多长时间,并且在操作完成之前需要多长时间才能使用新文件在动态视图下指向文件检入到的流?

If I am working through a CCRC snapshot view and I add a file to source control, how long will it take for the changeset to be updated with the new line, and how long until the operation completes will the new file be available under a dynamic view pointing to the stream that the file was checked into?

是否可以通过调用动态视图之类的手动更新来加快该过程?

Is there any way to speed up that process by invoking a manual update of the dynamic view or something?

此致

安德鲁

推荐答案

更改集用新行更新需要多长时间

how long will it take for the changeset to be updated with the new line

一旦您签出文件,选择一个活动,它将立即更新该活动的进程集.

As soon as you checkout a file, selecting an activity, it will update the chenge set of said activity immediately.

只有在您签入(通过CCRC中的Web快照视图)后,动态视图才会反映该文件,并且该更新也几乎是即时的.
为了加快速度,您可以刷新动态视图,或在要查看更新的目录中使用cleartool ls.

A dynamic view would reflect that file only after you check in (through your web snapshot view in CCRC), and that update would also be near instantaneous.
To speed up, you can refresh the dynamic view, or do a cleartool ls in the directory you want to see updated.

在每种情况下,当您通过CCRC进行结帐或签入时,您都会向CCRC服务器发布一个http请求,这反过来又完成了ClearCase Vob/View服务器的操作.
因此,一旦签出/签入完成,任何其他ClearCase视图(无论是否为CCRC)都将准备好反映更改.
唯一需要时间的部分是CCRC客户端和CCRC服务器之间的通信.该服务器通常与ClearCase服务器位于同一局域网中,因此ClearCase命令本身执行起来很快.

In each case, when you are doing a checkout or a checkin through CCRC, you are posting an http request to the CCRC server which in turn complete the operation with the ClearCase Vob/View server.
So once the checkout/checkin is completed, any other ClearCase view (CCRC or not) would be ready to reflect the changes.
The only part which takes time is the communication between the CCRC client and the CCRC server. That server being usually on the same LAN as the ClearCase server, the ClearCase command itself executes fairly quickly.

相当快"的结果对OP来说太慢了:签入后触发.

"fairly quickly" turned out too slow for the OP's need: a postop trigger on checkin.

该触发器使用服务器端的ClearCase动态视图,并且必须在元素签入(在 mkelem 上)上引入睡眠,以便第二次调用该触发器(在父目录上)正在检入)以正确检测新创建的文件.

That trigger use a ClearCase dynamic view on the server side, and has to introduce a sleep on the element checkin (on mkelem) in order for the second call of that trigger (on the parent directory being checked in) to properly detect the new created file.

这篇关于在ClearCase中,将新文件添加到源代码管理后,更新变更集和动态视图需要多长时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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