Activate bugzilla notifications in prod

This commit is contained in:
Pierre-Yves Chibon 2014-06-10 09:33:11 +02:00
parent 21b6900ab5
commit a5ba2ac4c3

View file

@ -33,7 +33,7 @@ PKGDB2_CACHE_KWARGS = {
### Bugzilla information ### Bugzilla information
## Upon changes in pkgdb, update bugzilla ## Upon changes in pkgdb, update bugzilla
PKGDB2_BUGZILLA_NOTIFICATION = False # PKGDB2_BUGZILLA_NOTIFICATION = False
## URL to the bugzilla instance to update ## URL to the bugzilla instance to update
PKGDB2_BUGZILLA_URL = 'https://bugzilla.redhat.com' PKGDB2_BUGZILLA_URL = 'https://bugzilla.redhat.com'
## name of the user the pkgdb application can log in to bugzilla with ## name of the user the pkgdb application can log in to bugzilla with
@ -52,12 +52,16 @@ SITE_ROOT = 'https://admin.stg.fedoraproject.org'
SITE_URL = '%s/pkgdb' % SITE_ROOT SITE_URL = '%s/pkgdb' % SITE_ROOT
## Pkgdb sends its notifications by email ## Pkgdb sends its notifications by email
PKGDB2_EMAIL_NOTIFICATION = False PKGDB2_EMAIL_NOTIFICATION = False
## Upon changes in pkgdb, update bugzilla
PKGDB2_BUGZILLA_NOTIFICATION = False
{% else %} {% else %}
PKGDB2_FAS_URL = 'https://admin.fedoraproject.org/accounts' PKGDB2_FAS_URL = 'https://admin.fedoraproject.org/accounts'
SITE_ROOT = 'https://admin.fedoraproject.org' SITE_ROOT = 'https://admin.fedoraproject.org'
SITE_URL = '%s/pkgdb' % SITE_ROOT SITE_URL = '%s/pkgdb' % SITE_ROOT
## Pkgdb sends its notifications by email ## Pkgdb sends its notifications by email
PKGDB2_EMAIL_NOTIFICATION = True PKGDB2_EMAIL_NOTIFICATION = True
## Upon changes in pkgdb, update bugzilla
PKGDB2_BUGZILLA_NOTIFICATION = True
{% endif %} {% endif %}
## name of the user the pkgdb application can log in to FAS with ## name of the user the pkgdb application can log in to FAS with
PKGDB2_FAS_USER = '{{ fedorathirdpartyUser }}' PKGDB2_FAS_USER = '{{ fedorathirdpartyUser }}'