info-cvs
[Top][All Lists]
Advanced

[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:

e.g.

--------writers--------
cvsAdmin user id<enter>
next user<enter>
next user<enter>
next user<enter>
#next user<enter>
#next user<enter>
BLANK LINE
-----------------------

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.

Steven.



----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 lists.gnu.org ([199.232.76.165]) by mc5-f25.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 18 Aug 2005 10:28:23 -0700 Received: from localhost ([127.0.0.1] helo=lists.gnu.org)by lists.gnu.org with esmtp (Exim 4.43)id 1E5oFF-0005CC-JBfor address@hidden; Thu, 18 Aug 2005 13:32:01 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)id 1E5oEP-000583-Hrfor address@hidden; Thu, 18 Aug 2005 13:31:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)id 1E5oAW-0004YE-Cgfor address@hidden; Thu, 18 Aug 2005 13:27:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org)by lists.gnu.org with esmtp (Exim 4.43) id 1E5oAP-0004Kn-28for address@hidden; Thu, 18 Aug 2005 13:27:01 -0400 Received: from [207.17.137.57] (helo=colo-dns-ext1.juniper.net)by monty-python.gnu.org 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 merlot.juniper.net (merlot.juniper.net [172.17.27.10])by colo-dns-ext1.juniper.net (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 juniper.net (sapphire.juniper.net [172.17.28.108])by merlot.juniper.net (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<info-cvs.nongnu.org> List-Unsubscribe: <http://lists.nongnu.org/mailman/listinfo/info-cvs>,<mailto:address@hidden>
List-Archive: <http://lists.gnu.org/pipermail/info-cvs>
List-Post: <mailto:address@hidden>
List-Help: <mailto:address@hidden>
List-Subscribe: <http://lists.nongnu.org/mailman/listinfo/info-cvs>,<mailto:address@hidden>
Errors-To: address@hidden
Return-Path: address@hidden
X-OriginalArrivalTime: 18 Aug 2005 17:28:24.0152 (UTC) FILETIME=[3C871D80:01C5A41A]

-----BEGIN PGP SIGNED MESSAGE-----
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:
http://computing.ee.ethz.ch/sepp/cvs-1.10-to/cvsbook/main_223.html

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

        -- Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFDBMBtCg7APGsDnFERAt/0AJ4hwaHNV3CeCNaHntqC471yRa1tAwCeKovJ
YkyMrmb4N1tV5IJoWXU/fF4=
=+NDr
-----END PGP SIGNATURE-----


_______________________________________________
Info-cvs mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/info-cvs






reply via email to

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