Modules
DEB822 serialiser for Repository objects. Pure — no I/O, no GTK.
Serialise a Repository to a DEB822 string.
Called by the polkit helper (and by converter.py) — never writes directly. Preserves field ordering: Types, URIs, Suites, Components, Enabled, Signed-By (if present), X-Repolib-Name (if present).
repo (Repository)
str
Return a dict of field updates to re-enable a repo for codename. Passed as part of the JSON payload to the polkit helper.
codename (str)
dict
repo_to_deb822()
enable_patch()