scm command to list streams
I need some help with the "scm list streams" command (or find out which command I can use to list streams in a repository).
I tried the following command to list the streams in my repository and look for streams that match a certain pattern:
pmn@rhel ~ > scm list streams -r local -m 99999 -n inductor_release_*
However, it did not return any results. I know that there is at least one stream called "inductor_release_20140411" in this repository (see below for proof) and I expected the above command to list that - which it didn't.
pmn@rhel ~ > scm list flowtargets -r local pmn_inductor_release_20140411
Why is "scm list streams" not listing this stream?
Also, is there an scm command that I can use to list the properties of a stream (like ownership, current flow-targets, components and their baselines etc)?
|
One answer
From the help, it says:
"scm list streams" : Provides a list of streams that are available in the repository. By default, this command lists the streams that are owned by the user who is logged in. So the condition is the steams are owned by the logged in user. Also you put option: -n inductor_release_* which is listing workspace, if you remove this option, will you see the streams? === Also, is there an scm command that I can use to list the properties of a stream (like ownership, current flow-targets, components and their baselines etc)? == Please check with https://jazz.net/library/video/1205 and see if it helps. Comments
p m n
commented Jan 15 '14, 9:49 p.m.
Hi Don,
Thanks for pointing out that -n lists workspaces matching the pattern. It appears counter-intuitive to me that a command called "scm list streams" would display workspace names at all!
BTW, the following achieves what I wanted (since the command doesn't provide this option, I relied on a simple grep to do it! :) )
pmn@rhel ~ > scm list streams -r local -m 99999 | grep inductor_release
And that URL (for the 2nd question) doesn't tell how to find out the details of a stream - it talks about component- and workspace-properties only.
Don Yang
commented Jan 15 '14, 10:30 p.m.
Good to know that you are able to get the stream list now. If the video is not what you are after, I am afraid there is no one command could address all properties and you may need multiple command such as list component, list baseline and so on to find out all info.
|
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.
Comments
Which version of RTC scm cli are you using?
RTC v4.0.3