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>
This commit is contained in:
parent
e59e1d510f
commit
3bde7e6e54
2 changed files with 0 additions and 0 deletions
168
distgit_bugzilla_sync/default-config-files/configuration.toml
Normal file
168
distgit_bugzilla_sync/default-config-files/configuration.toml
Normal file
|
@ -0,0 +1,168 @@
|
|||
environment = "staging"
|
||||
|
||||
send_email = false
|
||||
email_from = "accounts@fedoraproject.org"
|
||||
data_cache = "/var/tmp/pagure_sync_bz.json"
|
||||
notify_emails = [
|
||||
"root@localhost.localdomain",
|
||||
]
|
||||
|
||||
[products]
|
||||
"Fedora" = "Fedora"
|
||||
"Fedora Container" = "Fedora Container Images"
|
||||
"Fedora Modules" = "Fedora Modules"
|
||||
"Fedora EPEL" = "Fedora EPEL"
|
||||
|
||||
|
||||
[namespace_to_product]
|
||||
"rpms" = "Fedora" # except EPEL...
|
||||
"container" = "Fedora Container"
|
||||
"modules" = "Fedora Modules"
|
||||
|
||||
# This maps bugzilla products to "lead" branches in PDC. If the lead branch is
|
||||
# retired, then we in turn set the default assignee to "orphan" for all new bugs
|
||||
# in the given product.
|
||||
[products_to_lead_branch]
|
||||
# If rawhide is retired, then all new bugs go to orphan for Fedora.
|
||||
"Fedora" = "master"
|
||||
# Same for containers.
|
||||
"Fedora Container" = "master"
|
||||
# Same for modules.
|
||||
"Fedora Modules" = "master"
|
||||
# If epel7 is retired, then all new epel bugs go to orphan.
|
||||
"Fedora EPEL" = "epel7"
|
||||
|
||||
[pdc_types]
|
||||
"rpms" = "rpm"
|
||||
"modules" = "module"
|
||||
"container" = "container"
|
||||
|
||||
[inverse_pdc_types]
|
||||
"rpm" = "rpms"
|
||||
"module" = "modules"
|
||||
"container" = "container"
|
||||
|
||||
|
||||
## EMAIL TEMPLATES
|
||||
|
||||
tmpl_admin_email = """
|
||||
The following errors were encountered while updating bugzilla with information
|
||||
from the Package Database. Please have the problems taken care of:
|
||||
|
||||
%s
|
||||
"""
|
||||
|
||||
# User email for invalid setup
|
||||
tmpl_user_email = """Greetings.
|
||||
|
||||
You are receiving this email because there's a problem with your
|
||||
bugzilla.redhat.com account.
|
||||
|
||||
If you recently changed the email address associated with your
|
||||
Fedora account in the Fedora Account System, it is now out of sync
|
||||
with your bugzilla.redhat.com account. This leads to problems
|
||||
with Fedora packages you own or are CC'ed on bug reports for.
|
||||
|
||||
Please take one of the following actions:
|
||||
|
||||
a) login to your old bugzilla.redhat.com account and change the email
|
||||
address to match your current email in the Fedora account system.
|
||||
https://bugzilla.redhat.com login, click preferences, account
|
||||
information and enter new email address.
|
||||
|
||||
b) Create a new account in bugzilla.redhat.com to match your
|
||||
email listed in your Fedora account system account.
|
||||
https://bugzilla.redhat.com/ click 'new account' and enter email
|
||||
address.
|
||||
|
||||
c) Change your Fedora Account System email to match your existing
|
||||
bugzilla.redhat.com account.
|
||||
https://admin.fedoraproject.org/accounts login, click on 'my account',
|
||||
then 'edit' and change your email address.
|
||||
|
||||
If you have questions or concerns, please let us know.
|
||||
|
||||
Your prompt attention in this matter is appreciated.
|
||||
|
||||
The Fedora admins.
|
||||
"""
|
||||
|
||||
[environments]
|
||||
|
||||
[environments.dev]
|
||||
verbose = true
|
||||
dryrun = true
|
||||
|
||||
pagure_url = "https://stg.pagure.io"
|
||||
distgit_url = "https://src.stg.fedoraproject.org"
|
||||
pdc_url = "https://pdc.stg.fedoraproject.org/rest_api/v1/"
|
||||
mdapi_url = "https://mdapi.stg.fedoraproject.org/"
|
||||
|
||||
|
||||
[environments.dev.bugzilla]
|
||||
url = "https://partner-bugzilla.redhat.com"
|
||||
user = "fill-me"
|
||||
password = "fill-me"
|
||||
compat_api = "component.get"
|
||||
# Should land in pagure at one point
|
||||
bugzilla_override_repo = "releng/fedora-scm-requests"
|
||||
# When querying for current info, take segments of 1000 packages a time
|
||||
req_segment = 1000
|
||||
|
||||
[environments.dev.fas]
|
||||
url = "https://admin.stg.fedoraproject.org/accounts"
|
||||
username = "fill-me"
|
||||
password = "fill-me"
|
||||
insecure = false
|
||||
|
||||
[environments.staging]
|
||||
verbose = true
|
||||
dryrun = false
|
||||
|
||||
pagure_url = "https://stg.pagure.io"
|
||||
distgit_url = "https://src.stg.fedoraproject.org"
|
||||
pdc_url = "https://pdc.stg.fedoraproject.org/rest_api/v1/"
|
||||
mdapi_url = "https://mdapi.stg.fedoraproject.org/"
|
||||
|
||||
|
||||
[environments.staging.bugzilla]
|
||||
url = "https://partner-bugzilla.redhat.com"
|
||||
user = "fill-me"
|
||||
password = "fill-me"
|
||||
compat_api = "component.get"
|
||||
# Should land in pagure at one point
|
||||
bugzilla_override_repo = "releng/fedora-scm-requests"
|
||||
# When querying for current info, take segments of 1000 packages a time
|
||||
req_segment = 1000
|
||||
|
||||
[environments.staging.fas]
|
||||
url = "https://admin.stg.fedoraproject.org/accounts"
|
||||
username = "fill-me"
|
||||
password = "fill-me"
|
||||
insecure = false
|
||||
|
||||
[environments.production]
|
||||
verbose = false
|
||||
dryrun = false
|
||||
|
||||
pagure_url = "https://pagure.io"
|
||||
distgit_url = "https://src.fedoraproject.org"
|
||||
pdc_url = "https://pdc.fedoraproject.org/rest_api/v1/"
|
||||
mdapi_url = "https://mdapi.fedoraproject.org/"
|
||||
|
||||
|
||||
[environments.production.bugzilla]
|
||||
url = "https://bugzilla.redhat.com"
|
||||
user = "fill-me"
|
||||
password = "fill-me"
|
||||
compat_api = "component.get"
|
||||
# Should land in pagure at one point
|
||||
bugzilla_override_repo = "releng/fedora-scm-requests"
|
||||
# When querying for current info, take segments of 1000 packages a time
|
||||
req_segment = 1000
|
||||
|
||||
[environments.production.fas]
|
||||
url = "https://admin.fedoraproject.org/accounts"
|
||||
username = "fill-me"
|
||||
password = "fill-me"
|
||||
insecure = false
|
|
@ -0,0 +1,9 @@
|
|||
# This file contains the list of FAS email addresses to override for bugzilla.
|
||||
# By default we expect that the email address set in FAS corresponds to
|
||||
# the bugzilla account of the person.
|
||||
# However, some people prefer to use different addresses in FAS and in
|
||||
# bugzilla (for example if they want to use their @fedoraproject alias in
|
||||
# bugzilla). To support these requests, this file maps FAS email addresses to
|
||||
# Bugzilla email addresses where they differ.
|
||||
|
||||
"foo@bar.com" = "bar@foo.org"
|
Loading…
Add table
Add a link
Reference in a new issue