Commit Graph
2 Commits
Author SHA1 Message Date
Yusuf İpek ea792a8a7f feat: add package pruning system with configurable grace periods
- Implemented automatic pruning of stale packages across all platform sync endpoints (Arch, AUR, Debian, Ubuntu, Fedora, Homebrew, Winget)
- Added `last_seen_at` tracking to mark packages as seen during sync runs and identify inactive packages
- Introduced `PRUNE_GRACE_DAYS` and `PRUNE_HARD_DELETE_DAYS` environment variables for configurable soft-delete and hard-delete thresholds
2025-11-13 01:54:23 +03:00
Yusuf İpek db91b8d96a feat: add API endpoints for Debian and Ubuntu package syncing
- Implemented /api/sync-debian and /api/sync-ubuntu routes with authentication and status tracking
- Added GET endpoints to check sync status and POST endpoints to trigger package fetches
- Included concurrent sync prevention and async error handling for long-running operations
2025-11-11 20:19:48 +03:00