Commit graph

14 commits

Author SHA1 Message Date
Pierre-Yves Chibon
0083b8ee66 Update the versions available on bugzilla for the rpms and the containers
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-08-20 14:13:29 +02:00
Pierre-Yves Chibon
6428a58b06 Drop the bz_product_name override
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>
2020-08-20 12:48:14 +02:00
Pierre-Yves Chibon
e9cc33ff09 Fix the branch_regex for Fedora EPEL so that it also matches on el6
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>
2020-07-09 21:45:00 +02:00
Pierre-Yves Chibon
3f1611f6c3 Add the possibility to ignore some users
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>
2020-06-14 17:48:44 +02:00
Nils Philippsen
f2bea59f37 allow configuring products for branches by regex
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>
2019-11-25 10:42:04 +01:00
Nils Philippsen
12b90b22dd honor configuration when sending emails
- 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>
2019-11-22 19:02:21 +01:00
Nils Philippsen
2b7712f826 make default QA contact email address configurable
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-22 19:02:21 +01:00
Nils Philippsen
78434ffbfd use email namespace in configuration
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>
2019-11-22 19:02:21 +01:00
Pierre-Yves Chibon
b1bb0c02a4 Update the open bugs when the corresponding package changes maintainer
Fixes https://pagure.io/fedora-infrastructure/issue/6940

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2019-11-22 17:52:19 +01:00
Nils Philippsen
7f22f1d3c1 comment out exemplary email overrides entry
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>
2019-11-22 13:00:42 +01:00
Nils Philippsen
59ded2d591 use str.format-style placeholder in mail template
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-19 17:26:54 +01:00
Nils Philippsen
344dc75864 remove unused configuration items
Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-19 17:26:54 +01:00
Nils Philippsen
5a80b16874 remove (duplicate) 'bugzilla' from 'override_repo'
This is already in a 'bugzilla' subtree.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-19 17:26:54 +01:00
Nils Philippsen
3bde7e6e54 move configuration files into package
This allows us to reliably address the default configuration files
relative from modules we ship.

Signed-off-by: Nils Philippsen <nils@redhat.com>
2019-11-19 17:26:54 +01:00