linuxmint / mintsources

53 stars 72 forks source link

Draft: deb822 support #248

Closed just-max closed 7 months ago

just-max commented 9 months ago

Very rough draft of DEB822 support using pop-os/repolib (resolves #236).

image

Best to back up your sources.list.d/ before running, repolib seems to be pretty eager to write its X-* fields back to disk.

I've combined the handling of PPAs and other repositories, since with multiple URIs per source, the distinction between PPAs and other repositories isn't clear cut anymore. I've also grouped sources by file.

Source formats are preserved (DEB822 or traditional lists).

Next steps would be adding back some missing things and finishing support: adding/removing sources, viewing PPA contents, duplicate removal for 822 sources. See the TODO notes scattered about.

Tested with the latest version of repolib (2.2.1), which isn't packaged in Mint.