[openstack-dev] Switch 'all?' openstack bots to errbot plugins?
Joshua Harlow
harlowja at fastmail.com
Fri Jul 29 05:49:54 UTC 2016
Hi folks,
I was thinking it might be useful to see what other folks think about
switching (or migrating all the current bots we have in openstack) to be
based on errbot plugins.
Errbot @ http://errbot.io/en/latest/ takes a slightly different approach
to bots and treats each bot 'feature' as a plugin that can be activated
and deactivated with-in the context of the same bot (even doing so
dynamically/at runtime).
It also allows for those that use slack (or other backend @
http://errbot.io/en/latest/features.html) to be able to 'seamlessly' use
the same plugins and just switching a tiny amount config to use a
different 'bot backend'.
I've been experimenting with it more recently and have a gerritbot (sort
of equivalent) @ https://github.com/harlowja/gerritbot2 and also have
been working on a oslobot plugin @
https://review.openstack.org/#/c/343857/ and during this exploration it
has gotten me to think that we could move most of the functionality of
the various bots in openstack (patchbot, openstack - really meetbot,
gerritbot and others?) under the same umbrella (or at least convert them
into plugins that folks can run on IRC or if they want to run them on
some other backend that's cool to).
The hardest one I can think would be meetbot, although the code @
https://github.com/openstack-infra/meetbot doesn't look impossible (or
really that hard to convert to an errbot plugin).
What do people think?
Any strong preference?
I was also thinking that as a result we could then just have a single
'openstack' bot and also turn on plugins like:
- https://github.com/aherok/errbot_plugins (helps with timezone
conversions that might be useful to have for folks that keep on getting
them wrong).
- some stackalytics integration bot?
- something even better???
- some other plugin @ https://github.com/errbotio/errbot/wiki
-Josh
More information about the OpenStack-dev
mailing list