debshots/lib/tasks
Christoph Haas 3f37e2d857 Remove packages not found in any configured source
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.
2026-08-24 22:47:03 +02:00
..
.keep Blank rails 4.0 project started 2013-07-27 00:19:29 +02:00
accesslog2visits.rake Speed improvement in updating database 2016-08-11 11:20:37 +02:00
add_admin.rake add Rake task to create admin users 2025-05-21 00:23:51 +02:00
import_debian.rake Remove packages not found in any configured source 2026-08-24 22:47:03 +02:00
purge_old_logs.rake added job to purge old log files 2025-06-23 00:46:32 +02:00
remove_broken_screenshots.rake Rake task fixed for Shring 2021-02-25 00:14:08 +01:00
remove_image_duplicates.rake Using created_at instead of legacy 'uploaddatetime' field 2016-03-04 15:41:50 +01:00
shrine_recreate_derivatives.rake Added rake task to create derivates after migration 2020-11-12 22:28:29 +01:00
vectorize_packages.rake Log the failing SQL statement in vectorization task 2026-08-23 00:31:04 +02:00