Tracks every package name seen across all repositories/components/ architectures during update_from_deb_repos and, once the run completes, destroys database packages that were not among them (e.g. ones Debian has dropped entirely, or ones from a since-unconfigured suite/architecture). Deliberately opt-in (REMOVE_ORPHANED_PACKAGES = false by default), unlike REMOVE_BLACKLISTED_PACKAGE: a package looking 'orphaned' can also just mean a mirror had a transient fetch problem, so the removal refuses to run at all if any component/architecture failed to fetch, or if no packages were seen this run at all. |
||
|---|---|---|
| .. | ||
| assets | ||
| tasks | ||
| deb_importer.rb | ||
| vectorizer.rb | ||