[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More locking, sort of

From: Greg A. Woods
Subject: Re: More locking, sort of
Date: Thu, 5 Sep 2002 15:37:14 -0400 (EDT)

[ On Thursday, September 5, 2002 at 13:10:51 (-0400), address@hidden wrote: ]
> Subject: More locking, sort of
> Hi wizards.  I have what I believe to be a different variant of the
> perpetual question about locking.  I have a situation where, due to
> persistent problems with some hackers modifying some parts of a code
> base without understanding it first, we end up with broken code much
> more frequently than is justified.  A potential solution being bandied
> about is to lock out write access to certain subsets of the CVS tree,
> unlocking only when a change has been thought through carefully.

The better solution is to use a source code control tool which forces a
two-phase commit and ideally one which can enforce the result to be a
working code baseline that passes all existing regression tests.

The two-phase commit allows for senior reviewers to reject any change
before the code gets into the baseline.

Automated regression testing of the baseline on every commit ensures
other developers always have correct code to work with.

One such tool with these features is Aegis.

They can be hacked onto CVS, but not very well.

                                                                Greg A. Woods

+1 416 218-0098;            <address@hidden>;           <address@hidden>
Planix, Inc. <address@hidden>; VE3TCP; Secrets of the Weird <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]