prune: show total vs matching archives in output, fixes #9262

This commit is contained in:
Thomas Waldmann 2026-05-12 23:22:09 +02:00
parent 7b60edd0c0
commit 1cb185a8e6
No known key found for this signature in database
GPG key ID: 243ACFA951F78E01

View file

@ -170,7 +170,8 @@ class PruneMixIn:
to_delete = set(archives) - set(keep)
if not args.json:
logger.info("Found %d archives.", len(archives))
logger.info("Repository contains %d archives.", manifest.archives.count())
logger.info("Applying rules to the matching %d archives...", len(archives))
logger.info("Keeping %d archives, pruning %d archives.", len(keep), len(to_delete))
if args.json:
output_data = []