Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elubow/jruby-bot

IRC bot for #jruby on irc.freenode.net.
https://github.com/elubow/jruby-bot

Last synced: 1 day ago
JSON representation

IRC bot for #jruby on irc.freenode.net.

Awesome Lists containing this project

README

        

h1. JRuby IRC Bot

IRC bot for #jruby on irc.freenode.net.

h2. Description

Using the "Cinch Ruby IRC plugin framework":https://github.com/injekt/cinch, an IRC bot for the #jruby channel on the Freenode network was created.

It is used to respond to:

* Jira ticket information requests.
* Notify the channel about newly created Jira tickets.

h2. INSTALL

To get the bot up and running, ensure you are running on at least Ruby 1.9.2 and 'bundle install' to get the gems installed and run:

* ruby bot.rb

All the cronlike things are handled by the bots internal timers.

*NOTE:* Currently the bot is not run as a daemon nor does it do any file logging so it is best to run the bot in a screen session.

h2. IRC Commands

This is the list of commands that the bot currently responds to.

h3. !help

This will send a few messages to the requesting user with the commands that this bot is capable of responding to.

h3. !jira

Show some general information about the ticket. A specific example is as follows:
< EricL> !jira JRUBY-5182
< jruby-bot> [Bug:Open] BSON C Extension causes jRuby to segfault
< jruby-bot> http://jira.codehaus.org/browse/JRUBY-5182

h2. TODO

* Daemonize
* Log certain things (like errors) to a file