-
Notifications
You must be signed in to change notification settings - Fork 31
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
Storing persistent data #610
Comments
What sort of data are you thinking of? I am particularly keen to stop galicaster writing state into the config file, as we manage that using puppet and the application user account should not be writing into |
Yeah this is probably a discussion. We would have to be clear what is stored where I think the mediapackage should stay on disk and pretty much everything else should be put somewhere else |
What was the use case you had in mind @androidwiltron? I'm wondering what kind of state information currently gets written back to the configuration file (apart from the profile)? |
Yeah so to be clear, keeping the config file would be sensible These are just ideas |
Yea I was pursuing the idea of mediapackage specific workflow-parameters from a plugin but it could still exist in the There's the |
Currently in Galicaster to store data persistently you must write it to areas of the disk generally in the mediapackage.
Galicaster does not have a dedicated method to store new data persistently between restarts.
storing the mediapackage on disk in an 'archive' make sense but again, extra parameters that are not part of the mediapackage, storing them in the mediapackage doesn't seem right.
a good example would be if you wrote a plugin that wanted to store some extra data specific to the plugin between restarts, holding it in ram would mean you would loose this data.
@ppettit suggested using SQL or something like this, maybe there is a nice 'pythonic' approach?
The text was updated successfully, but these errors were encountered: