gchristensen changed the topic of #nixos-borg to: https://www.patreon.com/ofborg https://monitoring.nix.ci/dashboard/db/ofborg?refresh=10s&orgId=1&from=now-1h&to=now "I get to skip reviewing the PHP code and just wait until it is rewritten in something sane, like POSIX shell. || https://logs.nix.samueldr.com/nixos-borg
NinjaTrappeur has quit [Ping timeout: 256 seconds]
NinjaTrappeur has joined #nixos-borg
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-borg
<{^_^}> [ofborg] @mpickering opened pull request #193 → Add mpickering to trusted users → https://git.io/fNv5R
jtojnar has quit [Remote host closed the connection]
jtojnar has joined #nixos-borg
jtojnar has quit [Quit: jtojnar]
jtojnar has joined #nixos-borg
NinjaTrappeur has quit [Quit: WeeChat 2.1]
<infinisil> gchristensen: How can you get your bot to do something on certain events, e.g. commits?
<infinisil> Regarding github
<samueldr> the event names are the same than on github
<infinisil> Ah that's your side
<samueldr> that's the side of a consumer of that part
<samueldr> the webhook is hosted by graham
<infinisil> Ahh fancy
<samueldr> so unless some events aren't passed through
<infinisil> Can anybody get github to send events to his webhook server for any repo?
<samueldr> no
<samueldr> only for repos for which you can configure it
<samueldr> infinisil: for commits, pretty sure you'd look at `push` events
<infinisil> Thanks, I'll try this at some point
<infinisil> What means "for which you can configure it"?
<infinisil> Oh, the repo owner?
<samueldr> you need to be able to set it up there
<samueldr> so, admins probably
<samueldr> I *think* there's a way to make a webhook for all the organization
<infinisil> Ahh I see now
<samueldr> and that's what's done here
<infinisil> Oh and in the code below I see the handling for channel updates
<samueldr> nah, channels aren't in this
<infinisil> Oh, that's irc channels
<infinisil> Where are they then?
<samueldr> there is also "channel" which is the rabbitmq thing
<samueldr> give me a sec, need to dig it up
<infinisil> samueldr: Oh, so just a regular git fetch?
<infinisil> I was hoping for something more "pully", oh well