It's all about the answers!

Ask a question

Labeling a Snapshot (or Component Baseline)


Adil Chahid (45524118) | asked Oct 21 '10, 9:25 a.m.
Hi all,

What would be the best practice to label a Baseline State?

Let me explain: My Build Engine just created a new successful build (it also created a Snapshot for the components that were loaded in the RTC WS that was assigned to that Build Definition).
I can decide to follow up the Promotion path were I'd share that Generic Snapshot back to the Integration Stream, but this is not enough.
I'd like to be able to manage this baseline state.
For example When the SIT was completed by the QA team, I'd like to flag it as SIT_PASSED
Once we deploy the code related to that snapshot to UAT environment and the UAT has passed I'd like to flag it as UAT_PASSED.
Off course once deplyed in production it has to be flagged as PRODUCTION.
Previously in Rational ClearCase, we had the ability to promote a Baseline (different promotion concept than the one used in RTC) and we were also able to filter the baselines according to their promotion status.
So I was able to re-create a Stream with the last version (or baselines) of the components that were tagged as deployed in production (with the Attribute PRODUCTION).
Is there a way or a good methodology that we could follow in RTC in order to realize the same goal?
Right now by renaming the snapshots from 20101010_1306 to PROD_201010_1306 for each component was the only way I found so far to adapt the ClearCase Baseline promotion mechanism.
I don't like that way since I rename something that is supposed to stay static.
I also don't feel confortable to create a new Baseline that points on the same state of the code, since even if it is supposed to be in the same state, it still not the baseline that was created by my successful build.

Please share with us your thoughts on the question.
Take care all!

5 answers



permanent link
Adil Chahid (45524118) | answered Oct 21 '10, 9:44 a.m.
I've asked for an enhancement for implementing the SCM Component state Attribute as follow: RTC Enhancement 137639

http://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=137639

permanent link
Geoffrey Clemm (30.1k33035) | answered Oct 22 '10, 8:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I recommend that you represent the "state" ("promotion level") for a
baseline in the form of an RTC stream. To mark a baseline as being at a
given promotion level, just deliver it to the stream for that promotion
level. One of the advantages of this approach is that you can see the
"history" of that promotion level, i.e. the sequence of baselines that
have achieved that promotion level.

Cheers,
Geoff

On 10/21/2010 9:38 AM, Thunder wrote:
Hi all,

What would be the best practice to label a Baseline State?

Let me explain: My Build Engine just created a new successful build
(it also created a Snapshot for the components that were loaded in
the RTC WS that was assigned to that Build Definition).
I can decide to follow up the Promotion path were I'd share that
Generic Snapshot back to the Integration Stream, but this is not
enough.
I'd like to be able to manage this baseline state.
For example When the SIT was completed by the QA team, I'd like to
flag it as SIT_PASSED
Once we deploy the code related to that snapshot to UAT environment
and the UAT has passed I'd like to flag it as UAT_PASSED.
Off course once deplyed in production it has to be flagged as
PRODUCTION.
Previously in Rational ClearCase, we had the ability to promote a
Baseline (different promotion concept than the one used in RTC) and
we were also able to filter the baselines according to their
promotion status.
So I was able to re-create a Stream with the last version (or
baselines) of the components that were tagged as deployed in
production (with the Attribute PRODUCTION).
Is there a way or a good methodology that we could follow in RTC in
order to realize the same goal?
Right now by renaming the snapshots from 20101010_1306 to
PROD_201010_1306 for each component was the only way I found so far
to adapt the ClearCase Baseline promotion mechanism.
I don't like that way since I rename something that is supposed to
stay static.
I also don't feel confortable to create a new Baseline that points on
the same state of the code, since even if it is supposed to be in the
same state, it still not the baseline that was created by my
successful build.

Please share with us your thoughts on the question.
Take care all!

permanent link
Raj K (10222125) | answered Nov 02 '10, 3:45 a.m.
This solution doesn't look to scale as we have 18 Streams & DEV, QA, UAT, PROD as states would make it 72 Streams. In addition we will have bug fix streams.

I recommend that you represent the "state" ("promotion level") for a
baseline in the form of an RTC stream. To mark a baseline as being at a
given promotion level, just deliver it to the stream for that promotion
level. One of the advantages of this approach is that you can see the
"history" of that promotion level, i.e. the sequence of baselines that
have achieved that promotion level.

Cheers,
Geoff

permanent link
Adil Chahid (45524118) | answered Nov 02 '10, 7:38 a.m.
Hi all,
Raj_ss is actually right, we'll be having the same issues in the bigger projects.
Since we don't want to rename the baselines in order to reflect their state of promotion, it would be great to introduce a Clearcase like baseline promotion mechanim with filtering allowing us to choose the baseline per specific state.
Please advise.


This solution doesn't look to scale as we have 18 Streams & DEV, QA, UAT, PROD as states would make it 72 Streams. In addition we will have bug fix streams.

I recommend that you represent the "state" ("promotion level") for a
baseline in the form of an RTC stream. To mark a baseline as being at a
given promotion level, just deliver it to the stream for that promotion
level. One of the advantages of this approach is that you can see the
"history" of that promotion level, i.e. the sequence of baselines that
have achieved that promotion level.

Cheers,
Geoff

permanent link
Geoffrey Clemm (30.1k33035) | answered Nov 04 '10, 12:37 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
A stream is a lightweight object, so assuming that you have 18 streams
because you have a number of different teams, giving each team its own
DEV/QA/UAT/PROD streams would be quite reasonable. You can use the "my
team areas" filter to keep the number of streams in the Team Area
Navigator reasonable.

Cheers,
Geoff

On 11/2/2010 3:53 AM, raj_ss wrote:
This solution doesn't look to scale as we have 18 Streams& DEV,
QA, UAT, PROD as states would make it 72 Streams. In addition we will
have bug fix streams.

I recommend that you represent the "state"
("promotion level") for a
baseline in the form of an RTC stream. To mark a baseline as being
at a
given promotion level, just deliver it to the stream for that
promotion
level. One of the advantages of this approach is that you can see
the
"history" of that promotion level, i.e. the sequence of
baselines that
have achieved that promotion level.

Cheers,
Geoff

Your answer


Register or 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.