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

Cleanup preview images #6

Closed
tusmester opened this Issue Aug 23, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@tusmester
Copy link
Member

tusmester commented Aug 23, 2018

Sometimes preview images take up too much space in the db and need to be cleaned up. There are many different options and requirements, I'll try to list them here.

Cleanup previews...

  • everywhere (for example because the feature is switched off and previews are not needed anymore)
  • only in a subtree (site, workspace)
  • for old versions (and keep the last major/minor previews)
  • keep only the first few preview images
  • ...and empty preview folders (my.docx/Previews/V1.2)

Currently available: https://github.com/VargaJoe/SenseNet-Preview-Cleaner

Acceptance

  • create an SnAdmin step
    • with as many parameters above as possible
    • if possible, make this work without involving the index
    • if possible, make this portable to SN6
  • documentation

@tusmester tusmester added enhancement and removed discussion labels Sep 2, 2018

@tusmester tusmester self-assigned this Sep 2, 2018

@tusmester tusmester added this to the Sprint 166 milestone Sep 2, 2018

@kultsar kultsar closed this Sep 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment