[Pkg-freedict-commits] r29 - in /lib: ./ README post-commit svnmailer.conf

joostvb at users.alioth.debian.org joostvb at users.alioth.debian.org
Fri Dec 29 15:31:32 CET 2006


Author: joostvb
Date: Fri Dec 29 15:31:31 2006
New Revision: 29

URL: http://svn.debian.org/wsvn/pkg-freedict/?sc=1&rev=29
Log:
stuff as currently being used on our repo at alioth

Added:
    lib/
    lib/README   (with props)
    lib/post-commit   (with props)
    lib/svnmailer.conf   (with props)

Added: lib/README
URL: http://svn.debian.org/wsvn/pkg-freedict/lib/README?rev=29&op=file
==============================================================================
--- lib/README (added)
+++ lib/README Fri Dec 29 15:31:31 2006
@@ -1,0 +1,5 @@
+# $Id$
+# $URL$
+
+This stuff should be installed in alioth.debian.org:/srv/svn.debian.org/svn/pkg-freedict/hooks/ .
+

Propchange: lib/README
------------------------------------------------------------------------------
    svn:keywords = Id URL Author Date Rev

Added: lib/post-commit
URL: http://svn.debian.org/wsvn/pkg-freedict/lib/post-commit?rev=29&op=file
==============================================================================
--- lib/post-commit (added)
+++ lib/post-commit Fri Dec 29 15:31:31 2006
@@ -1,0 +1,41 @@
+#!/bin/sh
+
+# POST-COMMIT HOOK
+#
+# The post-commit hook is invoked after a commit.  Subversion runs
+# this hook by invoking a program (script, executable, binary, etc.)
+# named 'post-commit' (for which this file is a template) with the 
+# following ordered arguments:
+#
+#   [1] REPOS-PATH   (the path to this repository)
+#   [2] REV          (the number of the revision just committed)
+#
+# The default working directory for the invocation is undefined, so
+# the program should set one explicitly if it cares.
+#
+# Because the commit has already completed and cannot be undone,
+# the exit code of the hook program is ignored.  The hook program
+# can use the 'svnlook' utility to help it examine the
+# newly-committed tree.
+#
+# On a Unix system, the normal procedure is to have 'post-commit'
+# invoke other programs to do the real work, though it may do the
+# work itself too.
+#
+# Note that 'post-commit' must be executable by the user(s) who will
+# invoke it (typically the user httpd runs as), and that user must
+# have filesystem-level permission to access the repository.
+#
+# On a Windows system, you should name the hook program
+# 'post-commit.bat' or 'post-commit.exe',
+# but the basic idea is the same.
+# 
+# Here is an example hook script, for a Unix /bin/sh interpreter:
+
+REPOS="$1"
+REV="$2"
+
+# /usr/lib/subversion/hook-scripts/commit-email.pl "$REPOS" "$REV" commit-watchers at example.org
+
+/usr/bin/svn-mailer --commit --config "$REPOS/hooks/svnmailer.conf" --repository "$REPOS" --revision "$REV" &
+

Propchange: lib/post-commit
------------------------------------------------------------------------------
    svn:executable = *

Propchange: lib/post-commit
------------------------------------------------------------------------------
    svn:keywords = Id URL Author Date Rev

Added: lib/svnmailer.conf
URL: http://svn.debian.org/wsvn/pkg-freedict/lib/svnmailer.conf?rev=29&op=file
==============================================================================
--- lib/svnmailer.conf (added)
+++ lib/svnmailer.conf Fri Dec 29 15:31:31 2006
@@ -1,0 +1,64 @@
+# svn-mailer configuration file
+# Documentation: http://opensource.perlig.de/svnmailer/doc-1.0/
+[general]
+sendmail_command = /usr/sbin/sendmail
+
+[defaults]
+# Mail is sent with alioth account of the person who committed
+# You can change that by a mailing list if you prefer
+from_addr = %(author)s at users.alioth.debian.org
+
+# Include Websvn URL in mails
+browser_base_url = websvn http://svn.debian.org/wsvn/%(project)s
+
+# Configuration concerning mails sent
+long_mail_action = 1000000 showurls/truncate
+apply_charset_property = yes
+
+# Why QP encode by default ? I prefer 8 bit. Just disable next line to
+# have QP. Other possibility: base64
+mail_transfer_encoding = 8bit
+
+# Generate diffs for the following changes (only delete do not generate
+# diff, but they are noted in the mail).
+generate_diffs = add copy modify propchange 
+
+# Use external diff instead of difflib (the second example ignores
+# whitespace changes)
+# diff_command = /usr/bin/diff -up -L %(label_from)s -L %(label_to)s %(from)s %(to)s
+# diff_command = /usr/bin/diff -ubBwp -L %(label_from)s -L %(label_to)s %(from)s %(to)s
+
+# You can set a reply-to if you want
+#reply_to_addr = mailinglist at lists.alioth.debian.org
+
+# This is not needed but show as example
+#custom_header = X-PTS-Approved: yes
+
+[bysource]
+# This matches any SVN repo on svn.debian.org and extract the
+# alioth project name
+for_repos = (.*/|)svn/(?P<project>[^/]+)$
+
+# The following regex needs to be adapted following the structure of
+# the repository. You should extend it to match experimental (or similar)
+# branches that you may have in a special directory. It extracts the
+# source package name
+# for_paths = (deb-maint|ext-maint|orphaned)/(?P<package>[^/]+)/
+# for_paths = (?:trunk|tags|branches|upstream)/(?P<package>[^/]+)/
+for_paths = .*
+
+# Send to the PTS of the source package. Add any general commit list that
+# you have for the project.
+# bcc_addr = %(package)s_cvs at packages.qa.debian.org
+# to_fake = %(package)s at packages.qa.debian.org
+to_addr = pkg-freedict-commits at lists.alioth.debian.org
+
+show_nonmatching_paths = ignore
+#commit_subject_template = %(prefix)s r%(revision)s %(part)s - %(files/dirs)s
+#commit_subject_prefix = svn commit: 
+
+[otherstuff]
+# This section is used to send diff that do not match any particular
+# package
+ignore_if_other_matches = yes
+to_addr = pkg-freedict-commits at lists.alioth.debian.org

Propchange: lib/svnmailer.conf
------------------------------------------------------------------------------
    svn:keywords = Id URL Author Date Rev




More information about the Pkg-freedict-commits mailing list