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 : missing prune features #1303

Open
Salamandar opened this issue Oct 12, 2024 · 0 comments
Open

incus-simplestreams : missing prune features #1303

Salamandar opened this issue Oct 12, 2024 · 0 comments
Labels
Easy Good for new contributors Feature New feature, not a bug
Milestone

Comments

@Salamandar
Copy link

Salamandar commented Oct 12, 2024

incus-simplestreams is a nice tool, but it's missing two features :

  • Removal of orphan image tarballs (not referenced by images.json) -> This might be triggered by a incus-simplestreams add with an image with identical properties and same date, but different checksum
  • Removal of old versions of a product : When publishing a new image, the old one stays and we need manual tooling to clean it up.

I implemented those two features in a python script : https://github.com/YunoHost/lxd_img_builder/blob/master/prune_incus_simplestreams.py but it would be really nice to have a incus-simplestreams prune command that does both jobs.

EDIT: considering the lack of those features, i'm wondering about the intended workflow : maybe it would be better to have a "staging" repository that i'd fill with new versions of the images and then swap the real repo and the staging repo…

@stgraber stgraber added Feature New feature, not a bug Easy Good for new contributors labels Oct 13, 2024
@stgraber stgraber added this to the later milestone Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy Good for new contributors Feature New feature, not a bug
Development

No branches or pull requests

2 participants