[6] | 1 | svnbot -- A commit notification bot: |
---|
[1] | 2 | |
---|
| 3 | As nice as the CIA Open Source Notification System[1] is, I wanted |
---|
| 4 | something a little more simple. I was not overly interested in |
---|
| 5 | statistics, and Trac[2] provides most of what I need in a web-based |
---|
| 6 | interface to Subversion[3], I just wanted a simple IRC bot that would |
---|
| 7 | alert people when something is committed to a repository. |
---|
| 8 | |
---|
[6] | 9 | Since I have been present in the #trac IRC channel on Freenode, I have |
---|
| 10 | noticed whippingboy[4]. I am told this is just a Supybot[5] with an RSS |
---|
| 11 | plugin, which polls Trac's timeline RSS feed from a cron job. |
---|
[1] | 12 | |
---|
[6] | 13 | |
---|
[1] | 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 | |
---|
| 22 | USAGE |
---|
| 23 | |
---|
| 24 | Twisted provides packaging facilities to supposedly make things easy on |
---|
| 25 | running and configuring Twisted applications, but I haven't done that |
---|
| 26 | yet. :) |
---|
| 27 | |
---|
[6] | 28 | Instead, edit svnbot.py to change the IRC server and channel, and run |
---|
| 29 | with: |
---|
[1] | 30 | |
---|
| 31 | twistd -oy svnbot.py |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | TODO |
---|
| 35 | |
---|
| 36 | * Stuff |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | LICENSE |
---|
| 40 | |
---|
[6] | 41 | Svnbot is free software; you can redistribute it and/or modify it under |
---|
| 42 | the terms of the GNU General Public License as published by the Free |
---|
| 43 | Software Foundation; either version 2 of the License. |
---|
[1] | 44 | |
---|
[6] | 45 | Svnbot is distributed in the hope that it will be useful, but WITHOUT |
---|
| 46 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
---|
| 47 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
---|
| 48 | for more details. |
---|
[1] | 49 | |
---|
[6] | 50 | You should have received a copy of the GNU General Public License along |
---|
| 51 | with Svnbot; if not, write to the Free Software Foundation, Inc., 51 |
---|
| 52 | Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
[1] | 53 | |
---|
| 54 | ---- |
---|
| 55 | 1. http://cia.navi.cx/ |
---|
| 56 | 2. http://www.edgewall.com/trac/ |
---|
| 57 | 3. http://subversion.tigris.org/ |
---|
[6] | 58 | 4. http://whippingboy.homeunix.org/ |
---|