ClearCase 是否有快照视图触发器?
看来 ClearCase 中的触发器可扩展性功能必须由所有者附加到 VOB。我想要类似的东西,我可以自己管理我的本地快照视图。存在这样的功能吗?
It seems like the Trigger extensibility feature in ClearCase has to be attached to a VOB by the owner. I would like something similar that I can administer myself for my local snapshot views. Does such a feature exist?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
ClearCase 中的每个视图没有“本地触发器”。
当您创建 触发(使用
mktrtype
),您可以:CLEARCASE_SNAPSHOT_PN
CLEARCASE_VIEW_KIND
检查您是否处于快照视图中CLEARCASE_VIEW_TAG
检查您是否处于正确的视图中CLEARCASE_USER
有了所有这些元素,您就可以编写一个能够调用快照视图中版本化的自定义脚本的脚本,这意味着按照约定(在预先定义的路径中),您可以为快照视图定义由用户管理的脚本。
但除非您尝试这种间接方式,否则 ClearCase 不会直接提议本地触发器。
There is no "local trigger" per view in ClearCase.
When you create a trigger (with
mktrtype
), you can:CLEARCASE_SNAPSHOT_PN
CLEARCASE_VIEW_KIND
CLEARCASE_VIEW_TAG
CLEARCASE_USER
With all those elements, you could write a script able to call a custom script versioned in the snapshot view, which means by convention (in a path defined in advance) you could define a script managed by the user for a snapshot view.
But unless you try that kind of indirection, there is no local trigger proposed directly by ClearCase.