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

Setup an automated deletion of old hidden ZIMs #234

Open
benoit74 opened this issue Aug 12, 2024 · 5 comments
Open

Setup an automated deletion of old hidden ZIMs #234

benoit74 opened this issue Aug 12, 2024 · 5 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@benoit74
Copy link
Collaborator

Should we automatically delete old hidden ZIMs in dev, custom_apps, endless?

I think that keeping the two last versions for custom_apps and endless is the proper way to go.

For dev I think we should not delete old ZIMs automatically, there are situation were it helps to be able to go back to an old ZIM.

@benoit74 benoit74 added enhancement New feature or request question Further information is requested labels Aug 12, 2024
@benoit74
Copy link
Collaborator Author

In fact, I've posted my issue too fast. I think we should apply the same policy to all our books: https://wiki.openzim.org/wiki/ZIM_Updates#How_many_files_do_we_need_to_keep.3F

@rgaudin
Copy link
Member

rgaudin commented Aug 12, 2024

I'm not involved in content so my opinion may be completely off but using the same policy for both tested/verified/published ZIMs and ZIMs that are to-be-tested seems odd.

@kelson42
Copy link
Contributor

One point: For Android custom apps, there is a fallback system downloading the ZIM from there. Therefore, for the moment, please don't delete the ZIM for custom apps... but we should keep this issue open.

@benoit74
Copy link
Collaborator Author

for the moment, please don't delete the ZIM for custom apps...

Do we really need to keep all versions of the custom apps ZIMs or are the custom apps using only the latest version? (there are many many many versions for some custom apps).

@kelson42
Copy link
Contributor

for the moment, please don't delete the ZIM for custom apps...

Do we really need to keep all versions of the custom apps ZIMs or are the custom apps using only the latest version? (there are many many many versions for some custom apps).

For the moment, "yes". Each release of a custom apps relies on one specific version of these files. Not only the latest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants