Re: [openstack-dev] [all] purplerbot irc bot for logs and transclusion

2016-03-20 Thread Chris Dent

On Fri, 18 Mar 2016, Anita Kuno wrote:


On 03/16/2016 10:45 AM, Paul Belanger wrote:

I would like to see it added to openstack-infra so we can properly
manage it.


I agree with Paul here.


purpler (which includes the bot) is now packaged and on pypi:

   https://pypi.python.org/pypi/purpler

I tried to:

* package it in a way that ought to make it relatively straightforward
  to run in a variety of environments
* remove my little hacks that I put it in "just to get it working"

It doesn't have good tests, but has been running for a while,
reasonably well.


To that end I have added an item on next week's infra meeting agenda
about IRC Bots with the aim of discussing this, as this isnot the only
bot folks seem to want to run.
https://wiki.openstack.org/wiki/Meetings/InfraTeamMeeting#Agenda_for_next_meeting


I've put this on my calendar so will attend. I'll also hang out in
#openstack-infra so if anybody wants to discuss it ping me there.

--
Chris Dent   (�s°□°)�s�喋擤ォ�http://anticdent.org/
freenode: cdent tw: @anticdent__
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] [all] purplerbot irc bot for logs and transclusion

2016-03-19 Thread Paul Belanger
On Wed, Mar 16, 2016 at 01:55:56PM +, Chris Dent wrote:
> 
> I built an IRC bot
> 
> https://anticdent.org/purple-irc-bot.html
> 
> that provides (see the blog posting):
> 
> * granular logging
> * some in channel commands to get recent history and recent mentions
>   of your nick
> * inter channel transclusion of messages
> 
> and put it on a few channels (openstack-sdks, openstack-telemetry
> and openstack-nova, openstack-dev). A few people have expressed that it
> is useful so I thought I would ask if people would like it added to more
> channels. I don't want to just add them willy nilly without checking
> with the community.
> 
> For reference: for the time being the bot runs on and logs to the same
> little pet where I run my blog and a few other things.
> 
> Let me know.
> 
So, I cannot comment on the how useful the bot is but if projects are in fact
using it I would like to see it added to openstack-infra so we can properly
manage it.

I would suggest joining #openstack-infra on IRC and maybe discuss the usage of
the bot and if it could be add into our existing IRC bots or maybe pull your
codebase into -infra.
> -- 
> Chris Dent   (?s°□°)?s?喋擤ォ?http://anticdent.org/
> freenode: cdent tw: @anticdent

> __
> 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] [all] purplerbot irc bot for logs and transclusion

2016-03-19 Thread Anita Kuno
On 03/16/2016 10:45 AM, Paul Belanger wrote:
> I would like to see it added to openstack-infra so we can properly
> manage it.

I agree with Paul here.

To that end I have added an item on next week's infra meeting agenda
about IRC Bots with the aim of discussing this, as this is not the only
bot folks seem to want to run.
https://wiki.openstack.org/wiki/Meetings/InfraTeamMeeting#Agenda_for_next_meeting

No guarantee we will get to the item but all are welcome to participate
and discuss if they have thoughts on this topic.

Thank you,
Anita.

__
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] [all] purplerbot irc bot for logs and transclusion

2016-03-19 Thread Chris Dent

On Wed, 16 Mar 2016, Jeremy Stanley wrote:


On 2016-03-16 13:55:56 + (+), Chris Dent wrote:


I built an IRC bot

https://anticdent.org/purple-irc-bot.html

[...]

Oof, a gerritbot derivative... at least it's not based on
supybot/twisted so doesn't suffer the IPv6+SSL issue we have on
meetbot and statusbot. Still, I've been holding out hope someone
might start work on a unified replacement for all of those in a more
modern codebase like errbot.


I just started from the simple bot in the python irc package, and
then went to gerritbot when I got a bit stuck. Not wed to using
that, was just the simple way to get started.

However, I'd really like to avoid having one bot uber alles.

We should have different bots for different tasks. Microbots or
what have you.

My bot is primarily for the p!spy and tranclusion features. The log just
happens to fall out as an easy result of the need to persist the data.
A bot that does everything would be much harder to maintain and the
cost of running a bot is tiny.

--
Chris Dent   (�s°□°)�s�喋擤ォ�http://anticdent.org/
freenode: cdent tw: @anticdent__
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-dev] [all] purplerbot irc bot for logs and transclusion

2016-03-19 Thread Chris Dent


I built an IRC bot

https://anticdent.org/purple-irc-bot.html

that provides (see the blog posting):

* granular logging
* some in channel commands to get recent history and recent mentions
  of your nick
* inter channel transclusion of messages

and put it on a few channels (openstack-sdks, openstack-telemetry
and openstack-nova, openstack-dev). A few people have expressed that it
is useful so I thought I would ask if people would like it added to more
channels. I don't want to just add them willy nilly without checking
with the community.

For reference: for the time being the bot runs on and logs to the same
little pet where I run my blog and a few other things.

Let me know.

--
Chris Dent   (�s°□°)�s�喋擤ォ�http://anticdent.org/
freenode: cdent tw: @anticdent__
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] [all] purplerbot irc bot for logs and transclusion

2016-03-19 Thread Jeremy Stanley
On 2016-03-16 11:09:12 -0400 (-0400), Paul Belanger wrote:
[...]
> I know personally, I'd love to see some sort of reminder
> functionality added into an IRC bot, which pings me each time
> there is some sort of IRC meeting I need to attend.

For this, you could just add client highlight matches on
"#startmeeting infra" or whatever you need to be around for...
-- 
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] [all] purplerbot irc bot for logs and transclusion

2016-03-19 Thread Jeremy Stanley
On 2016-03-16 15:44:41 + (+), Chris Dent wrote:
[...]
> However, I'd really like to avoid having one bot uber alles.
> 
> We should have different bots for different tasks. Microbots or
> what have you.
[...]

Yep, I can get behind that logic. Though having all our official
bots use a feature-rich framework which has an active upstream and
is usable on Freenode without ugly hacks like bypassing DNS or
passing credentials in the clear would still be awesome.
-- 
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] [all] purplerbot irc bot for logs and transclusion

2016-03-19 Thread Jeremy Stanley
On 2016-03-16 13:55:56 + (+), Chris Dent wrote:
> 
> I built an IRC bot
> 
> https://anticdent.org/purple-irc-bot.html
[...]

Oof, a gerritbot derivative... at least it's not based on
supybot/twisted so doesn't suffer the IPv6+SSL issue we have on
meetbot and statusbot. Still, I've been holding out hope someone
might start work on a unified replacement for all of those in a more
modern codebase like errbot.
-- 
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] [all] purplerbot irc bot for logs and transclusion

2016-03-19 Thread Bogdan Dobrelya
On 03/16/2016 03:50 PM, Chris Dent wrote:
> On Wed, 16 Mar 2016, Paul Belanger wrote:
> 
>> So, I cannot comment on the how useful the bot is but if projects are
>> in fact
>> using it I would like to see it added to openstack-infra so we can
>> properly
>> manage it.
> 
> I was waiting to see if there's sufficient interest. The channels
> that it is already in thus far are just experiments. Nobody has
> stepped up and said either of:
> 
> * "This is something we should make sure we have around"
> * "I'd want this to be around if we just added feature X"
> 
> If there's not, I can avoid all that and continue using it for my own
> purposes.
> 

I'd love to see that bot to the openstack-oslo and fuel-dev channels as
well, just as is - it is good enough for me.

> 
> 
> __
> 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
> 


-- 
Best regards,
Bogdan Dobrelya,
Irc #bogdando

__
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] [all] purplerbot irc bot for logs and transclusion

2016-03-18 Thread Chris Dent

On Wed, 16 Mar 2016, Paul Belanger wrote:


So, I cannot comment on the how useful the bot is but if projects are in fact
using it I would like to see it added to openstack-infra so we can properly
manage it.


I was waiting to see if there's sufficient interest. The channels
that it is already in thus far are just experiments. Nobody has
stepped up and said either of:

* "This is something we should make sure we have around"
* "I'd want this to be around if we just added feature X"

If there's not, I can avoid all that and continue using it for my own
purposes.

--
Chris Dent   (╯°□°)╯︵┻━┻http://anticdent.org/
freenode: cdent tw: @anticdent__
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] [all] purplerbot irc bot for logs and transclusion

2016-03-18 Thread Paul Belanger
On Wed, Mar 16, 2016 at 02:50:38PM +, Chris Dent wrote:
> On Wed, 16 Mar 2016, Paul Belanger wrote:
> 
> >So, I cannot comment on the how useful the bot is but if projects are in fact
> >using it I would like to see it added to openstack-infra so we can properly
> >manage it.
> 
> I was waiting to see if there's sufficient interest. The channels
> that it is already in thus far are just experiments. Nobody has
> stepped up and said either of:
> 
> * "This is something we should make sure we have around"
> * "I'd want this to be around if we just added feature X"
> 
> If there's not, I can avoid all that and continue using it for my own
> purposes.
> 
I'd still sync up with openstack-infra on IRC, if only to help spread the word.
I know personally, I'd love to see some sort of reminder functionality added
into an IRC bot, which pings me each time there is some sort of IRC meeting I
need to attend.
> -- 
> Chris Dent   (╯°□°)╯︵┻━┻http://anticdent.org/
> freenode: cdent tw: @anticdent

> __
> 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