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

Deliver between 2 streams

 Hi
I   work in RTC  version 4 and I Want to deliver between 2 stream.
Do you have idea how I can do this. 

-1 votes

Comments

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

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

3 votes

Comments

 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 

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

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

in  the 2 solutions I must  create release workspace.  

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

option 2 uses no workspace between streams


Permanent link
The topics in this section of the help cover change flow:


Ken

0 votes


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

0 votes

Comments

Hi

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

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

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 ?

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

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 ?

does stream 2 have stream 1 as a flow target?

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
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?

0 votes

Comments

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?

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? 

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
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 ?

0 votes

Comments

>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 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,027
× 1,204

Question asked: Jul 14 '14, 7:34 a.m.

Question was seen: 6,658 times

Last updated: Aug 31 '14, 12:40 a.m.

Confirmation Cancel Confirm