Git Product home page Git Product logo

raumzeitchef-ircbot's Introduction

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='[email protected]'
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:

raumzeitchef-ircbot's People

Contributors

maikf avatar elsbrock avatar stapelberg avatar silsha avatar

Stargazers

 avatar Carsten avatar Martin Stoffers avatar Lukas Martini avatar  avatar  avatar

Watchers

Tim Weber avatar  avatar  avatar  avatar Simon avatar Ranlvor avatar Jan Georgens avatar  avatar [obsolete] avatar Akisa avatar Bfritz0815 avatar Danny Edel avatar James Cloos avatar  avatar Leah Oswald avatar  avatar René van der Winkel avatar uwap avatar Christian Weilbach avatar  avatar Markus Bockhacker avatar M@rl!n avatar sʟowᴘoĸe avatar  avatar

Forkers

mk-pmb elsbrock

raumzeitchef-ircbot's Issues

!erinner mich an … um …

Es wäre cool auch !erinner mich an [ding] um [uhrzeit] machen zu können bei Dingen, die zu fixen Uhrzeiten stattfinden (z.B. !erinner mich an Ins RZL gehen um 18:30).

+v funktioniert nicht bei erkennung durch RaumzeitStatus

Bei mir funktioniert das automatische +v bei Anwesenheit nicht.
Mein Nick="Nurtic-Vibe" - identisch in BenutzerDB und IRC. RaumzeitStatus setzt den Namen auf lowercase um ("nurtic-vibe"), auch mit diesem Nick vergibt der Bot kein +v.

Announce von neuen Blogposts

Wenn ein neuer Blogpost veröffentlicht wird, könnte der Chef ihn in den Channel verlinken. Praktisch wie die jetzt schon vorhandenen repository-Änderungen, nur mehr sprechender Text und ohne commit ID: »[Neuer Blogpost]: Lorem ipsum sum«

!query for querying rzl-xkeyscore

It would be nice to have a !query command that allows to send SQL queries to the xkeyscore MySQL database, because… why not. The result of the query should be limited to a certain number of records.

Travis Build

I tried auto-building the package on Travis, but some dependencies are not being installed for whatever reason.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.