info-cvs
[Top][All Lists]
Advanced

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

Re: restrict commits of single file


From: Todd Denniston
Subject: Re: restrict commits of single file
Date: Tue, 09 Oct 2007 09:01:29 -0500
User-agent: Thunderbird 2.0.0.6 (X11/20070728)


Michael Niegl wrote, On 10/08/2007 05:00 PM:
Hello Arthur,

On Oct 8, 2007, at 10:38 PM, Arthur Barrett wrote:

Michael,

committable. So I tried to put into the commitavail file
avail | <username>
unavail | <username> | <file_incl_full_path>

Is this a part of cvsacls or is it some other patch, I've seen the odd
reference to it but I'm not sure.  I usually use CVSNT on linux which
has inbuilt ACLs but this appears to be something else...

No, it's neither CVSNT nor cvsacl, it's the "standard" CVS version 1.12.13 running on on Red Hat 7.3. I'm not sure about the exact details of the server side as it is centrally hosted on a cluster and AFS and i do not have administrative rights there, except for the project that I'm responsible for.

<SNIP>

Sadly, there is no precommit in CVS, at least not in the version we're using.


Yes/No, I think you are using a commit trigger script (cvs-acls.pl), which is ran before the commit gets to change the repository, If I Recall Correctly that makes it a pre-commit script.


A little googleing is kind of interesting...
commitavail seems to be referenced most of the time at *.cern.ch.
poking around with Google revels a copy of commitavail[1].

Which starts out with:
"...See $CVSROOT/CVSROOT/cvs-acls.pl for  details."

so apparently commitavail is a configuration file for one of the versions of cvs-acls.pl[2][3], and from a little visual comparison the version up at [2]] is from at or before rev 1.3[4] from Feb 1997. If that is the version you are still using[6] you may find the best help within some lists at cern.ch[5]

Good luck. :)

[1] http://atlas-computing.web.cern.ch/atlas-computing/links/releasesBefore1120/HourlyHeadFromCVS/MuonSpectrometer/MuonConditions/CVSROOT/commitavail

[2] http://atlas-computing.web.cern.ch/atlas-computing/links/releasesBefore1120/HourlyHeadFromCVS/MuonSpectrometer/MuonConditions/CVSROOT/cvs-acls.pl

[3]http://cvs.savannah.gnu.org/viewvc/cvs/ccvs/contrib/cvs_acls.pl?view=log
http://cvs.savannah.gnu.org/viewvc/cvs/ccvs/contrib/cvs_acls.html?view=log

[4] http://cvs.savannah.gnu.org/viewvc/cvs/ccvs/contrib/cvs_acls.pl?revision=1.3&view=markup

[5] http://spi.cern.ch/cvstools/cvsMigration.html#admins

[6] look in _YOUR_ projects $CVSROOT/CVSROOT/commitinfo file and read the cvs_acls.pls that it references.

--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
http://www.crane.navy.mil/custfeedback




reply via email to

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