| |
40 |
40 |
# postcomit_actions is a Python script borrowed from zope.org. It does two |
| |
41 |
41 |
# things: |
| |
42 |
42 |
# (1) sends out the result of cvs diff after each commit to a mailinglist |
| |
43 |
43 |
# It uses traffic_table.py. Configuration is done by changing a few |
| |
44 |
44 |
# variables in postcomit_actions and traffic_table.py |
| |
45 |
45 |
# (2) takes care of symlinks in the repository. It uses adjustlinks.py. Its |
| |
46 |
46 |
# config file is repolinks. We are NOT using this feature right now. |
| |
47 |
47 |
# Here's how you configure this stuff: |
| |
48 |
48 |
# * In postcommit_actions you can set some variables such as CVSMASTER and |
| |
49 |
49 |
# OFFICIAL_SENDER |
| |
50 |
50 |
# * In traffic_table.py you can control which email addresses get alerted |
| |
51 |
51 |
# near the end of the file |
| |
52 |
52 |
|
| |
53 |
53 |
# DAVEB 2008-07-16 this doesn't work anymore commenting out. |
| |
54 |
54 |
#ALL ${CVSROOT}/CVSROOT/postcommit_actions %{sVv} |
| |
55 |
55 |
|
| |
56 |
56 |
|
| |
57 |
57 |
# RBM: 2002-08-30: Add cvs-to-forums script invocation |
| |
58 |
58 |
# ALL /cvsroot/CVSROOT/log-new.tcl -l /cvsroot/CVSROOT/commitlog -e cvs@openacs.org -d :5433:openacs.org -u nsadmin -f "CVS Commits" %s |
| |
59 |
59 |
|
| |
60 |
|
ALL /cvsroot/CVSROOT/fisheye.tcl > /dev/null 2>&1 & |
| |
|
60 |
ALL ${CVSROOT}/CVSROOT/fisheye.tcl > /dev/null 2>&1 & |
| |
61 |
61 |
|
| |
62 |
62 |
# 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 & |
| |
63 |
63 |
# 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 & |