Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An IRC bot to display Unfuddle repository callbacks.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 README.mdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 unfuddle-bot.gemspec
README.mdown

Unfuddle Bot

This bot was made to display Unfuddle repository callbacks in an IRC channel.

Message Format

Incoming messages from Unfuddle expect the following structure:

<?xml version="1.0" encoding="UTF-8"?>
<changeset>
  <author-date type="datetime">2011-06-03T14:47:48+00:00</author-date>
  <author-email>username@example.com</author-email>
  <author-id type="integer">55555</author-id>
  <author-name>Jimmy Dean</author-name>
  <committer-date type="datetime">2011-06-03T14:47:48+00:00</committer-date>
  <committer-email>username@example.com</committer-email>
  <committer-id type="integer">55555</committer-id>
  <committer-name>Jimmy Dean</committer-name>
  <created-at type="datetime">2011-06-03T14:50:45+00:00</created-at>
  <id type="integer">2467352</id>
  <message>Bumping version to v1.0.2.</message>
  <repository-id type="integer">34211</repository-id>
  <revision>0b84d66ac79b378afd9ff7e725cedc5a65847cd7</revision>
</changeset>

Sample Configuration

Put the following within ~/.unfuddle-bot:

irc_nick: "unfuddle-bot"
irc_realname: "Unfuddle Bot"
irc_server: "irc.freenode.net"
irc_channels: ["#test", "#test2"]
callback_bind_ip: "127.0.0.1"
callback_bind_port: 9000
unfuddle_domain: "example.unfuddle.com"
unfuddle_username: "api_user"
unfuddle_password: "secret"

Installation

git clone git://github.com/hectcastro/unfuddle-bot.git
cd unfuddle-bot
rake install

Usage

unfuddle-bot start  # start the Unfuddle bot
unfuddle-bot stop   # stop the Unfuddle bot

Gotchas

  • If you want to track repositories across multiple projects, make sure that the API user has suitable permissions.
Something went wrong with that request. Please try again.