I wanted to point out a few recent changes to ansibullbot/“ansibot”.
First off, all the code is publicly available at https://github.com/ansible/ansibullbot should you have any desire to see how it works. The codebase has been restructured since the repomerge and will probably undergo a little more shuffling in the future as I attempt to make it an importable python module. If you want to contribute and aren’t sure how it all connects together, ping me on irc or on this list and I will offer what I can.
Prior to the repomerge, there were basically 2 different bots. You might have heard some people call one of them the “gdk bot”, which was triaging pullrequests every 6 hours. The other one was running as the “ansibot” user and triaging issues+pullrequests on the module repos and everything in ansible/ansible. All of these bots are now in the same codetree and running as “ansibot”. You should see it act on an updated ticket in less than 10 minutes depending on the current load.
Here’s a few notable commands:
- bot_broken - This should work on any issue/pullrequest and can be used by anyone. Please use this if you ever think the bot isn’t acting correctly.
- bot_status - The previous iterations of the bots sent a -lot- of notifications. So many that looking through the backlog got really painful. bot_status will cause the bot to print out a list of information about the issue, starting with who the issue is waiting on. Hopefully this reduces the spam maintainers get in their inbox down to something more manageable.
- (+label|-label) - I added these today to fill in the gap between other commands and routine labeling. If you maintain a module or are in the “ansible” organization on github, you can use these commands. Note that there is a whitelist of which labels can be managed through these commands in the ISSUE_HELP.md. If you are perusing through the issue queue and find an issue with a “needs_triage” label, check over the labels and description, then remove the label with “-label needs_triage” if everything looks good.
The last change I would like everyone to know about is the https://github.com/ansible/ansibullbot/blob/master/ISSUE_HELP.md. Every comment the bot makes will have a link to the page, so many of you have seen it. Please read through this if you haven’t already.