Watch
1
0
Fork
You've already forked xiphbot
0
mirror of https://gitlab.xiph.org/xiph/xiphbot.git synced 2026-11-03 02:56:16 +00:00
Xiph.Org's irc bot scripts.
  • Perl 57.9%
  • Shell 37.1%
  • Python 5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2014-07-25 14:26:27 -07:00
README.txt Add examples for commit notification. 2012-09-27 16:10:07 -07:00
udp.py Import the source of Greg Maxwell's irc bot. 2012-08-21 14:42:58 -07:00
wikibot.pl Update bot to send daala messages to #daala. 2013-09-11 14:00:36 -07:00
xiphbot-gitnotify.sh Add filter for icecast repos. 2014-07-25 14:26:27 -07:00
xiphbot-svnnotify.sh Add examples for commit notification. 2012-09-27 16:10:07 -07:00

This is a set of scripts we use for IRC notification.

MediaWiki has a feature where it can generate a udp packet
per change, to be routed as you like. We started using this
to track changes to our wiki, and then when CIA.vc when
down we started using it for commit notifications as well.

For commit notifications we call udp.py from a hook script.

E.g. from svn/hooks/post-commit:

/bin/sh /path/to/xiphbot-svnnotify.sh "$REPOS" "$REV"

And from git/hooks/update:

refname="$1"
oldrev="$2"
newrev="$3"
/bin/sh /path/to/xiphbot-gitnotify.sh ${refname} ${oldrev} ${newrev}