= SvnBot Design = == Communication == SvnBot is controlled by sending it method calls using [http://www.xmlrpc.com/ XML-RPC], an [http://www.w3.org/XML/ XML] based encoding for remote procedure calls (RPC) over [http://www.w3.org/Protocols/ HTTP]. An XML-RPC client connects to SvnBot, sends a command to it, and SvnBot obeys by sending something to an IRC channel. In Python, this is really simple to do. Just instantiate a server object to connect to the bot, then call any method on that object to make it do something, like so: {{{ #!python import xmlrpclib, sys s = xmlrpclib.Server('http://localhost:7080/') s.showCommitSummary('123', 'simon') }}} If the above code seems familiar, it is probably because it is what the simplest [http://subversion.tigris.org/ Subversion] hook script for SvnBot does!