Email notification of changesets in icedtea hg repositories
Mark Wielaard
mark at klomp.org
Sun Sep 9 12:27:27 PDT 2007
Hi,
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.
Cheers,
Mark
-------------- next part --------------
# system-wide mercurial configuration file
# See hgrc(5) for more information
[hooks]
incoming.notify = python:hgext.notify.hook
[notify]
sources = serve push pull bundle
test = False
maxdiff = 500
[usersubs]
## 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
[smtp]
host = localhost
[web]
style = gitweb
allow_archive = bz2 gz
contact = distro-pkg-dev at openjdk.java.net
baseurl = http://icedtea.classpath.org
[trusted]
groups = icedtea
More information about the distro-pkg-dev
mailing list