Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes


Accepted answer

Permanent link

 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

0 votes

Comments

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,036

Question asked: Feb 08 '22, 6:49 a.m.

Question was seen: 639 times

Last updated: Feb 08 '22, 8:53 a.m.

Confirmation Cancel Confirm