| |
@@ -47,6 +47,7 @@
|
| |
|
| |
import requests
|
| |
|
| |
+ from mdapi_messages.messages import RepoUpdateV1
|
| |
from fedora_messaging.api import Message, publish
|
| |
from fedora_messaging.exceptions import PublishReturned, ConnectionException
|
| |
|
| |
@@ -313,8 +314,7 @@
|
| |
print(f"{name.ljust(padding)} url {url}")
|
| |
|
| |
try:
|
| |
- msg = Message(
|
| |
- topic="mdapi.repo.update",
|
| |
+ msg = RepoUpdateV1(
|
| |
body=dict(
|
| |
name=name,
|
| |
packages=list(packages),
|
| |
This uses the new mdapi-messages schema to send the
Repo Update message to Fedora Messaging
Signed-off-by: Ryan Lerch rlerch@redhat.com