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

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?

0 votes



3 answers

Permanent link
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?
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.

0 votes


Permanent link
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.

0 votes


Permanent link
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.

0 votes

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. ;-)

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: Nov 01 '11, 2:08 a.m.

Question was seen: 8,378 times

Last updated: Nov 14 '12, 11:07 a.m.

Confirmation Cancel Confirm