This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CVS on savannah


Andrew Walrond writes:
 > On Sunday 04 Jan 2004 8:13 pm, Rudy Gevaert wrote:
 > > I have set up a cron job that synchronizes the Savannah GCC repositroy
 > > with the repository on gcc.gnu.org
 > >
 > > This is done once an hour with rsync.
 > >
 > > http://savannah.gnu.org/cgi-bin/viewcvs/gcc/#dirlist
 > 
 > Is this done in a way which ensures consistency? Is it safe to access the 
 > mirror repository while the rsync is in progress? What happens if a checkin 
 > is in progress on the parent repo while rsyncing the mirror?

It isn't possible to do this consistently, because CVS commits are not
atomic.  It is always possible for a developer to check out an
inconsistent repository.

 > There was some considerable discussion on the lkml a while back
 > about rsynced mirrors of cvs repos. It concluded that extra steps
 > were required to make the mirrored repo consistent/useful. 
 > Otherwise it was a case of fingers crossed, touch wood, turn around
 > 3 times and...

Yeah.  On the other hand, people have been using mirrored CVS
repositories for many years.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]