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

Branching question

in RTC we do not have streams like in clearcase. Where all the devl works on devl stream and than the code is delivered to integration stream. The code is baselined on integration stream and build/deploy happens from integration stream. The developer keeps on working on devl stream.

How is this done in RTC ?
1. developers have to deliver the code on the streams eg: main stream
2. build/deploy has to happen from main stream
3. builds for devl, test, QA and prod happens from same stream
4. how do we manage that certain defects delivered and not working correctly and should not make it to prod ? is roll back is the only option ? roll backs are pain in RTC specially when the same files as been modified by more than one developer.

How do we perform parallel development ? what strategy works best for parallel development ?

if we create 2 streams MAIN and BRANCH how the delivery between streams are managed ?

0 votes



5 answers

Permanent link
Big question. There are lots of articles in jazz.net to read.

In short, in RTC, Repository Workspace replaces Development/Build Stream, the rest are still pretty much the same.

Jirong

0 votes


Permanent link
Still to get all the changes from all the developers in the workspace the source code has to be delivered to the main stream before the build can be done.

so still if some of the code is not required to go to prod has to be rolled out which is pain i think.

Other option would be to create 2 stream Main-devl and Branch-prod and Keep delivering the required QA passed workitem from Main to Branch so build can be done from branch for prod

is there any other good way ?

0 votes


Permanent link
Still to get all the changes from all the developers in the workspace the source code has to be delivered to the main stream before the build can be done.

so still if some of the code is not required to go to prod has to be rolled out which is pain i think.

Other option would be to create 2 stream Main-devl and Branch-prod and Keep delivering the required QA passed workitem from Main to Branch so build can be done from branch for prod

is there any other good way ?


I guess we are mixing concepts here.

1. In branching strategies, each branch has to have a clear purpose. So now what's your purpose of main branch? You try to use it as the integration stream and at the same time "park" the production baselines. To me, the 2nd is not necessary.

2. Rollback is not usually the actual way to fix a build. Usually we always go forward to fix the build errors. Mean fix in dev and deliver again.

Jirong

0 votes


Permanent link
Hi Jirong,

right we should always move forward to fix the build but there may be a situation that the fix works in the developers local copy but fail when delivered to the stream and if you have a fix date/time for uat/prod build and the developer is not able to figure out why it is not working when delivered the code to stream before the deadline he needs to roll it back. We want to avoid this situation and are looking for a way how can we achieve this. ?

0 votes


Permanent link
Hi Jirong,

right we should always move forward to fix the build but there may be a situation that the fix works in the developers local copy but fail when delivered to the stream and if you have a fix date/time for uat/prod build and the developer is not able to figure out why it is not working when delivered the code to stream before the deadline he needs to roll it back. We want to avoid this situation and are looking for a way how can we achieve this. ?


Then you have to have an intermediate integration stream. You can look into this article.

https://jazz.net/library/article/649

0 votes

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

Question asked: Oct 31 '11, 3:41 p.m.

Question was seen: 4,676 times

Last updated: Oct 31 '11, 3:41 p.m.

Confirmation Cancel Confirm