head	1.12;
access;
symbols
	newcvs:1.1.1.1
	NEWCVS:1.1.1;
locks; strict;
comment	@# @;


1.12
date	2003.02.28.03.35.48;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	2003.02.19.00.18.03;	author peter;	state Exp;
branches;
next	1.10;

1.10
date	2003.02.19.00.15.47;	author peter;	state Exp;
branches;
next	1.9;

1.9
date	2003.02.19.00.04.17;	author peter;	state Exp;
branches;
next	1.8;

1.8
date	2003.02.18.23.53.01;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	2003.02.18.23.41.19;	author peter;	state Exp;
branches;
next	1.6;

1.6
date	2001.08.30.21.32.19;	author joe;	state Exp;
branches;
next	1.5;

1.5
date	2000.08.28.11.30.55;	author joe;	state Exp;
branches;
next	1.4;

1.4
date	99.08.27.22.46.57;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	96.02.07.14.35.39;	author peter;	state Exp;
branches;
next	1.2;

1.2
date	95.04.18.19.56.30;	author rgrimes;	state Exp;
branches;
next	1.1;

1.1
date	94.05.24.08.59.43;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	94.05.24.08.59.44;	author rgrimes;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Switch back to log_accum.pl directly, detach awake.sh
@
text
@#
# $FreeBSD$
#
# The "loginfo" file controls where "cvs commit" log information
# is sent.  The first entry on a line is a regular expression which must match
# the directory that the change is being made to, relative to the
# $CVSROOT.  If a match is found, then the remainder of the line is a filter
# program that should expect log information on its standard input.
#
# If the repository name does not match any of the regular expressions in this
# file, the "DEFAULT" line is used, if it is specified.
#
# If the name ALL appears as a regular expression it is always used
# in addition to the first matching regex or DEFAULT.
#
# You may specify a format string as part of the
# filter.  The string is composed of a `%' followed
# by a single format character, or followed by a set of format
# characters surrounded by `{' and `}' as separators.  The format
# characters are:
#
#   s = file name
#   V = old version number (pre-checkin)
#   v = new version number (post-checkin)
#
# For example:
#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog
# or
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog
DEFAULT		$CVSROOT/CVSROOT/log_accum.pl %s
@


1.11
log
@I really hate cvs now.
@
text
@d30 1
a30 1
DEFAULT		$CVSROOT/CVSROOT/awake.sh %s
@


1.10
log
@GRR. I hate cvs sometimes.  It only allows one % escape per line.
@
text
@a29 1
DEFAULT		$CVSROOT/CVSROOT/log_accum.pl %s
@


1.9
log
@Actually supply the argument to the awake script..
@
text
@d30 2
a31 1
DEFAULT		$CVSROOT/CVSROOT/log_accum.pl %s; $CVSROOT/CVSROOT/awake.sh %s
@


1.8
log
@Hmm.  Try collapsing the lines.
@
text
@d30 1
a30 1
DEFAULT		$CVSROOT/CVSROOT/log_accum.pl %s; $CVSROOT/CVSROOT/awake.sh
@


1.7
log
@I think this works.  The loginfo parser appears to allow an arbitary number
of matches.
@
text
@d30 1
a30 2
DEFAULT		$CVSROOT/CVSROOT/log_accum.pl %s
DEFAULT		$CVSROOT/CVSROOT/awake.sh %s
@


1.6
log
@Update with the changes introduced with the recent upgrade of CVS.
@
text
@d2 1
a2 1
# $FreeBSD: CVSROOT/loginfo,v 1.5 2000/08/28 11:30:55 joe Exp $
d31 1
@


1.5
log
@Sychronise with the default versions that CVS (1.10.7) creates in
a new repository.

This commit only affects comments.
@
text
@d2 1
a2 1
# $FreeBSD: CVSROOT/loginfo,v 1.4 1999/08/27 22:46:57 peter Exp $
d4 5
a8 6
# The "loginfo" file is used to control where "cvs commit" log information
# is sent.  The first entry on a line is a regular expression which is tested
# against the directory that the change is being made to, relative to the
# $CVSROOT.  For the first match that is found, then the remainder of the
# line is a filter program that should expect log information on its standard
# input.
d10 2
a11 2
# If the repository name does not match any of the regular expressions in the
# first field of this file, the "DEFAULT" line is used, if it is specified.
d13 2
a14 2
# If the name "ALL" appears as a regular expression it is always used
# in addition to the first matching regex or "DEFAULT".
@


1.4
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
d17 14
a30 27
# The filter program may use one and only one "%s" modifier (ala printf).  If
# such a "%s" is specified in the filter program, a brief title is included
# (as one argument, enclosed in single quotes) showing the relative directory
# name and listing the modified file names.
#
# NOTE: contrib/log usage:  (currently requires perl)
#	-d		- turn debugging on....
#	-m mailto	- send mail to "mailto" (multiple -m's permitted)
#	-f logfile	- required arg:  save messages to logfile
#	%s		- may follow other options at the end of the line
#
# NOTE: contrib/log_accum usage:  (currently requires perl)
# (must have 'commit_prep -r' in commitinfo)
#	-d		- turn debugging on....
#	-M modulename	- use this as the module name (necessary for sub-dirs)
#	-m mailto	- send mail to "mailto" (multiple -m's permitted) [optional]
#	-f logfile	- save messages to logfile [optional]
#	%s		- must follow other options at the end of the line
#
# without perl you could do this:
#DEFAULT		(echo ""; who am i; date; cat) >> $CVSROOT/CVSROOT/commitlog
#
#DEFAULT		$CVSROOT/CVSROOT/log -f $CVSROOT/CVSROOT/commitlog  %s
#
# NB: For FreeBSD 2.X, the following line is the ONLY one which should
# ever appear.  If you want to do something extra to the log output, learn
# Perl.
@


1.3
log
@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.
@
text
@d2 1
a2 1
# $Id$
@


1.2
log
@Hard code path to perl as /usr/bin/perl so we stop picking it up from
/usr/local.

Submitted by:	asami
@
text
@d2 1
a2 1
# $FreeBSD$
d7 28
a34 2
# $CVSROOT.  If a match is found, then the remainder of the line is a filter
# program that should expect log information on its standard input.
d36 2
a37 3
# The filter program may use one and only one % modifier (ala printf).  If
# %s is specified in the filter program, a brief title is included (enclosed
# in single quotes) showing the modified file names.
d39 1
a39 2
# If the repository name does not match any of the regular expressions in this
# file, the "DEFAULT" line is used, if it is specified.
d41 1
a41 4
# If the name ALL appears as a regular expression it is always used
# in addition to the first matching regex or DEFAULT.
#
# NB: For FreeBSD 2.0, the following line is the ONLY one which should
d44 1
a44 2
#
DEFAULT		/usr/bin/perl $CVSROOT/CVSROOT/log_accum.pl %s
@


1.1
log
@Initial revision
@
text
@d24 1
a24 1
DEFAULT		perl $CVSROOT/CVSROOT/log_accum.pl %s
@


1.1.1.1
log
@Initial CVSROOT setup
@
text
@@
