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

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_*
pmn@rhel ~ >
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
(1312) "inductor_release_20140411" (default) (current)
pmn@rhel ~ >
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)?

0 votes

Comments

Which version of RTC scm cli are you using? 

RTC v4.0.3 



One answer

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

0 votes

Comments

 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
(1312) "inductor_release_20140411" inductor
pmn@rhel ~ >
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. 

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

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
× 12,023

Question asked: Jan 14 '14, 8:18 p.m.

Question was seen: 6,585 times

Last updated: Jan 15 '14, 10:30 p.m.

Confirmation Cancel Confirm