repoman.converter#
ONE_LINE (.list) to DEB822 (.sources) format converter. Pure — no I/O.
- convert_to_deb822(repo)[source]#
Convert a ONE_LINE format repo to a DEB822 .sources file.
Returns (new_path, content) — does NOT write to disk. The caller passes both to the polkit helper, which also deletes the old .list file.
Updates the in-memory Repository to reflect the new format and path.
- Parameters:
repo (Repository)
- Return type:
On this page