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
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
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
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
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:
be written using the RTC SCM client API.
Cheers,
Geoff
On 6/23/2011 12:53 PM, benbc wrote:
mvalentawrote:
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