Re: [openstack-dev] [infra] Switch 'all?' openstack bots to errbot plugins?
On 29/07/16 13:57 -0400, Doug Hellmann wrote: Excerpts from Joshua Harlow's message of 2016-07-29 10:35:18 -0700: I prefer 'one bucket repo for OpenStack community Errbot plug-ins' since I don't like a bunch of repos (seems like a premature optimization ~at this time~), but I could see either way on this one. Jeremy Stanley wrote: > On 2016-07-29 09:41:40 -0700 (-0700), Joshua Harlow wrote: > [...] >> What shall we name it??? > [...] > > Also, one bucket repo for OpenStack community Errbot plug-ins, or > one repo per plug-in with a consistent naming scheme? I agree. How about "openstack/irc-bot-plugins"? If we need to build an artifact we can name that openstack-irc-bot-plugins and if we don't then we can just install directly from the git repo (the docs for errbot talk about installing from github, so I'm not sure what the "best practice" is for that). Count me in! Flavio -- @flaper87 Flavio Percoco signature.asc Description: PGP signature __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [infra] Switch 'all?' openstack bots to errbot plugins?
Ya, I was looking for how these get downloaded/assembled into an actual bot, and from looking at errbot there appears to be a couple approaches, some just do '!repos install https://github.com/YaroslavMolchan/lctv' while others I've seen just install them and then setup the config.py that errbot uses to ensure they are loaded. It will probably be a little bit of learning to figure out what is the best mechanism here. Other things I've noticed is that errbot, to work with various backends actually uses an interesting approach to message formatting. All messages that u write to self.send() in a errbot plugin are expected to be markdown, and then at the individual backend layer there is a translation from that markdown to the backends supported 'syntax' (which say for slack is a semi-limited version of markdown) or for IRC is well not any version of markdown, ha. So u'll see things like the following that do this conversion: https://github.com/errbotio/errbot/blob/master/errbot/backends/slack.py#L66 -Josh Doug Hellmann wrote: Excerpts from Joshua Harlow's message of 2016-07-29 10:35:18 -0700: I prefer 'one bucket repo for OpenStack community Errbot plug-ins' since I don't like a bunch of repos (seems like a premature optimization ~at this time~), but I could see either way on this one. Jeremy Stanley wrote: On 2016-07-29 09:41:40 -0700 (-0700), Joshua Harlow wrote: [...] What shall we name it??? [...] Also, one bucket repo for OpenStack community Errbot plug-ins, or one repo per plug-in with a consistent naming scheme? I agree. How about "openstack/irc-bot-plugins"? If we need to build an artifact we can name that openstack-irc-bot-plugins and if we don't then we can just install directly from the git repo (the docs for errbot talk about installing from github, so I'm not sure what the "best practice" is for that). Doug __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [infra] Switch 'all?' openstack bots to errbot plugins?
Excerpts from Joshua Harlow's message of 2016-07-29 10:35:18 -0700: > I prefer 'one bucket repo for OpenStack community Errbot plug-ins' since > I don't like a bunch of repos (seems like a premature optimization ~at > this time~), but I could see either way on this one. > > Jeremy Stanley wrote: > > On 2016-07-29 09:41:40 -0700 (-0700), Joshua Harlow wrote: > > [...] > >> What shall we name it??? > > [...] > > > > Also, one bucket repo for OpenStack community Errbot plug-ins, or > > one repo per plug-in with a consistent naming scheme? > I agree. How about "openstack/irc-bot-plugins"? If we need to build an artifact we can name that openstack-irc-bot-plugins and if we don't then we can just install directly from the git repo (the docs for errbot talk about installing from github, so I'm not sure what the "best practice" is for that). Doug __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [infra] Switch 'all?' openstack bots to errbot plugins?
I prefer 'one bucket repo for OpenStack community Errbot plug-ins' since I don't like a bunch of repos (seems like a premature optimization ~at this time~), but I could see either way on this one. Jeremy Stanley wrote: On 2016-07-29 09:41:40 -0700 (-0700), Joshua Harlow wrote: [...] What shall we name it??? [...] Also, one bucket repo for OpenStack community Errbot plug-ins, or one repo per plug-in with a consistent naming scheme? __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [infra] Switch 'all?' openstack bots to errbot plugins?
On 2016-07-29 09:41:40 -0700 (-0700), Joshua Harlow wrote: [...] > What shall we name it??? [...] Also, one bucket repo for OpenStack community Errbot plug-ins, or one repo per plug-in with a consistent naming scheme? -- Jeremy Stanley __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [infra] Switch 'all?' openstack bots to errbot plugins?
Doug Hellmann wrote: Excerpts from Joshua Harlow's message of 2016-07-29 08:47:32 -0700: Jeremy Stanley wrote: On 2016-07-28 23:17:52 -0700 (-0700), Morgan Fainberg wrote: As I recall this has been on a long list of "we want to do it". It really just comes down to someone putting effort into making it happen. Yes, it's come up semi-often (also Joshua mentioned this to me over IRC earlier in the week where I basically told him the same). There's been a general consensus that the Infra team would love to see the IRC bots it manages (gerribot, meetbot, statusbot) rewritten in a common framework, preferably a modern and extensible one. The last time anyone looked into options (which admittedly was probably at least a year ago), errbot seemed like the leading contender for our desired language and featureset. To echo Morgan, we just need (and would really appreciate!) someone working on the implementation. I'll see what I can do in my (spare time), but others are also willing to jump in and learn some errbot ;) The previously mentioned examples of plugins (repeated here) are IMHO good things to look at if people are interested in messing around: - https://github.com/harlowja/gerritbot2 - https://review.openstack.org/#/c/343857/ I guess if people want to jump in and explore, message me as well on IRC (or email or smoke signals...), -Josh I have a couple of commands I'd like to add, too. How about if we set up a repo for errbot plugins and start working on them in the review system? Then when we feel like we've hit a critical mass of "usefulness" we can start adding an infra-hosted copy of the new bot to channels, and migrating remaining features from the older bots over to the new one. Sounds like a good idea to me :) What shall we name it??? (I'll be online in IRC in a few, in internal standup currently, prob can just discuss there, ha). Doug __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [infra] Switch 'all?' openstack bots to errbot plugins?
Excerpts from Joshua Harlow's message of 2016-07-29 08:47:32 -0700: > Jeremy Stanley wrote: > > On 2016-07-28 23:17:52 -0700 (-0700), Morgan Fainberg wrote: > >> As I recall this has been on a long list of "we want to do it". It > >> really just comes down to someone putting effort into making it > >> happen. > > > > Yes, it's come up semi-often (also Joshua mentioned this to me over > > IRC earlier in the week where I basically told him the same). > > There's been a general consensus that the Infra team would love to > > see the IRC bots it manages (gerribot, meetbot, statusbot) rewritten > > in a common framework, preferably a modern and extensible one. The > > last time anyone looked into options (which admittedly was probably > > at least a year ago), errbot seemed like the leading contender for > > our desired language and featureset. > > > > To echo Morgan, we just need (and would really appreciate!) someone > > working on the implementation. > > I'll see what I can do in my (spare time), but others are also willing > to jump in and learn some errbot ;) > > The previously mentioned examples of plugins (repeated here) are IMHO > good things to look at if people are interested in messing around: > > - https://github.com/harlowja/gerritbot2 > - https://review.openstack.org/#/c/343857/ > > I guess if people want to jump in and explore, message me as well on IRC > (or email or smoke signals...), > > -Josh > I have a couple of commands I'd like to add, too. How about if we set up a repo for errbot plugins and start working on them in the review system? Then when we feel like we've hit a critical mass of "usefulness" we can start adding an infra-hosted copy of the new bot to channels, and migrating remaining features from the older bots over to the new one. Doug __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [infra] Switch 'all?' openstack bots to errbot plugins?
Jeremy Stanley wrote: On 2016-07-28 23:17:52 -0700 (-0700), Morgan Fainberg wrote: As I recall this has been on a long list of "we want to do it". It really just comes down to someone putting effort into making it happen. Yes, it's come up semi-often (also Joshua mentioned this to me over IRC earlier in the week where I basically told him the same). There's been a general consensus that the Infra team would love to see the IRC bots it manages (gerribot, meetbot, statusbot) rewritten in a common framework, preferably a modern and extensible one. The last time anyone looked into options (which admittedly was probably at least a year ago), errbot seemed like the leading contender for our desired language and featureset. To echo Morgan, we just need (and would really appreciate!) someone working on the implementation. I'll see what I can do in my (spare time), but others are also willing to jump in and learn some errbot ;) The previously mentioned examples of plugins (repeated here) are IMHO good things to look at if people are interested in messing around: - https://github.com/harlowja/gerritbot2 - https://review.openstack.org/#/c/343857/ I guess if people want to jump in and explore, message me as well on IRC (or email or smoke signals...), -Josh __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
Re: [openstack-dev] [infra] Switch 'all?' openstack bots to errbot plugins?
On 2016-07-28 23:17:52 -0700 (-0700), Morgan Fainberg wrote: > As I recall this has been on a long list of "we want to do it". It > really just comes down to someone putting effort into making it > happen. Yes, it's come up semi-often (also Joshua mentioned this to me over IRC earlier in the week where I basically told him the same). There's been a general consensus that the Infra team would love to see the IRC bots it manages (gerribot, meetbot, statusbot) rewritten in a common framework, preferably a modern and extensible one. The last time anyone looked into options (which admittedly was probably at least a year ago), errbot seemed like the leading contender for our desired language and featureset. To echo Morgan, we just need (and would really appreciate!) someone working on the implementation. -- Jeremy Stanley __ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev