raumzeitlabor / raumzeitchef-ircbot

RaumZeitChef IRC-bot

Home Page:http://raumzeitlabor.de/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RaumZeitChef ircbot

This git repository contains the source for the RaumZeitChef IRC bot.

script/ircbot-chef
A simple script to run the IRC bot, providing --version.
lib/RaumZeitLabor/IRC/Chef.pm
The bot source code.

Development

WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP

Currently rewriting architecture/plugin system to enable modular testing. In the meantime please run ./script/ircbot-chef and set --channel and set --nick to something appropiate.

WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP WIP

Building a Debian package

The preferred way to deploy code on infra.rzl (where this bot traditionally runs on) is by installing a Debian package. This has many advantages:

  1. When we need to re-install for some reason, the package has the correct dependencies, so installation is easy.

  2. If Debian ships a new version of perl, the script will survive that easily.

  3. A simple dpkg -l | grep -i raumzeit is enough to find all RaumZeitLabor-related packages and their version. The precise location of initscripts, configuration and source code can be displayed by dpkg -L raumzeitchef-ircbot.

To create a Debian package, ensure you have dpkg-dev installed, then run as root to ensure the Modules are installed globally:

sudo dpkg-buildpackage -uc -us

Now you have a package called raumzeitchef-ircbot_$VERSION_all.deb which you can deploy on infra.rzl.

Updating the Debian packaging

If you introduce new dependencies, bump the version or change the description, you have to update the Debian packaging. First, install the packaging tools we are going to use:

apt-get install dh-make-perl

Then, run the following commands:

perl Makefile.PL
make manifest
export DEBFULLNAME='Your Name' DEBEMAIL='your@full.name'
dh-make-perl refresh
debchange --nmu

Inspect the changes to debian/ and commit them.

See also

For more information about Debian packaging, see:

For online documentation about the Perl modules which are used:

About

RaumZeitChef IRC-bot

http://raumzeitlabor.de/

License:Other


Languages

Language:Perl 99.3%Language:Perl 6 0.7%