Skip to content


Subversion checkout URL

You can clone with
Download ZIP
RelEng Bot
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


RelEng Bot

Python based IRC bot (yes, I know) that gives an IRC interface to
various Mozilla Release Engineering systems.

Super simple Module system that is designed to be easy to write
modules for, not to be efficient or super-snazzy fancy.

Module Framework

Modules are standalone python files that receive messages from
the main IRC loop.  Once called, the command function should do
everything needed and perform any replies.  

Yep, currently modules are sequential, so if your module is slow
then the whole bot will appear sluggish.

Two sample modules are in the modules directory: and

Needed Modules:

  reply with the person currently on buildduty
  allow buildduty to change via bot
  (optional) set buildduty schedule via bot

enable/disable slave
  reach into slavealloc and mark a slave as enabled/disabled
  (?) require a reason why and record it in slavealloc

  query slave to return:
      slavealloc notes
      last 5 jobs run and their status
      what master it's on

  return current time, or if TZ given, time in that timezone

  a filter to monitor nagios that checks if a slave has a note or is disabled
  and if so, ack that alert in nagios

scan puppet and master log items in redis for errors and alert them

reboot slave (may not be possible because of security)

health (may not be possible because of security)
  query slave via ping, ssh and other methods to ensure that it is
  up and running


add get/set key store for modules
add hooks to redis so filters can be triggered against external events
    (logs, time, ???)


  irclib by Joel Rosdahl
    It's included with this source and is also available from GitHub

  Bugzilla API Python Library
Something went wrong with that request. Please try again.