Re: Freeze break request: add diversity and magazine fedmsg bots

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



+1 to this

On 30 September 2016 at 16:08, Kevin Fenzi <kevin@xxxxxxxxx> wrote:
> Greetings.
>
> For
> https://pagure.io/fedora-infrastructure/issue/5506
> and
> https://pagure.io/fedora-infrastructure/issue/5507
>
> we need to adjust the fedmsg irc bot config.
>
> +1s?
>
> kevin
> --
> From 5f7ebfbbbcf0109e2d41853439d32767f525d0d5 Mon Sep 17 00:00:00 2001
> From: Kevin Fenzi <kevin@xxxxxxxxx>
> Date: Fri, 30 Sep 2016 20:05:44 +0000
> Subject: [PATCH] add diversity and magazine fedmsg bots. issues 5506, 5507
>
> ---
>  roles/fedmsg/irc/templates/ircbot.py | 38 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>
> diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py
> index 4723938..34227fa 100644
> --- a/roles/fedmsg/irc/templates/ircbot.py
> +++ b/roles/fedmsg/irc/templates/ircbot.py
> @@ -386,6 +386,44 @@ config = dict(
>                  body=['^((?!(modularity|Modularity)).)*$'],
>              ),
>          ),
> +
> +        # And #fedora-diversity
> +        dict(
> +            network='chat.freenode.net',
> +            port=6667,
> +            make_pretty=True,
> +            make_terse=True,
> +
> +            {% if env == 'staging' %}
> +            nickname='fedmsg-diversity-stg',
> +            {% else %}
> +            nickname='fedmsg-diversity-bot',
> +            {% endif %}
> +            channel='#fedora-diversity',
> +            # If the word diversity appears in any message, forward it.
> +            filters=dict(
> +                body=['^((?!(diversity|Diversity)).)*$'],
> +            ),
> +        ),
> +
> +        # And #fedora-magazine
> +        dict(
> +            network='chat.freenode.net',
> +            port=6667,
> +            make_pretty=True,
> +            make_terse=True,
> +
> +            {% if env == 'staging' %}
> +            nickname='fedmsg-magazine-stg',
> +            {% else %}
> +            nickname='fedmsg-magazine-bot',
> +            {% endif %}
> +            channel='#fedora-magazine',
> +            # If the word modularity appears in any message, forward it.
> +            filters=dict(
> +                body=['^((?!(magazine|Magazine)).)*$'],
> +            ),
> +        ),
>      ],
>
>      ### Possible colors are ###
> --
> 1.8.3.1
>
>
> _______________________________________________
> infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
>



-- 
Stephen J Smoogen.
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux