如何搜索ClearCase存储库 [英] How to search ClearCase repositories

查看:61
本文介绍了如何搜索ClearCase存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚切换为使用ClearCase,想知道它是否具有跨VOB搜索进行的任何内置工具或插件.我以前使用Opengrok通过每晚检查头部来索引Subversion和Git存储库,我想我可以为Clearcase做同样的事情.但是在此之前,我想知道是否有任何现有的ClearCase功能.我绝对可以利用文件系统(例如Windows File Explorer),但对于开发人员来说效率不高.

I just switched to use ClearCase and want to know if it has any build-in tool or plugin to do across VOBs search. I previously used Opengrok to index the Subversion and Git repositories by checking the head out nightly and I think I can do the same for Clearcase. But before that, I want to know if there is any existing ClearCase capability for so. I definitely can leverage the file system (i.e. Windows File Explorer) but it is not efficient enough for developers.

或者对搜索ClearCase代码的任何其他良好实践的建议将不胜感激.

Or suggestions on any other good practice for searching ClearCase code will be appreciated.

推荐答案

主要选项是

The main option is cleartool find -avobs, but the best practice is to limit the search to:

  • 一个摇篮
  • 在特定ClearCase视图中可见(表示已选择)的元素

这是获得结果的最快方法.

That is the fastest way to get results.

IBM页面" cleartool find命令的其他示例"说明了您可以在Vob中进行的多种搜索.
我在其中使用了一些

The IBM page "Additional examples of the cleartool find command" illustrates many type of search you can do in a Vob.
I use some of them in:

  • "ClearCase find and exec with %CLEARCASE_PN% in cmd always returns same element"
  • "Find files in Clearcase view newer than a specific date?"
  • "Clearcase protect -chmod +x recursively all *.exe"

这篇关于如何搜索ClearCase存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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