Monday, November 1, 2010

Re: Help undestanding when baselines are created

This question is not answered.

Posts: 85
Registered: Sep 14, 2006 05:05:14 AM Help undestanding when baselines are created
Posted: Oct 14, 2010 09:56:03 AM We have the following stream structure for a UCM project (aaa)
aaa_int
aaa_team
dev1_aaa
dev2_aaa

The project has 3 modifiable components - but 2 of them dont change very often

The engineers use the windows GUI tooling (e.g. project explorer) to
a) deliver acivities from the development streams to the team stream
b) create a baselines on the team stream
c) recommend the newly created baseline on the team stream

For formal builds an extra delivery is done to the integration stream and a baseline created and recommended.

Normally a baseline is only created on the component which has changed - but sometimes it seems as though baselines are being created on the components which have not changed.

Are there any circumstances when UCM will create baselines on unmodified baselines?

We have a policy which forces a rebase prior to delivery - so wondering whether somehow a rebase from integration to team could somehow provoke this (even though there shouldnt be any merging required for that rebase as there is only a single stream delivering to integration)


Posts: 314
Registered: Nov 28, 2006 05:43:16 AM Re: Help undestanding when baselines are created
Posted: Oct 14, 2010 11:55:34 AM   in response to: topman in response to: topman's post Baselines are not made if there was no change.
If you think that there is a new baseline, try to compare it with its previous baseline. You should find some difference (new versions, new activity etc.)

There is a very nice utility that can help you compare baselines. Search for 'gomidjets compbl' in Google.


Posts: 417
Registered: Sep 28, 2005 02:20:11 PM Re: Help undestanding when baselines are created
Posted: Oct 14, 2010 01:10:52 PM   in response to: topman in response to: topman's post If you deliver from ANY stream, and are not delivering a specific baseline, an unlabeled baseline will be created in the source stream. That is the only "hidden" baseline creation operation. So, if you are seeing baselines getting created in the integration streams, check to see if they are "deliverbl" baselines. If so, check your cross-project-deliver process or see if developers are trying to avoid rebasing by delivering specific changes to alternate targets.

=================================================================
Brian Cowan
Advisory Software Engineer
ClearCase SoftWare Advisory Team (SWAT)
Rational Software
IBM Software Group
550 King St
Littleton, MA 01460

Phone: 1.978.899.9471
Web: http://www.ibm.com/software/rational/support/


Posts: 19
Registered: Oct 04, 2007 03:12:39 AM Re: Help undestanding when baselines are created
Posted: Oct 26, 2010 01:33:42 PM   in response to: topman in response to: topman's post Yes, sometime clearcase creates baseline on components even if they are not modified. It took a lot of time to me to reproduce the scenario. Here it goes...

1. It happens only in projects where more than one component is modifiable. So, create a project "proj1" with comp1 and comp2 modifiable. Create 2 development streams => "user1_proj1" and "user2_proj1"
2. Modify both the components by adding new files in both the stream and deliver the changes to integration
3. Create a baseline
4. Rebase "user1_proj1", it creates a rebase activity with change set from both comp1 and comp2
5. Modify only comp1
6. Deliver "comp1" changes and the rebase activity.
7. Create a baseline. Observe that 2 baselines are created.

Why?
When you deliver rebase activity which has change-set from 2 components, clearcase creates 2 "deliver.bl" baselines in development stream. Though there is no change in comp2, clearcase marks "deliver.bl" as a change in comp2. Hence you will see an unnecessary baseline.

Solution:
No permanent solution. Making only one component modifiable per project is a solution but that may not be realistic.

Regards,
YB


Posts: 109
Registered: Jul 23, 2006 01:27:50 PM Re: Help undestanding when baselines are created
Posted: Oct 27, 2010 06:39:56 AM   in response to: topman in response to: topman's post Is the project which is having component is having any rootless component.

if that is the case then it is working as per the design.

can you share project details such how many component are use in stream and whether how many rooted and rootless.

Thanks
Dilip


Posts: 85
Registered: Sep 14, 2006 05:05:14 AM Re: Help undestanding when baselines are created
Posted: Nov 01, 2010 05:35:49 AM   in response to: Dilip.J.Mansukhani in response to: Dilip.J.Mansukhani's post YB - thanks. Confirms my suspicions that it is related to rebase.

Dilip - if your question was directed at me (rather than YB) then there were 3 components, all modifiable, and none of them rootless.

Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

No comments:

Post a Comment