Re: Review for PR on ansible

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

 



On 04/07/2017 03:28 PM, Paul W. Frields wrote:
> I'm trying to add to the filter on the ircbot for Magazine so it
> doesn't output anything that concerns Council in Pagure.  Is this
> right, or even sane?
> 
> * * *
> diff --git a/roles/fedmsg/irc/templates/ircbot.py b/roles/fedmsg/irc/templates/ircbot.py
> index 2b2e0c3..0dcb0e1 100644
> --- a/roles/fedmsg/irc/templates/ircbot.py
> +++ b/roles/fedmsg/irc/templates/ircbot.py
> @@ -446,12 +446,13 @@ config = dict(
>              nickname='fm-magazine',
>              {% endif %}
>              channel='#fedora-magazine',
> -            # If the word modularity appears in any message, forward it.
> +            # If the word magazine appears in any message, forward it.
>              filters=dict(
>                  topic=[
>                      '^((?!(pagure|planet|badges|fas.group|mailman|meetbot\.meeting)).)*$',
>                  ],
> -                body=['^((?!(magazine|Magazine)).)*$'],
> +                body=['^((?!(magazine|Magazine)).)*$',
> +                      "u'namespace': u'Fedora-Council'"],
>              ),
>          ),

Applied. Thanks.

kevin



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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