Email notification of changesets in icedtea hg repositories
mark at klomp.org
Sun Sep 9 12:27:27 PDT 2007
I added email notification to the icedtea hg repositories.
For every change pushed to the central server an email is send to this
list, including up to 500 lines of diff. Except for the testrepo which
doesn't send any email and the openjdk mirror repo which only send an
notification of new code, but no diff.
Currently all email goes to this list. If the notification emails get
too much and people want we can setup a separate list.
Attached is the global /etc/mercurial/hgrc used on the server.
-------------- next part --------------
# system-wide mercurial configuration file
# See hgrc(5) for more information
incoming.notify = python:hgext.notify.hook
sources = serve push pull bundle
test = False
maxdiff = 500
## key is subscriber email, value is comma-separated list of glob patterns
# We don't want notification of /hg/testrepo, so not included. openjdk
# overrides maxdiff to not send any diffs. The others use the default above.
distro-pkg-dev at openjdk.java.net = /hg/fedora,/hg/icedtea,/hg/openjdk
host = localhost
style = gitweb
allow_archive = bz2 gz
contact = distro-pkg-dev at openjdk.java.net
baseurl = http://icedtea.classpath.org
groups = icedtea
More information about the distro-pkg-dev