[Zope-CVS] CVS: RepoUtils - postcommit.py:2.2
klm at zope.com
Sat Dec 13 13:28:52 EST 2003
Update of /cvs-repository/RepoUtils
In directory cvs.zope.org:/tmp/cvs-serv1086
Name main routine "cvs_postcommit", since the argument parsing is
probably cvs specific.
(If it turns out that svn uses the same (brain-dead) argument format,
cvs_postcommit and a to-be-made sv_postcommit will both be
degeneratively trivial wrappers, otherwise they may translate the
args to a common format and call a common base routine.)
=== RepoUtils/postcommit.py 184.108.40.206 => 2.2 ===
--- RepoUtils/postcommit.py:220.127.116.11 Sat Dec 13 11:50:44 2003
+++ RepoUtils/postcommit.py Sat Dec 13 13:28:51 2003
@@ -3,9 +3,17 @@
Table-guided checkin notifications with diffs and symlink maintenance, all
from tables maintained as part of the repository bookkeeping.
+Notifications are routed according to traffic_table.py in the bookkeeping
+directory, and symlink management is according to checkin of a file named
+'repolinks', using adjustlinks.py. The actual work happens in a separate,
+disconnected process to avoid CVS lock self-contention and also avoid delaying
+people's checkin activities.
This is intended to be made available for import to the custom repository
bookkeeping scripts by inclusion in the repository host's python site-packages
+See the value of POSTCOMMIT_ACTIONS_OPTIONS for usage details."""
@@ -22,7 +30,7 @@
MAIL_CMD = "/usr/lib/sendmail -t -f %s"
-postcommit_actions_options = """
+POSTCOMMIT_ACTIONS_OPTIONS = """
--verbose - operate in verbose mode, with output to OUTPUT_LOG in the
@@ -91,11 +99,11 @@
sVv_re = re.compile("(.*),([^,]+),([^,]+)")
- cvsmaster="cvs-admin at wherever",
- ldap_host=None, ldap_port=389,
+ cvsmaster="cvs-admin at wherever",
+ ldap_host=None, ldap_port=389,
"""Grok the args and process accordingly.
- cvsmaster: email address of an address to receive malfunction reports,
More information about the Zope-CVS