[Top][All Lists]

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

Re: advisory locks patch

From: Derek Robert Price
Subject: Re: advisory locks patch
Date: Sat, 25 Sep 2004 14:43:40 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040616

Hash: SHA1

Mark D. Baushke wrote:

> For functionality, I believe there will need to be a way to
> administratively remove the edit state for a user that has 'left' the
> repository (possibly that userid is no longer a part of the organization
> or some such). Training folks to use the '-f' option to 'get around'
> this kind of problem is probably a bad idea...

This has been needed for awhile.  Probably needs to be an optoin to
unedit only available to the cvsadmin group that accepts a username as
an argument.  I don't think it is necessary for this patch, though.

> I am curious if it would be possible to have a commitinfo trigger catch
> the condition of a user 'forgetting' to use 'cvs commit -c' and enforce
> it as an administrator policy for one or more modules of a repository,
> or even for particular file types. That is, would a 'cvs -n editors'
> command provide enough information to know that the 'cvs edit -c' was
> in force by some other user?

A format string that passed the -c option into commitinfo if present
for the user could be useful.  Perhaps even a general purpose format
string that passed all options in effect, but quoting and parsing of
the general purpose string could conceivably be challenging.  Again,
not necesary for acceptance of this patch, I think.


- --

Email: derek@ximbiot.com

Get CVS support at <http://ximbiot.com>!
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

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