Syncs users and permissions from dist-git to bugzilla
Find a file
Pierre-Yves Chibon 5088abf327 Retrieve the email field rather than the bugzilla_email one
The bugzilla_email relies on a user id -> email mapping that is kept
in python-fedora fedora/client/fas2.py.
That mapping is out-dated and, in fact, conflicts with the one used
in this project in email_overrides.toml.

So instead of retrieving the bugzilla_email, we retrieve the regular
email and use our, up to date and maintained mapping to do the
overrides.

Otherwise, we end up in the situation described at:
https://pagure.io/fesco/issue/2460#comment-669474
where user A was marked as having an invalid account because they had
a bugzilla_email entry that was returning an invalid bugzilla account.
Changing to use the email field led to more people having invalid
accounts because their mapping had not been updated.
So let's make sure that mapping remains up to date now and use only
one.

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
2020-08-06 12:46:50 +02:00
distgit_bugzilla_sync Retrieve the email field rather than the bugzilla_email one 2020-08-06 12:46:50 +02:00
Dockerfile Specify that the HOME is /tmp in the container 2019-12-06 16:33:19 +01:00
README.md add rudimentary README 2019-11-20 14:25:02 +01:00
requirements.txt require the correct python-bugzilla package 2019-11-20 16:07:58 +01:00
run-distgit-bugzilla-sync Restructure the code 2019-11-21 09:58:17 +01:00
setup.cfg appease flake8 2019-11-18 16:07:27 +01:00
setup.py Run black over the entire project 2020-04-29 11:41:28 +02:00
test_requirements.txt add setup.py and related files 2019-11-19 11:24:35 +01:00

Distgit-Bugzilla-Sync

The distgit-bugzilla-sync tool retrieves information about package ownership from dist-git and imports it into bugzilla.

History

The previous places this script could be found were: