Do not use on any
shared computer
July 25, 2008 05:36pm pdt
null
[x]
Attachment Details

Synchronize 2 CVS repository

Tags: cvs, synchronize, repositories
Hello experts,

Currently, we got 2 CVS repositories (called A and B, B is a copy of A). A is on Server_a (in Australia), B is on Server_b (in India). Server_a and Server_b are connected through ssh connection.

Australian developers will commit their changes into A and Indian one will commit their changes into B. My question is: How can we keep those 2 repositories synchronized ?

I've thought of several solutions:

1. run rsync between A and B -> it's not a good option because rsync is just "one way".
2. whenever there is a commit into A, it will trigger a script to send the changes to B through ssh and update B (can be done through CVSROOT/loginfo) and vice versa for B to A.

The drawback to this solution is:
- slow performance because of the link
- cvs admin command will not trigger the sync-script
- cvs tag/rtag will not trigger the sync-script
- time to develop the script -> the most concerned
--> do we have any script available to do that ?

Thanks a lot for you help.
Start your free trial to view this solution
Question Stats
Zone: Storage
Question Asked By: dgogoasa
Question Asked On: 10.24.2007
Participating Experts: 2
Points: 500
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Expert Comment by boulosj
Expert Comment by boulosj:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by dgogoasa
Author Comment by dgogoasa:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Expert Comment by vijitc
Expert Comment by vijitc:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628