From Fedora Project Wiki

m (Formatting fix.)
(processing interrupted meeting logs)
Line 17: Line 17:
== Description ==
== Description ==


zodbot is a supybot based irc bot that we use in our #fedora channels.  It runs on noc1 as the daemon user.  We do not config manage the zodbot.conf because supybot makes changes to it on its own.  Therefore it gets backed up and is treated as data.
[[zodbot]] is a supybot based irc bot that we use in our #fedora channels.  It runs on noc1 as the daemon user.  We do not config manage the zodbot.conf because supybot makes changes to it on its own.  Therefore it gets backed up and is treated as data.


== shutdown ==
== shutdown ==
Line 29: Line 29:
                     # This requirement will go away in a later meetbot release.
                     # This requirement will go away in a later meetbot release.
sudo -u daemon supybot -d /var/lib/zodbot/conf/zodbot.conf</pre>
sudo -u daemon supybot -d /var/lib/zodbot/conf/zodbot.conf</pre>
== Processing interrupted meeting logs ==
zodbot forgets about meetings if they are in progress when the bot goes down; therefore, the meetings never get processed. Users may request a ticket in [https://fedorahosted.org/fedora-infrastructure our Trac instance] to have meeting logs processed.
Trac tickets for meeting log processing should consist of a URL where zodbot had saved the log so far and an uploaded file containing the rest of the log. The logs are stored in /srv/www/meetbot. Append the remainder of the log uploaded to Trac (don't worry too much about formatting; meeting.py works well with irssi- and XChat-like logs), then run:
sudo python /usr/lib/python2.4/site-packages/supybot/plugins/MeetBot/meeting.py replay /path/to/fixed.log.txt
Close the Trac ticket, letting the user know that the logs are processed in the same directory as the URL they gave you.


[[Category:Infrastructure SOPs]]
[[Category:Infrastructure SOPs]]

Revision as of 20:25, 9 June 2010

Shortcut:
ISOP:ZODBOT

zodbot is a supybot based irc bot that we use in our #fedora channels.

Contact Information

Owner: Fedora Infrastructure Team

Contact: #fedora-admin

Location: Phoenix

Servers: noc1

Purpose: Provides our IRC bot

Description

zodbot is a supybot based irc bot that we use in our #fedora channels. It runs on noc1 as the daemon user. We do not config manage the zodbot.conf because supybot makes changes to it on its own. Therefore it gets backed up and is treated as data.

shutdown

 killall supybot 

startup

cd /srv/web/meetbot # zodbot current needs to be started in the meetbot directory.
                    # This requirement will go away in a later meetbot release.
sudo -u daemon supybot -d /var/lib/zodbot/conf/zodbot.conf

Processing interrupted meeting logs

zodbot forgets about meetings if they are in progress when the bot goes down; therefore, the meetings never get processed. Users may request a ticket in our Trac instance to have meeting logs processed.

Trac tickets for meeting log processing should consist of a URL where zodbot had saved the log so far and an uploaded file containing the rest of the log. The logs are stored in /srv/www/meetbot. Append the remainder of the log uploaded to Trac (don't worry too much about formatting; meeting.py works well with irssi- and XChat-like logs), then run:

sudo python /usr/lib/python2.4/site-packages/supybot/plugins/MeetBot/meeting.py replay /path/to/fixed.log.txt

Close the Trac ticket, letting the user know that the logs are processed in the same directory as the URL they gave you.