4cat icon indicating copy to clipboard operation
4cat copied to clipboard

Only load dependencies needed by enabled processors and data sources

Open stijn-uva opened this issue 3 years ago • 1 comments

Because why install Chrome/Firefox if you're not actually using something that needs it?

stijn-uva avatar Mar 07 '22 12:03 stijn-uva

Processors could contain code to manage dependencies with, e.g. install_dependencies and uninstall_dependencies methods that are called when the processor is enabled/disabled. It is currently not possible to toggle processors individually so that would additionally be a new feature to add as part of this.

There are groups of processors that share dependencies (e.g. video processors all need ffmpeg). This could be addressed by an abstract superclass ProcessorNeedsSomeSpecificDependency that the relevant processors descend from.

stijn-uva avatar Feb 01 '23 15:02 stijn-uva