Get the components which has file extension in SCM
Hello Team,
Usecase: i would like to get list of components of Streams which has selected file extension for eg: sbsx (rhapsody files)
Could you please some hints or idea how to achieve this?
either in SCM CLI /JRS or we shall develop using RTC API?
Thanks
|
Accepted answer
Ralph Schoon (63.7k●3●36●47)
| answered Feb 08 '22, 7:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER https://github.com/jazz-community/ewm-scm-utils provides the analyze* commands for that (only for the current state of a stream/workspace). analyzeScmRepository analyzes the whole repository. It runs as a single user and churns out some statistics, including the file extensions. The code is available and you can extend it. It has been used with customers for support purposes and to a small extend to analyze the file sizes and depth of nesting. vinitha dsouza selected this answer as the correct answer
Comments
Ralph Schoon
commented Feb 08 '22, 8:53 a.m.
| edited Feb 08 '22, 8:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The tool is based on the EWM Java API. The SCM CLI would have to load files locally that you then would have to analyze for all I know. I do not know if reporting provides this information. You would have to dig into that. |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.