-
Notifications
You must be signed in to change notification settings - Fork 63
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
Extension management #463
base: master
Are you sure you want to change the base?
Extension management #463
Conversation
…sion: remove existing jobs; run `uninstall` function if exists in worker
Added code to delete workers associated with an extension if it is uninstalled (they cannot run afterwards). If we do not do that, then any existing jobs will log this error ad infinitum. I think we should automatically enable an extension on its installation. And perhaps also queue the restart worker to follow the manage_extension worker. It would be a lot more seamless. Personally, I cannot imagine wanting to install an extension but not enable it, but I may be missing something. Otherwise you need to first enable the extension and then restart (restart is need to run extension installation scripts). I wanted to add the Ok, now I can go back to figuring out this data file structure. |
Yes, this makes sense 👍
I don't think we should support toggling extensions for individual users. As you say we can already toggle the data sources an extension may define on an individual level: we could also add toggles for processors, or a processor can define a configuration option that can be toggled per user. But I think we can do that on the level of processors/data sources generally, not specifically for extensions. |
Ok. So, I have moved the |
Maybe a symbolic link in the root? Or adding the It's a minor thing, but it would be neat to be able to import extensions from |
Both good ideas and I definitely agree that importing from And ANOTHER thing... I tested out the install/uninstall and am pretty pleased. But then I naturally went to check on datasets I had created from now uninstalled datasources. They look fine, but of course they lose access to |
symlink works like a charm! |
Ok! Been testing this awhile both new and old builds. Moved extensions to Made some fixes to the Remaining:
I did not physically move any files (other than the config files) in existing Docker setups though I did change it so by default only one volume is used. I could still do that if we desire but it does not really matter here. |
Adds a worker that can install and uninstall extensions and webtool controls to manipulate it
Todo: