Migrate streams and components to a new RTC 4 repository
We have a sandbox repository where we migrated from SVN. Now we have to move to a production repository. I would like to retain the existing streams. The problem with starting from scratch is that there was a lot of work moving to RTC, and we would have to recreate that work unless we have a way to migrate our repository.
I have read the Bulk Move Work Items between Project Areas in RTC 4, but that does not seem to apply.I have 2 streams and 5 components in those streams with several baselines, but most of those baselines are test builds rather than actual code changes. One way I thought of would lose all history: Create the streams with empty components in the target repositoryI'm using RTC 4.0,4 on Linux (RHEL 6). |
3 answers
make sure you have an RTC Eclipse setup that can connect to both servers
you will need to enable Distributed SCM to make this work, and enable the users role to do this.. ccm/advanced properties, user role open project, process config, team config, source control, replicate changesets (server), check the box for your user role) view the streams in on the source repository, right click, duplicate, select the target repository, edit the name if you want before the copy... make sure that the components, and workspaces are owned by the right users on the target system. and see https://jazz.net/library/article/535/ on how to correct the chnageset owner userid mapping if they are not on the same JTS. I worked on a project than needed 50 streams and 300 workspaces copied.. I wrote code to do this.. Comments
Jerry Feldman
commented May 29 '14, 12:03 p.m.
Thanks. This appears to be the best way to do this, but I'm not sure how to set ccm/advanced properties
sam detweiler
commented May 29 '14, 12:28 p.m.
https://server:port/ccm/admin, select advanced properties in the left nav.. search for 'distributed scm'... (the string above)..
Jerry Feldman
commented May 29 '14, 1:35 p.m.
In this case, server being the RTC server?
sam detweiler
commented May 29 '14, 1:38 p.m.
yes, the same URL you used in Eclipse plus /admin
|
You'll have to use distributed SCM to deliver all of your components to your production repository.
Flow changes cross repositories with Rational Team Concert |
What about duplicate repository workspace? The same as duplicate stream?
Comments 1
sam detweiler
commented Mar 30 '15, 1:35 p.m.
yes.. workspace and stream are functionally identical.. one has the 'stream' flag turned on, the other does not.
|
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
deleted dup