fedora-infra / mirrormanager2

Rewrite of the MirrorManager application in Flask and SQLAlchemy
https://mirrormanager.fedoraproject.org
GNU General Public License v2.0
63 stars 46 forks source link

Add a Fedora Messaging schema #353

Open abompard opened 1 week ago

abompard commented 1 week ago

Mirrormanager can send Fedora Messaging messages but it's currently using the base Message class. It should have its own schema.

abompard commented 1 week ago

We could consider sending a message when a crawl succeeds, but it should be at DEBUG level. We should definitely send a message when a crawl fails at INFO level, and at ERROR level when the host gets disabled.

The schema should have the mirror owner in its usernames.