View baselines in snapshot?
From what I read, and what I see when experimenting with RTC 3.0.1, snapshots hold a list of components and baselines that were in a workspace or stream when the snapshot was created. Two questions:
(1) is this a correct understanding of a snapshot?
(2) is there a way in the eclipse client to view what components and baselines are in the snapshot?
(1) is this a correct understanding of a snapshot?
(2) is there a way in the eclipse client to view what components and baselines are in the snapshot?
3 answers
From what I read, and what I see when experimenting with RTC 3.0.1, snapshots hold a list of components and baselines that were in a workspace or stream when the snapshot was created. Two questions:Your understanding is correct. The owner of the snapshot is where you go to find the snapshot. By default, the stream/workspace used for the snapshot will be the owner. You can right-click on a stream/workspace and show snapshots that it owns.
(1) is this a correct understanding of a snapshot?
(2) is there a way in the eclipse client to view what components and baselines are in the snapshot?
Thanks for the confirmation. I had found the various ways to locate the snapshots, but so far I haven't seen anything in the user interface or the SCM CLI that will show you the contents of the snapshot. I just know that a issue will come up where we've had competing builds creating snapshots and we're trying to debug what went wrong. Knowing what baseline is in a snapshot - especially baselines that were static and NOT created as part of the create snapshot - would be really usefu.
Don't know how I missed it, but you can select "open" from the snapshot, or double click since it is the default action. Don't kow if I had it opened from some view where "open" wasn't available, but it seems pretty clear now.
Comments
Is there a way in CLI to get this information?
We are using v3.0.1.1. I don't know a single command to do this from the CLI in the version we are using, but we do this by multiple commands:
First create a temp workspace from your snapshot
scm create workspace -r yourRepository --snapshot yourSnapshot tmpWorkspace
List the baselines for the temp workspace
scm -a n -u y list baselines -r yourRepository -w tmpWorkspace
Cleanup the temp workspace
scm workspace delete -r yourRepository tmpWorkspace
There may be a single cmd to do this, perhaps in a later version, but somebody smarter than me will have to tell us. ;-)