It's all about the answers!

Ask a question

Exporting from JAZZ Source Control to Subversion / GIT


Daniel Reid (1111) | asked Feb 25 '13, 7:59 a.m.
retagged May 25 '13, 4:21 p.m. by Scott Rich (57136)
 Hi Guys,

Can anyone tell me if there is a way to export my source from an existing RTC / JAZZ project into GIT or Subversion. We no longer need RTC to manage the work items for our project and looking to move to another solution.

What tools are available that I can run to export my source code while retaining the history of the change sets.

Thanks
Daniel

2 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 25 '13, 10:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I am not aware of any tools for exporting RTC change sets into another SCM system (such as GIT or Subversion).  You might be able to script one up using the RTC scm command line.

permanent link
Rohit Sood (112) | answered Nov 08 '14, 9:45 p.m.
@Daniel : Could you share your experience in accomplishing the migration ?

Comments
sam detweiler commented Nov 09 '14, 8:29 a.m. | edited Nov 09 '14, 8:29 a.m.

I assume you don't want to lose your change history. That is the hard part.

as Geoff said

using the scm commandline command you could write a script that
(you will lost the original date/time I think. )

creates the new repo (git init xyz)
lists the rtc changesets  (scm list changesets use sort for reverse order)
loop thru the changesets 
    extract one changeset at a time  (scm changeset extract)
       have to figure out a git add/rm approach for all the changes in a commit
    use the git commit command to replicate that into git
    use git tag to map to rtc baselines.
end loop
git push


Rohit Sood commented Nov 09 '14, 11:58 a.m.

How were the stream migration handled ? Was there a individual stream to branch mapping ?

thanks,
Rohit


sam detweiler commented Nov 09 '14, 4:33 p.m.

The original post is almost 2 yrs ago now. I don't think there has been a solution created 

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.