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

Identifying changed subset of an RTC component

 Scenario:
  • 100+ RTC Components
  • Each RTC Component logically maps to a 'Module' in our architecture
  • 1000+ 'components' (not RTC components) in our architecture
  • Each Module (RTC Component) contains between around 1 and 50 'components' in our architecture
Our Components are represented in a folder hierarchy under each Module (RTC Component).
So every RTC component has one or more subfolders, with each first level subfolder representing one component in our architecture. Each of the component subfolders includes build scripts.

On code delivery, we want to build only the changed components (our components, not RTC components) in a Module (an RTC component). So, as part of a change set delivery, we want to invoke the build scripts for any components (our components, not RTC components) that have changed.

We will be using RTC 5.0.2, and Jenkins for builds.

Whats the best way to achieve this? 

It would seem that nested components in RTC 6 would be a great way to go, with each component in our architecture mapping to an RTC component, and using higher level RTC components to represent our Modules, to nest he relevant components and manage the complexity/scale. In that case, this identification of changed subset of an RTC component would not be necessary, but we're only just moving to RTC 5.0.2, so need a more immediate solution.

0 votes



One answer

Permanent link
You would have to use the RTC SCM commandline to detect the changes (between the current baseline and the one before) that go into the change and from that find the scripts to run.

I am not convinced that 1000+ nested components in a stream would scale. I think this could have performance impacts.

0 votes

Comments

Ralph, thanks.


That concern around performance (as well as human navigation concerns in the absence of nesting) is indeed why we have adopted the current approach - good to know that RTC 6 doesnt really help here.

I believe you are suggesting a 2 step solution:

1. Baseline on every delivery
2. Write a script to detect changes

For #2, do you have any pointers to examples?

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,019

Question asked: Sep 15 '15, 6:13 a.m.

Question was seen: 2,215 times

Last updated: Sep 15 '15, 9:08 a.m.

Confirmation Cancel Confirm