| 1 | = SvnBot = |
| 2 | ''A commit notification bot'' |
| 3 | |
| 4 | SvnBot is intended to be a small, simple, IRC bot that sends out a message when a commit is made to a repository. |
| 5 | |
| 6 | Other projects exist that cover similar functionality, such as the [http://cia.navi.cx/ CIA Open Source Notification System] and [http://whippingboy.homeunix.org/ whippingboy]: |
| 7 | |
| 8 | * The [http://cia.navi.cx/ CIA Open Source Notification System] tracks project activities and presents some statistics about projects. It has the ability to provide notification via an IRC bot. |
| 9 | * [http://whippingboy.homeunix.org/ whippingboy] is an IRC bot (thought to be a [http://supybot.com/ Supybot] with an RSS |
| 10 | plugin) that polls the timeline for projects using Trac, notifying on any new changes, including commits to the repository. |
| 11 | |
| 12 | The main reasons for creating yet another bot were for its simplicity, and as a personal programming exercise. |
| 13 | |
| 14 | == Requirements == |
| 15 | |
| 16 | SvnBot is written in Python, and uses the Twisted API: |
| 17 | |
| 18 | * Python (>=2.2), from http://python.org/ |
| 19 | * Twisted 1.3, from http://twistedmatrix.com/ (untested in Twisted 2) |
| 20 | |
| 21 | == Downloading == |
| 22 | There is no convenient package to download yet. Instead, make sure you have [http://subversion.tigris.org/ Subversion] installed and grab the latest development version from the repository: |
| 23 | {{{ |
| 24 | svn checkout http://svn.sward.vm.bytemark.co.uk/repos/misc/svnbot/trunk svnbot |
| 25 | }}} |
| 26 | |
| 27 | == Configuration and Usage == |
| 28 | There are no configuration files yet. Just edit {{{svnbot.py}}} to change the IRC server and channel, and run with: |
| 29 | {{{ |
| 30 | twistd -oy svnbot.py |
| 31 | }}} |
| 32 | |
| 33 | == License == |
| 34 | Svnbot is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. |
| 35 | |
| 36 | Svnbot is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the [http://www.gnu.org/licenses/gpl.html GNU General Public License] for more details. |