There are many ways that this can be achieved with CVS.  One of the
administrative files "commitinfo" allows you to execute a script when the
commit operation occurs.  This is a "pre-commit" trigger.  You could
implement some sort of function to validate the files prior to checkin.

Another approach is to checkin on a branch and then merge the branch onto
the main.  If the merge and validation test is successful, then commit to
the main.  Otherwise, reject the merge request.

Matt


Matt Berney     Email: [EMAIL PROTECTED]
Software Test Engineer  Phone: 466-6278
Oresis Communications


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, July 08, 2000 9:55 AM
To: Lukasz Michalski
Cc: [EMAIL PROTECTED]
Subject: Re: verification


[ On Saturday, July 8, 2000 at 14:14:38 (+0200), Lukasz Michalski wrote: ]
> Subject: verification
>
> I'm wondering if its possibile to moderate commits by some person(s). I
> mean when somebody commits something then it is verified by somebody
> else and then added to main tree. If "moderator" refuses the changes
> then commit fails and coder gets info what he must change.
> 
> Is it possibie with CVS?

It's a lot easier to do two-phase commits in a system designed with this
goal in mind, such as Aegis.

-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <[EMAIL PROTECTED]>      <robohack!woods>
Planix, Inc. <[EMAIL PROTECTED]>; Secrets of the Weird <[EMAIL PROTECTED]>

Reply via email to