workspaces and snapshots found in gui, but not by lscm
I need help determining why a very limited number of workspaces and snapshots are listed by lscm list workspaces/snapshots, but the complete list is available in the eclipse gui. v4.0.2, and tried with v4.0.4 scmtools, against a v4.0.4 server. This is first time trying this. So to be clear, I get 12 workspaces returned by lscm, but in the gui there are dozens or hundreds.
I have tried looking at the properties of the snapshots to identify a difference, but there is not much to them. From reading some docs, I see that a snapshot can be associated with either a stream or a workspace. I can not determine which that is when looking at the properties of the snapshot in the gui. I have confirmed I am using the same credentials in both the gui and lscm, and I am a JazzAdmin, Admin for the project area, and a role with every privilege available. I suspect there is something fundamental about either lscm or snapshots that I am not understanding. Like with the lscm list users command, it only shows users without a user id. I won't rant about how useless that is, but perhaps list snapshots is similar, only showing orphaned snapshots?
I have tried looking at the properties of the snapshots to identify a difference, but there is not much to them. From reading some docs, I see that a snapshot can be associated with either a stream or a workspace. I can not determine which that is when looking at the properties of the snapshot in the gui. I have confirmed I am using the same credentials in both the gui and lscm, and I am a JazzAdmin, Admin for the project area, and a role with every privilege available. I suspect there is something fundamental about either lscm or snapshots that I am not understanding. Like with the lscm list users command, it only shows users without a user id. I won't rant about how useless that is, but perhaps list snapshots is similar, only showing orphaned snapshots?
2 answers
Vince,
The -n option allows you to specify the prefix of the snapshot and does not allow for wildcard characters.
list snapshots -r <repoUri> : lists all the snapshots in the repository.
list snapshots -r <repoUri> -n <prefix> : lists all the snapshots in the repository that has the specified prefix.
list snapshots -r <repoUri> <workspace/stream> : lists all the snapshots associated with the workspace or stream.
If that is not the case, then it is a defect.
For your reference, here is the documentation for the "list snapshot" command: http://pic.dhe.ibm.com/infocenter/clmhelp/v4r0m6/index.jsp?topic=%2Fcom.ibm.team.scm.doc%2Ftopics%2Flist_snapshots.html
Comments
showing 5 of 6
show 1 more comments
Comments
Vince Thyng
Feb 20 '14, 3:45 p.m.Sonia Dimitrov
JAZZ DEVELOPER Feb 20 '14, 4:56 p.m.Vince Thyng
Feb 20 '14, 5:16 p.m.