From owner-cvs-all Tue Dec 1 01:27:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA05875 for cvs-all-outgoing; Tue, 1 Dec 1998 01:27:14 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA05870 for ; Tue, 1 Dec 1998 01:27:08 -0800 (PST) (envelope-from mark@grondar.za) Received: from greenpeace.grondar.za (IDENT:xXZDKplnZN55kEnzMeJPPeczIyf1nkud@greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.9.1/8.9.1) with ESMTP id LAA62369; Tue, 1 Dec 1998 11:26:46 +0200 (SAST) (envelope-from mark@grondar.za) Received: from grondar.za (IDENT:hoC6IdREaOyywZ67BJNXN2ZNxCkhEybT@localhost [127.0.0.1]) by greenpeace.grondar.za (8.9.1/8.9.1) with ESMTP id LAA28193; Tue, 1 Dec 1998 11:26:45 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199812010926.LAA28193@greenpeace.grondar.za> To: Warner Losh cc: obrien@NUXI.com, Archie Cobbs , committers@FreeBSD.ORG Subject: Re: ports tree FROZEN now In-Reply-To: Your message of " Tue, 01 Dec 1998 01:33:32 MST." <199812010833.BAA01703@harmony.village.org> References: <19981201000419.B2859@nuxi.com> <199812010631.RAA03547@cimlogic.com.au> <199812010732.XAA25873@bubba.whistle.com> <199812010833.BAA01703@harmony.village.org> Date: Tue, 01 Dec 1998 11:26:44 +0200 From: Mark Murray Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Folk are conveniently ignoring the mechanism that already exists in ${CVSROOT}/CVSROOT/cvs_acls.pl :-) M Warner Losh wrote: > One suggestion that I've not seen yet: > > Make a .cvs-lock file, check it in. CVS would then look for this file > in ., then .., etc up to the root of the tree when you want to commit > something. If the file is present, then it will splat its contents to > stdout and ask "In light of the above, are you really sure you want to > commit?" For the ports freeze, the file would look like: > > WE ARE IN PORTS FREEZE NOW. ALL CHANGES MUST BE APPROVED BY > ASAMI-SAN. COMMIT PRIVS WILL BE REVOKED IF YOU COMMIT NOW. > > In light of the above, are you really sure you want to commit? > > I don't know about you, but I'd think twice about answering yes :-) > > Basically, it is an advisory lock rather than a strict lock. cvs > commit has a -f option, which could be used by the release engineer to > bypass this message (or an environment variable CVS_RELEASE_ENGINEER > that would bypass this). > > Sure, I can still check stuff into the tree, but at least I'd get a > warning, or I'd get rained on for aughting to have known better if I'm > silly enough to have CVS_RELEASE_ENGINEER in my environment and not > pay extra special close attention to -current or whatever. > > Comments? > > Warner -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message