Is there a way to verify the sanity of repodata for a given repository without running dnf and see if it fails?
Bodhi (the fedora package delivery system) uses a dirty hack to verify the repodata for repositories it composes:
https://github.com/fedora-infra/bodhi/blob/481df02300f94ca72ad7ce2ce32d543211ca823d/bodhi-server/bodhi/server/util.py#L272-L390
I'd like to avoid running dnf commands in a subprocess and verify the repodata within Python. Does libdnf has an appropriate method?
Is there a way to verify the sanity of repodata for a given repository without running dnf and see if it fails?
Bodhi (the fedora package delivery system) uses a dirty hack to verify the repodata for repositories it composes:
https://github.com/fedora-infra/bodhi/blob/481df02300f94ca72ad7ce2ce32d543211ca823d/bodhi-server/bodhi/server/util.py#L272-L390
I'd like to avoid running dnf commands in a subprocess and verify the repodata within Python. Does libdnf has an appropriate method?