[darcs-users] Email notifications from "darcs push"
Erik Schnetter
schnetter at aei.mpg.de
Wed Dec 15 20:30:14 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A colleague of mine, Thomas Radke, has written a perl script that sends
out emails announcing the patches that have been pushed into a remote
repository. I attach the script below.
Installing this script requires a trick. When darcs pushes a set of
patches, it invokes an executable "darcs" on the remote machine.
Rename the original darcs executable to "darcs1", and rename the script
to "darcs". Set the location of the true darcs executable (i.e.,
"darcs1" in this case) in the beginning of the script. Darcs will thus
run this script, which sends out the email notifications and then calls
the original darcs executable, which in turn applies the patchset. The
list of email addresses that should receive the patches should also be
set in the script.
It is not perfect, but it works perfectly.
- -erik
- --
Erik Schnetter <schnetter at aei.mpg.de> http://www.aei.mpg.de/~eschnett/
My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from www.keyserver.net.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBwJ7Wm3uiSwno3f0RAteUAJ4yOhrf+h4YoeM0kXDAX/Jr8yOGnQCgrcW0
45LH4ojmzEExa8NVDFUnhfY=
=YnSP
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: darcs0
Type: application/x-perl
Size: 2746 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20041215/5475ebae/attachment.bin
More information about the darcs-users
mailing list