在 Telelogic Synergy 命令行中查找与 CR 关联的基线
如何使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为基线和 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().
变更请求更多地与发布而不是基线相关联。因此,以下查询将帮助您获取 RELEASE,您可以进一步运行另一个查询来检索基线。
要检索发布版本,
一旦检索到 RELEASE 和 MODIFY_TIME,请运行一个新查询来获取基线,
这样您将获得可以使用的更窄的基线列表,我知道这可能不是您正在寻找的答案,但是这可能有帮助。
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
Once you retrieve the RELEASE and MODIFY_TIME, run a new query to get the BASELINES
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.