Go to file
Terence Simpson fd36bffcc0 (large commit, see bazaar log)
[Bantracker]
 * Less spaces in README.txt
 * Remove mention of table 'users' in README.txt
 * Add more detail on how to create the bans database in README.txt
 * Add note about supybot-wizard creating the initial database in README.txt
 * Don't hard-code default values in config.py:configure()
 * Tweak config.py
 * Clean up bans.cgi a bit

[Bugtracker]
 * Comment-out obsolete "bug reporting" variables in config.py
 * Update README.txt and remove "bug reporting" stuff, also remove extraneous license info
 * Comment-out obsolete "bug reporting" code
 * Don't import imaplib

[Encyclopedia]
 * Don't hard-code default values in config.py:configure()
 * Check for 'owner' capability before checking if the hostmask is ignored in plugin.py:checkIgnored()
 * Clean up README.txt

[PackageInfo]
 * Don't hard-code default values in config.py:configure()
 * Update default distributions in config.py:configure()
 * Update defaultRelease in config.py 
 * Update README.txt

* Add a few docstrings to commoncgi.py
* Update COPYING
* Update README.txt
2011-05-28 07:33:21 +01:00
Bantracker (large commit, see bazaar log) 2011-05-28 07:33:21 +01:00
Bugtracker (large commit, see bazaar log) 2011-05-28 07:33:21 +01:00
Encyclopedia (large commit, see bazaar log) 2011-05-28 07:33:21 +01:00
IRCLogin Make configure() do something for all plugins, also fix a couple of things from r197-203 2010-05-29 14:36:43 +01:00
Lart Make configure() do something for all plugins, also fix a couple of things from r197-203 2010-05-29 14:36:43 +01:00
Mess Make configure() do something for all plugins, also fix a couple of things from r197-203 2010-05-29 14:36:43 +01:00
PackageInfo (large commit, see bazaar log) 2011-05-28 07:33:21 +01:00
Webcal Make configure() do something for all plugins, also fix a couple of things from r197-203 2010-05-29 14:36:43 +01:00
.bzrignore Initial checkin 2006-06-26 19:57:20 +02:00
COPYING (large commit, see bazaar log) 2011-05-28 07:33:21 +01:00
README.txt (large commit, see bazaar log) 2011-05-28 07:33:21 +01:00
bans.cgi Improve IRCLogin slightly and add extra symlinks to ease use of the Web features 2008-11-26 14:34:47 +00:00
bans.tmpl Improve IRCLogin slightly and add extra symlinks to ease use of the Web features 2008-11-26 14:34:47 +00:00
bot.css Update web interface 2008-09-28 03:11:49 +01:00
commoncgi.py (large commit, see bazaar log) 2011-05-28 07:33:21 +01:00
empty.tmpl Improve IRCLogin slightly and add extra symlinks to ease use of the Web features 2008-11-26 14:34:47 +00:00
factoids.cgi Improve IRCLogin slightly and add extra symlinks to ease use of the Web features 2008-11-26 14:34:47 +00:00
factoids.tmpl Improve IRCLogin slightly and add extra symlinks to ease use of the Web features 2008-11-26 14:34:47 +00:00
index.html Update index.html too 2008-05-05 12:46:55 +01:00
logs.tmpl Improve IRCLogin slightly and add extra symlinks to ease use of the Web features 2008-11-26 14:34:47 +00:00
timezones.html Improve IRCLogin slightly and add extra symlinks to ease use of the Web features 2008-11-26 14:34:47 +00:00

This directory contains the supybot plugins that allow you to create a clone of
ubottu for your channels.
This file contains some basic set-up information that will be useful when
setting up an ubottu clone for the first time.

These plugins are designed to work with Python 2.5 and Python 2.6, they are
untested and unsupported on Python 3.0. The recommended way to set-up these
plugins is to first create a directory for the bot, then move this directory to
there and rename it to "plugins". Alternatively you can create an empty plugins
directory and create links to each separate plugin directory inside there.
After that you should make sure you have the following installed on the system:

Name            Debian/Ubuntu package       Website
Python-apt      python-apt                  N/A Debian (and derivatives) only
PySQLite        python-sqlite               http://ubottu.com/python-sqlite/
pytz            python-tz                   http://pypi.python.org/pypi/pytz/
SOAPpy          python-soappy               http://soapy.sourceforge.net/

(Optional)
Launchpadlib    python-launchpadlib         https://launchpad.net/launchpadlib
apt-file        apt-file                    N/A Debian (and derivatives) only

Launchpadlib will become a required module for Bugtracker (and possibly others)

Once these packages are installed, and in the bot directory containing the
"plugins" sub-directory, run this command: "supybot-wizard".
This wizard will guide you through the process of setting up the bot for an IRC
network. You should use the default answers when unsure.
When the wizard asks "Would you like to look at plugins individually?" answer
"y", there you will be presented with a list of plugins to choose. The ones
from ubuntu-bots are:

Name            Description
Bantracker      Helps to track bans/kicks/quiets/removes in channels
Bugtracker      Show information on bugs for various bug trackers.
Encyclopedia    A factoid encyclopaedia.
IRCLogin        Allows password-less login from users identified to services.
Lart            A database of "larts". (Unmaintained)
Mess            Random mess, pulls random things from the internet. (Unmaintained)
PackageInfo     Lookup information on Debian packages and file search.
(works on Debian and derivatives only, unless you take special measures)
Webcal          Updates a channel topic based on events in an iCal. (Unmaintained)

Note: Mess and Lart are largely unmaintained but are working, Webcal is
unmaintained and mostly broken except for extremely simple iCal feeds.

If you chose to enable Bantracker or Encyclopedia, initial databases will be
created in the "data" directory. These are named "bans.db" for the Bantracker
plugin and "ubuntu.db" for the Encyclopedia plugin. You can obtain the same
database that ubottu uses by overwriting the "ubuntu.db" file with the one
located at http://ubottu.com/ubuntu.db or by running the "@sync" command with
the bot in IRC.
The Bantracker database from ubottu is not available to the
public, as it will contain logs of channels which are not publically logged.

If you enabled the PackageInfo plugin several .list files will be created in
"data/aptdir/", these will be used with the "apt-cache" and "apt-file" commands
to retrieve package information and find files within packages.
When asked if you want to run the "update_apt" script you should
answer "y" to download the package information, this will take a while
depending on the speed of your connection and proximity to the default servers.
The same is true for the "update_apt_file" script, which will only be ran if
"apt-file" is installed. You should then edit the two scripts replacing the path
in "DIR=/home/bot/aptdir" with the path to your aptdir, which should be under
"data/aptdir" in your bots directory. You can then set up a cron job that will
run the two scripts daily, weekly or monthly. These scripts should be ran as
the user the bot is run as.

Once you have selected the plugins you want to enable, you will be asked "Would
you like to set the prefix char(s) for your bot?", you should answer "y" and
set it to anything other than the prefix character for Encyclopedia and
PacakgeInfo. If you weren't asked, it defaults to '!' for those plugins. The
recommended character to use is '@'. Do not set the prefix chacter for commands
and for the plugins to the same value, you will run into trouble.