Instead of having a product name and an override via the bz_product_name
just use always the product name.
This fixes the issue around "Fedora Container Images" which were somehow
not cached from bugzilla. This led to the script trying to create them
instead of updating them, which of course failed since they did exist
in bugzilla.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This was reported by a former maintainer of the freerdp rpm where the
Fedora EPEL CC list was not being updated because the only EPEL branch
still active in PDC was the el6 branch. Thus the script was never
matching Fedora EPEL as being still active and as a result it was not
updating it.
By adjusting the regex, we solve this issue.
Fixes https://pagure.io/fedora-infrastructure/issue/9122
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
These users, who should only ever be CC'ed to a project, will not
be synced to bugzilla.
In other words, they are allowed to not have a bugzilla account
and that should not impact the syncing of the default assignee and
CC list from dist-git to bugzilla.
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This is in order not to have to hard code EPEL. In the course,
reorganize how products and their correspondent versions and component
namespaces are configured.
Signed-off-by: Nils Philippsen <nils@redhat.com>
- Move the send_email() function into DistgitBugzillaSync as a method in
order to access the configuration environment easily.
- Make whether or not emails are sent use the email.send_mails
configuration option rather than the name of the configuration
environment.
- Don't hard code the SMTP host.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This is for all configuration related to sending emails, not for e.g.
the default QA contact. By chance, it fixes a problem in the default
configuration where the mail templates ended up in the pdc_types
subtree.
Signed-off-by: Nils Philippsen <nils@redhat.com>
This is to avoid it polluting the actually used mapping, because
additional email overrides files will be merged on top of the default
one.
Signed-off-by: Nils Philippsen <nils@redhat.com>