在 Telelogic Synergy 命令行中查找与 CR 关联的基线

发布于 2024-08-18 22:58:39 字数 188 浏览 6 评论 0原文

如何使用 CLI 界面在 Telelogic Synergy 中找到与 CR 相关的基线?我尝试过 ccm 查询“cvtype='baseline' and cr('xxx')”,但这不会产生任何结果。

从 GUI 中,您可以查看基线的属性并查看哪些 CR 与基线关联,但我似乎找不到合适的 CLI 魔法来允许我编写脚本来获取 CR 并列出基线。

How would one find baselines associated with a CR in Telelogic Synergy using the CLI interface? I have tried ccm query "cvtype='baseline' and cr('xxx')", but this doesn't produce any results.

From the GUI you can look at the properties of a baseline and see which CRs are associated with the baseline, but I can't seem to find the proper CLI magic to allow me to write a script to take a CR and list the baselines.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

吖咩 2024-08-25 22:58:39

我认为基线和 CR 之间的关联是通过关系(ccm 相关)来处理的。
在 Synergy 手册中搜索“预定义关系”以获取现有关系的列表。当您知道关系的名称后,您应该能够使用函数 has_relationship_name() 进行查询。

I think associations between a baseline and a CR are handled with relationships (ccm relate).
Search for "Predefined relationships" in the Synergy manual for a list of the existing relationship. When you know the name of the relationship you should then be able to use a query with the function has_relationship_name().

旧情别恋 2024-08-25 22:58:39

变更请求更多地与发布而不是基线相关联。因此,以下查询将帮助您获取 RELEASE,您可以进一步运行另一个查询来检索基线。

要检索发布版本,

ccm.exe query -f "%release %modify_time %create_time" "cr('xxxxx')"

一旦检索到 RELEASE 和 MODIFY_TIME,请运行一个新查询来获取基线,

ccm.exe query -f "%objectname %modify_time %create_time" "(cvtype='project') and (release='pppp/qqqq') and (modify_time>=time('1/30/13'))" -s integrate

这样您将获得可以使用的更窄的基线列表,我知道这可能不是您正在寻找的答案,但是这可能有帮助。

Change request is associated more with a RELEASE rather than a BASELINE. So the following query will help you get the RELEASE, you can further run another query to retrieve the baseline.

To retrieve the release for the

ccm.exe query -f "%release %modify_time %create_time" "cr('xxxxx')"

Once you retrieve the RELEASE and MODIFY_TIME, run a new query to get the BASELINES

ccm.exe query -f "%objectname %modify_time %create_time" "(cvtype='project') and (release='pppp/qqqq') and (modify_time>=time('1/30/13'))" -s integrate

This way you will get a narrower list of BASELINES you can work with, I know this may not be the answer you are looking for but it might help.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文