CIA Bots are back
Say you started a project and started an IRC channel for it. One of the nice features cia.navi.cx provided were irc bots. On every commit to your project, a bot announced it in the channel.
When I started Mailody I requested such a bot, but did not receive an answer. Yesterday an automated answer was in my Inbox. It stated that I could now setup and maintain that bot myself. So for everyone who wants a bot in their channel announcing the commits to their project, follow these steps which can be done in less than a minute if you are fast enough:
- Go to http://cia.navi.cx/account and register.
- Choose bots on the left and Add a bot, pick freenode and fill in your channel name.
- Set it to ‘Custom filter’ and go to the ‘Advanced filtering’ tab
- Fill in this piece:
<and>
<match path=”/message/source/project”>kde</match>
<find path=”/message/body/commit/files”>mailody</find>
</and>
<formatter medium=”irc”/> - You will see the bot joining the channel and starting announcing when there is something to announce.
You can not use the Filter by project on the basic filtering tab, as all apps are in the ‘kde’ project, so you need the ‘Ruleset’ as given above.
Thanks Tom! I’ve been wondering how to do that for #eigen.
This is awesome, thanks Tom! Didn’t know about the admin interface yet. Now we finally got CIA back in our dev chan :)