Creating Component Baseline
![]()
I want to create a baseline of a component in a stream to note a milestone. If I go to Source Control > <Stream> > <Component> and right-click on the component, I don't have an option to create a baseline. (This does seem to me to be the logical place to do it.) However, I can do this from the component in the Pending Changes view. It is not clear to me if I create a baseline, am I creating it on my repository workspace or on the stream, since they are linked together by specifying a flow target. I would appreciate some clarification on this.
Thanks!
Chris
|
Accepted answer
2 other answers
![]()
Geoffrey Clemm (30.1k●3●30●35)
| answered Feb 08 '14, 12:35 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 08 '14, 12:36 p.m.
If I want a baseline in a stream, I prefer to create the baseline directly in the stream, rather than creating it in a workspace and flowing it to the stream, because if multiple workspaces are flowing baselines to a stream, the baseline flowing behavior can be quite confusing (e.g., accepting a baseline into a workspace that has an outgoing baseline can make that outgoing baseline magically disappear). The simplest approach is to just create a snapshot on the stream (which automatically creates any needed baselines). But if you want to create a baseline in just one of the stream components, the approach I use is to give the stream a flow target (doesn't matter what flow target), and then you can show the stream in the Pending Changes view. This will allow you to create the baseline directly in the stream.
Comments What Geoff said.
1
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I've submitted work item Allow "show in Pending Changes" to be applied to a stream with no flow target (302179) requesting that you be able to add a stream into a pending changes view with "show -> pending_changes" even when the stream has no flow targets.
|
![]()
Geoffrey Clemm (30.1k●3●30●35)
| answered Feb 09 '14, 10:19 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This is fixed in 4.0.6, where you can create a baseline in a stream component from the Team Artifact Navigator (see work item Cannot create a baseline on a component in a stream from the TAN (174950)).
|
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.