copr: devel frontend should not send emails to everyone

https://pagure.io/copr/copr/pull-request/959
This commit is contained in:
Silvie Chlupova 2019-09-02 09:32:21 +02:00 committed by Pierre-Yves Chibon
parent 29e2eeb873
commit 857795d945
2 changed files with 16 additions and 0 deletions

View file

@ -17,3 +17,11 @@ letsencrypt:
- copr-fe-dev.cloud.fedoraproject.org
challenge_dir: /var/www/html
mail: copr-devel@lists.fedorahosted.org
whitelist_emails:
- msuchy@redhat.com
- praiskup@redhat.com
- jkadlcik@redhat.com
- dturecek@redhat.com
- thrnciar@redhat.com
- schlupov@redhat.com

View file

@ -65,3 +65,11 @@ DEFER_BUILD_SECONDS = 300
ENABLE_DISCUSSION = True
DISCOURSE_URL = "https://discussion.fedoraproject.org/"
WHITELIST_EMAILS = [
{% if whitelist_emails is defined %}
{% for recipient in whitelist_emails %}
"{{ recipient }}",
{% endfor %}
{% endif %}
]