serpent-os / moss

The safe, fast and sane package manager for Linux
https://serpentos.com
71 stars 9 forks source link

boulder: Add command or facility to clean cache #212

Open ermo opened 2 months ago

ermo commented 2 months ago

Builders currently don't know how to clean their caches, which means that disks fill up eventually, which in turn causes loss of service and a need for manual intervention.

Implementing a boulder command to clean caches (or prune to X GB via a LRU scheme?) would be useful, particularly if boulder can be set up to do this cleanup itself as a configurable post-build action.