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

Exporting from JAZZ Source Control to Subversion / GIT

 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

0 votes



2 answers

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

1 vote


Permanent link
@Daniel : Could you share your experience in accomplishing the migration ?

0 votes

Comments

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

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

thanks,
Rohit

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

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

Question asked: Feb 25 '13, 7:59 a.m.

Question was seen: 7,652 times

Last updated: Feb 10 '15, 2:02 p.m.

Confirmation Cancel Confirm