Tim's Blog

Install TracBot supbybot irc plugin

First check which dir supy plugins need to be installed to:

?query DodgyDude
?config directories.plugins

Use that dir in the instructions below:

apt-get install darcs
darcs get http://source.supybot.com/supybot-plugins
cp -R supybot-plugins/* /var/lib/python-support/python2.4/supybot/plugins/
ps -ef |grep supybot
kill



then restart supy and go to a private chat with dodgy and issue these commands:

/msg DodgyDude
load TracBot
config plugins.rss.announcementprefix “”
config plugins.rss.waitperiod 60
plugins.rss.announce.showlinks true

Now we can set up our feed and use the RSS (note its case sensitive) to keep track of new events on trac. Do this in the channel that will get the feed events::

?RSS add tracfeed http://someurl
?RSS announce tracfeed

You can add more than one - just give each a unique name (in this example we used tracfeed).  Now with tracbot you can do things like:

?ticket 14

?changeset 21 

One extra tip if you are having issues is to tail -f logs/messages.log so you can see if things are working…


To Tumblr, Love PixelUnion