diff options
author | peter <peter@FreeBSD.org> | 1996-02-07 22:35:44 +0800 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-02-07 22:35:44 +0800 |
commit | 969a800fc6467d43f03cd917e06054e2cb630bef (patch) | |
tree | 447a731348de921250f1f6271140330c03e54349 /CVSROOT/commitcheck | |
parent | 3d53aca0387a031d14bea7d076f849aea9694a3f (diff) | |
download | freebsd-ports-gnome-969a800fc6467d43f03cd917e06054e2cb630bef.tar.gz freebsd-ports-gnome-969a800fc6467d43f03cd917e06054e2cb630bef.tar.zst freebsd-ports-gnome-969a800fc6467d43f03cd917e06054e2cb630bef.zip |
Attempt to fix some outstanding bugs/misfeatures/bogons in the CVSROOT
code, as well as simplifying some admin procedures.
The main change is to stop multi-directory commits only having the subject
info of the last directory, and not being sent to all the lists, and not
being logged to the appropriate commitlogs.
updateCVSROOT is gone (yay!), it's functionality is replaced by a cvs-1.6
feature - the 'checkoutlist' file, which is designed explicitly for this.
This will stop the easy-import users from getting told the mailing list
is out of date when a committer has been added but had missed out on being
put on the cvs-committers mailing list.
Update the comments and info in the *info files with the cvs-1.6 headers,
this fixes a few typos, clarifys some things, corrects some misleading
comments, etc.
Some stub files added to indicate how new cvs-1.6+ functionality is used,
but left commented out (taginfo, cvswrappers, etc)
All hard-coded references to /home/ncvs are changed back to $CVSROOT
(as suggested to me by bde) now that cvs-1.6+ makes a special effort
to ensure $CVSROOT is always set. This allows the $CVSROOT files to be
used elsewhere (eg: for testing) with much less pain.
mkavail is history as well, it was often being forgotten. cvs-committers
now takes the user list from /etc/group:ncvs via a trivial perl script.
This is so that we still have the ability to temporarily disable commit
access via 'avail' without cutting off the cvs-committers mailing list.
Since /etc/group editing is still required, this is not a new admin
overhead. If we ever change so that membership of "ncvs" is not required
(eg: /usr/bin/cvs becomes setgid and access control is via avail) then
we are going to have to do it some other way. (I have ideas)
I have tested this on my machines, but it is possible that I have missed
something. As usual, please yell if I've botched it.
Diffstat (limited to 'CVSROOT/commitcheck')
-rwxr-xr-x | CVSROOT/commitcheck | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CVSROOT/commitcheck b/CVSROOT/commitcheck index 7d9b5c3babfe..4f623836bcd1 100755 --- a/CVSROOT/commitcheck +++ b/CVSROOT/commitcheck @@ -11,8 +11,8 @@ freefall*) exit 1 esac -if /usr/bin/perl $CVSROOT/CVSROOT/cvs_acls.pl ${1+"$@"}; then - if /usr/bin/perl $CVSROOT/CVSROOT/commit_prep.pl ${1+"$@"}; then +if $CVSROOT/CVSROOT/cvs_acls.pl ${1+"$@"}; then + if $CVSROOT/CVSROOT/commit_prep.pl ${1+"$@"}; then exit 0 fi fi |