I forgot few things: The bot used to be available to everyone, but freenode staff requested me to limit it only for wikimedia people, so that there aren't people who abuse it. For that reason in order to get the bot in your channel you need to have wikimedia cloak, if you don't have it, just ask in #wm-bot and someone will help you out.
Also, these @github+ / @github- commands need to be issued in YOUR channel, not #wm-bot Thanks :) On Tue, Feb 17, 2015 at 4:50 PM, Petr Bena <benap...@gmail.com> wrote: > Hi folks, > > I was too tired of semi-working unstable random IRC services that > provides IRC commit messages from github to your channel, so I created > a simple plugin to wm-bot which can handle that now. > > Features: > > * It's incredibly easy to setup (10 seconds setup) > * Requires no registration > * Pretty stable (running on wikimedia labs) > * Self-service - everyone can configure the bot as they want directly from IRC > > How it works in few steps: > > 1) Get wm-bot to your channel (just join #wm-bot and type @add #somechannel > 2) type @github+ <full name of repository> for example for repository > http://github.com/benapetr/test it would be @github+ benapetr/test > 3) Add web hook in github settings of your repository to > http://wm-bot.wmflabs.org/github/index.php > > That's all > > Example output: > (10:41:00) <wm-bot> GitHub [benapetr/test-wm] benapetr pushed 1 > commits: > https://github.com/benapetr/test-wm/compare/87ad2018cae6...f5b2131c10ad > (10:41:00) <wm-bot> GitHub [benapetr/test-wm] commit by benapetr > (Petr Bena) > https://github.com/benapetr/test-wm/commit/f5b2131c10ad3bb1fe902db911ed01421ce6effe > test > > Formatting kind of suck, but you can fix it! Handler is written in > PHP: > https://github.com/benapetr/wikimedia-bot/blob/master/src/WMBot.Plugins/GitHub/listener/github.php _______________________________________________ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l