Git/Hg/Svn mirror of RTC SCM repository
Hello
I'm interested in maintaining an external mirror of an RTC STM repository using an alternative SCM (Git, Mercurial or Subversion). My hope is that changes to the code in RTC would be mirrored in the external repository. I'd like to do this so that existing tools which integrate with the other SCMs could be used with RTC. Does anyone know if this has been done already? Or whether it is possible in principle. I'm aware of existing integrations between RTC and Git or Subversion, but they seem to be aimed at completely replacing the built-in RTC SCM with an external one. This isn't an option in the environment that I'm working with -- it is necessary to keep RTC SCM as the master repository. Thanks for your help. -Ben |
5 answers
Hello Hi Bn Very interesting question. I am not aware of anyone else trying this. You almost want some sort of trigger event that causes Git/etc to grab the files when they change in RTC. You could potentially write a server-side plugin against the deliver or checkin event. I suspect the problem is getting an equivalence of RTC stream and repo workspace vs the way Git or other tools handle branches. anthony |
This is not currently supported. Here are a couple of work items requesting this type of functionality.
https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/108886 https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/40296 Michael |
Yes, that does sound like the same kind of thing. Our needs are probably simpler: we would treat the external repository as read-only, so we just need one-way synchronization from RTC to that repo.
-Ben |
This is not currently supported. Do you mean that no such integration exists, or that writing such an integration is impossible given the current facilities of the RTC SCM API? -Ben |
Geoffrey Clemm (30.1k●3●30●35)
| answered Jun 23 '11, 6:46 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
What was meant was that no such integration currently exists. One could
be written using the RTC SCM client API. Cheers, Geoff On 6/23/2011 12:53 PM, benbc wrote: mvalentawrote: |
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.