Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the list of banned username configurable #72

Open
mscherer opened this issue Mar 31, 2020 · 0 comments
Open

Make the list of banned username configurable #72

mscherer opened this issue Mar 31, 2020 · 0 comments

Comments

@mscherer
Copy link
Contributor

At https://github.com/fedora-infra/fedbadges/blob/develop/fedbadges/rules.py#L100 , we have a list of username that shouldn't get badges. It should be a configuration option rather than be hardcoded in the code.

My use case is that mbs/mbs.fedoraproject.org is sending messages on the bus, and it seems that this is overloading fedbadges who try to do a query.all() on all the build made by that user, which is "a lot".

Right now, I am testing a patch that add it to the list of banned user, but ideally, it shouldn't requires to change the code, just a configuration setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants