It's all about the answers!

Ask a question

Deliver between 2 streams


Oren Tabib (024) | asked Jul 14 '14, 7:34 a.m.
edited Jul 23 '14, 2:06 a.m. by Ralph Schoon (63.1k33645)
 Hi
I   work in RTC  version 4 and I Want to deliver between 2 stream.
Do you have idea how I can do this. 

Comments
sam detweiler commented Jul 14 '14, 7:37 a.m. | edited Jul 14 '14, 8:37 a.m.

can u give us a little more info on what you are trying to accomplish?


Oren Tabib commented Jul 14 '14, 7:41 a.m. | edited Jul 14 '14, 8:37 a.m.

I have 2 streams

Stream 1:  develop
Stream 2: Release  
And I want to sync the stream 1 to stream 2 .


 

5 answers



permanent link
sam detweiler (12.5k6195201) | answered Jul 14 '14, 8:04 a.m.
I have two scenarios, both easy to setup. I use Eclipse to manage changes.

1 I have a workspace (release workspace) with flow target to develop,
   accept all changes, then change flow target to release and deliver
   or you can have the release stream flow target to this workspace
    you can choose which changes to accept/deliver

2. no workspace. the release stream has a flow target of the develop stream
    changes made to develop will appear as pending changes to release.
    so you accept those changes at the release stream.

Comments
Oren Tabib commented Jul 14 '14, 8:31 a.m. | edited Jul 14 '14, 8:38 a.m.

 Hi 

Thank you for helping .
Can you explain  the option 2?
What is flow target?
Can you explain  step by step how the step 2?

  Best regards,
Oren 


sam detweiler commented Jul 14 '14, 8:45 a.m. | edited Jul 14 '14, 8:50 a.m.

a flow target is the linkage between two containers (workspace or stream)

right click on a stream or workspace, select Open

scroll down to the Flow Targets section (bottom of page)

this is the list of sources/destinations changes will/can flow from/to this workspace/stream. this is where the pending changes view in Eclipse
gets its information from.

you can modify this table (sometimes there is a right click action on some operations to do this) at any time..  accept from one source (develop), then deliver to another (release).
 
this article may help with some of the topics u are asking about
https://jazz.net/library/article/40


Tim Mok commented Jul 14 '14, 8:48 a.m.
JAZZ DEVELOPER

You may want to read up on some of the library content to familiarize yourself with RTC SCM terminology.



Option 2 is something added in RTC 3.0.1. You can show a stream in Pending Changes view to track and flow changes. See https://jazz.net/library/article/649#Example_showPendingChanges


Oren Tabib commented Jul 14 '14, 9:28 a.m. | edited Jul 14 '14, 11:02 a.m.

in  the 2 solutions I must  create release workspace.  

Is there option to transfer data between  2 stream without create release  workspace  ? 


sam detweiler commented Jul 14 '14, 9:29 a.m.

option 2 uses no workspace between streams


permanent link
Ken Tessier (84117) | answered Jul 22 '14, 4:31 p.m.
The topics in this section of the help cover change flow:


Ken

permanent link
Shuchita Tripathi (31436294) | answered Jul 23 '14, 1:52 a.m.
Multi-Stream synchronization can be achieved using Flow Targets.
Flow Targets are defined in any stream/repository. As the name suggests, Flow Targets are the targets where the change sets will flow.

To add a flow target,
  • Right click on the stream1 and open it.
  • Scroll down till you see Flow Target option.
  • Add stream2 in it and Save the changes.

Now when any change is delivered to stream1, it will show as an outgoing change from stream1 to stream2.
You may have to perform an extra step to see this outgoing change. (right click on stream1 and click on Show->Pending Changes).
Once you see the outgoing change, deliver it. All the changes will flow to Stream2.

Comments
Oren Tabib commented Aug 24 '14, 3:01 a.m. | edited Aug 24 '14, 3:09 a.m.

Hi

I make change in stream1 and deliver it and the changes not Inserted to  outgoing change of stream 2?


sam detweiler commented Aug 24 '14, 6:34 a.m. | edited Aug 24 '14, 6:34 a.m.

Does stream 1 have Stream 2 as a flow target?  did you request to see the pending changes got stream 1 and stream 2?  right click on stream , show -> pending changes


Oren Tabib commented Aug 24 '14, 10:50 a.m.

Yes ,In stream1  have Stream 2 as a flow target.

After I deliver in stream1 I am  expected to see the change set  

in   outgoing change  in pendeing change panel of stream 2.

Can you have any idea why i dont see the change set ?


sam detweiler commented Aug 24 '14, 11:00 a.m.

pending changes is a single view of everything.. so it sounds like you have not done

stream 2 -> show ->pending changes

because these would be incoming changes to stream 2..


Oren Tabib commented Aug 24 '14, 12:20 p.m. | edited Aug 25 '14, 1:00 a.m.

Hi

I see the Stream 2 in the  pending changes  ,

but  I do'nt  receive any change set that deliver by Stream 1

Do you have any idea why ?


sam detweiler commented Aug 24 '14, 12:22 p.m.

does stream 2 have stream 1 as a flow target?


Shuchita Tripathi commented Aug 25 '14, 1:40 a.m. | edited Aug 25 '14, 1:42 a.m.

Can you paste a screenshot of flow targets of both the streams.

Normally, if Stream1 has stream2 as flow target, then whenever you deliver anything to stream1, (and do Stream1->Show->Pending changes for the first time) you will see the stream to stream flow.
This article may help:

showing 5 of 7 show 2 more comments

permanent link
Oren Tabib (024) | answered Aug 25 '14, 10:26 a.m.
I am using  in Visual studio 2010 editor .

And after I do the following step

  • Right click on the stream1 and open it.
  • Scroll down till you see Flow Target option.
  • Add stream2 in it and Save the changes.
  • I deliver a change set in Stram1
  • I am go to TeamArtifact -->Source Control-->Stream2-->Track in Pending Change.

And the  change set  doesn't appear in outgoing of  Stream2 

Do you have any idea?


Comments
sam detweiler commented Aug 25 '14, 10:30 a.m. | edited Aug 25 '14, 10:33 a.m.

it would be Incoming for Stream 2.. 
Outgoing for Stream 1.

>

  • I deliver a change set in Stram1
and u mean
  • I deliver a change set TO Stream1
    • from some repository workspace, right?


Oren Tabib commented Aug 25 '14, 11:43 a.m. | edited Aug 25 '14, 11:43 a.m.

I don't understand

I am deliver the change set to Stream 1.

and I am expected to recieve the change set in Stream 2  in outgoing ?

am I missed something? 


sam detweiler commented Aug 25 '14, 11:58 a.m.

you have two containers for changes

A and B

you put a change in bucket A.

if A and B are connected, and you want them to be in synch, you must take some manual actions..

from A, there are changes that need to go to bucket B (these are OUTGOING from bucket A's perspective).  AND they are INCOMING from bucket B's perspective.
you can DELIVER from A to B (from A), or ACCEPT from A into B (from B).

If A knows about B, then there would be pending changes OUTGOING.
if B does NOT know about A, then there would NOT be 'INCOMING' changes.
Consider a company shipping u a package.. THEY know its coming to u today.. but YOU do not know.

far as I know, there s no AUTOMATIC deliver or accept between containers.


permanent link
Oren Tabib (024) | answered Aug 25 '14, 12:19 p.m.
What do you mean" if A and B are connected, and you want them to be in synch, you must take some manual actions.". 
what do you mean  manual action ?

Comments
sam detweiler commented Aug 25 '14, 12:21 p.m. | edited Aug 25 '14, 12:25 p.m.

>you can DELIVER from A to B (from A), or ACCEPT from A into B (from B).

On my Eclipse UI I see those operations when I click on the pending change depending on which entry I click on

Your answer


Register or 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.