As half of wikimedia labs just died, rendering this feature unusable,
I am taking back teh "Pretty stable" feature :/
On Tue, Feb 17, 2015 at 5:17 PM, Petr Bena <benapetr(a)gmail.com> wrote:
It wouldn't be me if I didn't forget how the
whole thing works 5
minutes after I finish it. So yes, I forgot some more details, here I
correct the how-to guide, there is also a version on meta:
https://meta.wikimedia.org/wiki/Wm-bot#Git_Hub
How to setup:
1) Get wm-bot to your channel (just join #wm-bot and type @add #somechannel
2) Enable relay in that channel (type @relay-on)
3) type @github+ <full name of repository> for example for repository
http://github.com/benapetr/test it would be @github+ benapetr/test
4) Add web hook in github settings of your repository to
http://wm-bot.wmflabs.org/github/index.php
On Tue, Feb 17, 2015 at 4:55 PM, Petr Bena <benapetr(a)gmail.com> wrote:
> 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 <benapetr(a)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/f5b2131c10ad3bb1fe902db911ed0142…
>> 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/Git…