[Top][All Lists]

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

Re: to stop commit

From: S I
Subject: Re: to stop commit
Date: Thu, 18 Aug 2005 11:48:26 -0700

I found out the best and quickest way for me, especially during a freeze was the use of the 'writers' and 'readers' admin files.

Create a file named, writers under CVSROOT. In it have yourself as the first entry and list other users; the last entry must have an <enter> character:


cvsAdmin user id<enter>
next user<enter>
next user<enter>
next user<enter>
#next user<enter>
#next user<enter>

cvs add, and commit this file. Users listed in this file have full read/write access to CVS, users commented out will NOT have access. This file supercedes 'readers'

I find checking out, modify by commenting & removing #'s, and checking in 'writers' file to be the fastest method. Just don't comment out yourself accidentally.


----Original Message Follows----
From: "Mark D. Baushke" <address@hidden>
To: Parvinder Singh Arora <address@hidden>
CC: address@hidden
Subject: Re: to stop commit
Date: Thu, 18 Aug 2005 10:07:57 -0700
MIME-Version: 1.0
Received: from ([]) by with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Aug 2005 10:28:23 -0700 Received: from localhost ([] with esmtp (Exim 4.43)id 1E5oFF-0005CC-JBfor address@hidden; Thu, 18 Aug 2005 13:32:01 -0400 Received: from mailman by with tmda-scanned (Exim 4.43)id 1E5oEP-000583-Hrfor address@hidden; Thu, 18 Aug 2005 13:31:09 -0400 Received: from exim by with spam-scanned (Exim 4.43)id 1E5oAW-0004YE-Cgfor address@hidden; Thu, 18 Aug 2005 13:27:18 -0400 Received: from [] ( with esmtp (Exim 4.43) id 1E5oAP-0004Kn-28for address@hidden; Thu, 18 Aug 2005 13:27:01 -0400 Received: from [] ( with esmtp(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1E5o86-0004J0-DAfor address@hidden; Thu, 18 Aug 2005 13:24:38 -0400 Received: from ( [])by (8.11.3/8.9.3) with ESMTP id j7IH85963905; Thu, 18 Aug 2005 10:08:05 -0700 (PDT) (envelope-from address@hidden) Received: from ( [])by (8.11.3/8.11.3) with ESMTP id j7IH7vG80800;Thu, 18 Aug 2005 10:07:57 -0700 (PDT) (envelope-from address@hidden)
X-Message-Info: JGTYoYF78jFccbEF3VmHVmJNn/pPHgvaQoLpclkeBMA=
References: <address@hidden>
X-Mailer: MH-E 7.84+cvs; nmh 1.0.4; GNU Emacs 21.3.1
X-Face: #8D_6URD2G%vC.hzU<dI&#Y9szHj$'mGtUq&d=rXy^L$-=G_-LmZ^5!Fszk:yXZp$k\nTF?8Up0!v/%1Q[(d?ES0mQW8dRCXi18gK)luJu)loHk,}4{Vi`yX?p?crF5o:LL{6#eiO:(E:YMxLXULB k|'a*EjN.B&L+[J!PhJ*aX0n:5/
Mail-Followup-To: info-cvs <address@hidden>
X-BeenThere: address@hidden
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Announcements and discussions for the CVS version control system<> List-Unsubscribe: <>,<mailto:address@hidden>
List-Archive: <>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <>,<mailto:address@hidden>
Errors-To: address@hidden
Return-Path: address@hidden
X-OriginalArrivalTime: 18 Aug 2005 17:28:24.0152 (UTC) FILETIME=[3C871D80:01C5A41A]

Hash: SHA1

Parvinder Singh Arora <address@hidden> writes:

> I want to stop the users from doing cvs commits . Anything readily
> available to lock the cvs repository and then unlock it again ?

Two methods exist.

a) Modify your commitinfo and taginfo scripts to disallow all commits
and tagging operations by returning a non-zero return code for all users
other than your administrative users (so that they can commit to remove
the change later).

b) get something like the cvslock program to do this job for you:

I favor #a myself, but it does not necessarily stop 'cvs admin' commands
which may at times be desriable.

        -- Mark
Version: GnuPG v1.2.3 (FreeBSD)


Info-cvs mailing list

reply via email to

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