adfinis/pyaptly

Cleanup snapshots when snapshot filter feature in aptly is ready

rhizoome opened this issue · 2 comments

Rotated snapshots are not needed and could be cleaned up. Repositories (e.g. Ubuntu) include all packages so a cleanup of snapshots wouldn't really help as the newest snapshot would still include all packages. Hence the aptly filter (only latest package) would need to be implemented.

Once this is implemented and snapshots are also cleaned up a aptly db cleanup would remove packages which are not references anymore.

Issue in aptly to be completed: adfinis-forks/aptly#28

Tasks to be implemented in pyaptly:

  • Using new filter option in mirror filter
  • Delete snapshots which are not current

Wow the upstream issue is still open: aptly-dev/aptly#291

At 2f70a46 we started implement filters, so I guess we need to sync with @winged to rediscover the intentions and the current state.