I propose to add an extension hook for RC notification. The current option of
sending UDP packets is not very flexible, and different ways of notification
would sometimes be helpful.
The following functionality is included in the patch:
- infrastructure for generic RC notification hooks. Each hook can also have
arbitrary, per-instance configuration (port, etc)
- UDP notification as before
- Writing notifications to a file (or, more sensibly, to a fifo)
- Three different formats: human-readable colorized (like is currently done),
plain text, and CSV
It would thus be for instance possible to send notifications to a separate IRC
channel in a format that can be parsed more easily by scripts (I know of at
least two scripts that currently parse the RC channels).
For low-traffic sites, extensions for notification via e-mail, jabber, etc could
be plugged in easily, as opposed to hacking the core code.
patch to follow in a minute
Version: 1.6.x
Severity: enhancement