The web application: cia.vc can be used to both monitor a project's subversion repository and deliver messages about commits to an IRC channel.
You can add your own projects from github by going to the admin tab in the github repo, and turning on CIA commit hooks (second sub-tab "service hooks" in the admin menu). There are no options for the CIA commit bot. You configure the bot from cia.vc
The Concord CIA bot is a community bot, so anyone can change its settings. Follow these steps to add a new project to be tracked by CIA:
- Create a new account for yourself at cia.vc.
- Click on the "Bots" tab in the left hand side.
- "Add" a new bot. Enter "Freenode" as the IRC Network, and "#Otrunk" as the channel.
- "adding" this bot, actually just finds the bot which exists already as bot 9370 .
- You will have to configure a pattern-match for your project under the advanced-filtering settings tab. (see the XML below).
- There is a web-page which describes the bot-markup.
Currently the otrunk channel bot is configured for:
|SAIL Data Service||http://cia.vc/account/projects/9951/||http://svn.concord.org/svn/sds|
There is a post-commit hook for each of those subversion repositories that generates a message to cia.vc describing the commit.
Integration with the repositories hosted on GitHub can be enabled by turning CIA integration on in the Service Hooks section. This can only be done by the owner of the project.
A message sent to the irc from the CIA bot might look like this:
That log message sent to IRC indicates:
- the commit was to the main CC project repo (which is called otrunk here)
- the commit was by the user aunger
- it was svn rev 16611
- only one file was updated: overlay-wrapper-activity.otml
- a link to the Trac visualization of the changeset is provided
- the log message that describes the commit
Here's what the advanced filter for the #otrunk bot looks like:
The matcher for the otrunk project needed to be special-cased because the trac project name is projects instead of otrunk.