Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

incus-simplestreams: Add prune command #1381

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

presztak
Copy link
Collaborator

@presztak presztak commented Nov 15, 2024

This PR adds a prune command to incus-simplestreams which:

  • Removes orphaned image tarballs (those not referenced by images.json)
  • Finds any broken image and deletes them from the index
  • Removes older versions of a product, retaining only the most recent one

Closes #1303

@stgraber stgraber merged commit 912dd77 into lxc:main Nov 18, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

incus-simplestreams : missing prune features
2 participants