# 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

# bdolicki 9 Feb 2004
# Removed the -m option because now we are sending diffs with the line below.
#ALL /cvsroot/CVSROOT/log.pl -f /cvsroot/CVSROOT/commitlog -m openacs-cvs-list@openacs.org %s
ALL /cvsroot/CVSROOT/log.pl -f /cvsroot/CVSROOT/commitlog %s

# maltes 15 Sep 2005
# Added CIA integration so we can retrieve cvs commits and promote the
# project better (http://cia.navi.cx).
#ALL /usr/bin/perl /cvsroot/CVSROOT/ciabot_cvs.pl %{,,,s} $USER

# bdolicki 9 Feb 2004
#
# postcomit_actions is a Python script borrowed from zope.org.  It does two
# things:
#   (1) sends out the result of cvs diff after each commit to a mailinglist
#       It uses traffic_table.py.  Configuration is done by changing a few
#       variables in postcomit_actions and traffic_table.py
#   (2) takes care of symlinks in the repository.  It uses adjustlinks.py.  Its
#       config file is repolinks.  We are NOT using this  feature right now.
# Here's how you configure this stuff:
#  * In postcommit_actions you can set some variables such as CVSMASTER and
#    OFFICIAL_SENDER
#  * In traffic_table.py you can control which email addresses get alerted
#    near the end of the file

# DAVEB 2008-07-16 this doesn't work anymore commenting out.
#ALL ${CVSROOT}/CVSROOT/postcommit_actions %{sVv}


# RBM: 2002-08-30: Add cvs-to-forums script invocation
# ALL /cvsroot/CVSROOT/log-new.tcl -l /cvsroot/CVSROOT/commitlog -e cvs@openacs.org -d :5433:openacs.org -u nsadmin -f "CVS Commits" %s

ALL ${CVSROOT}/CVSROOT/fisheye.tcl > /dev/null 2>&1 &

# ALL /usr/bin/curl -X PUT -H "X-Api-Key: 11331854f5fc7ce04d63a9262e2096ec3e837788" -H "Content-Type: application/json" -m 20 http://fisheye.openacs.org/rest-service-fecru/admin/repositories/OpenACS/full-incremental-index > /dev/null 2>&1 &
# ALL /usr/bin/curl -X PUT -H "X-Api-Key: 11331854f5fc7ce04d63a9262e2096ec3e837788" -H "Content-Type: application/json" -m 20 http://fisheye.openacs.org/rest-service-fecru/admin/repositories/OpenACS/incremental-index > /dev/null 2>&1 &