Skip to content

clean up db when deleting a repository

Marcus requested to merge (removed):cleanup_repo_delete into master

Previously everything from a repo staying inside the db when removing it without disabling it first, the problem manifests when the repo is readded later (or a mirror), as it would get a new id but all apk entries still point to the original repoid.

So we now first disable a repo (which just calls RepoProvider.Helper.purgeApps) before deleting it from the db.

closes Bubu/fdroidclassic#29 (closed)

Merge request reports