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

Feature Request: Fully automate viewcache clearing + database migration handling #2384

Open
berrnd opened this issue Nov 17, 2023 · 0 comments
Milestone

Comments

@berrnd
Copy link
Member

berrnd commented Nov 17, 2023

After each and every release there tend to be more and more invalid Bug reports caused by a not emptied data/viewcache directory and/or not executed database migrations, so by people who can't read README for whatever reason: How to update

I still blame everyone opening a request which could simply be solved by reading README or doing a quick and easy search beforehand, but let's finally automate that, at least to reduce the support amount for myself.

What's stored in data/viewcache is (currently) dependent on / specific to the version and the config options BASE_PATH and BASE_URL. So let's somehow auto-clear that directory when any of this changes (normally that means an update happened).

And since new database migrations can only come with a new release, let's then take this also to fire off them.

@berrnd berrnd added this to the vNEXT milestone Nov 17, 2023
@berrnd berrnd modified the milestones: v4.1.0, vNEXT Feb 8, 2024
@berrnd berrnd modified the milestones: v4.2.0, vNEXT Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant