Details
-
Task
-
Resolution: Unresolved
-
None
-
None
-
Critical
-
CLI: Service Autodiscovery gets a new option to run also on disabled plugins.
-
Empty show more show less
Description
problem
The t5 service:autodiscovery is used to configure the used services automatically where possible.
This is also done in our hosting environment when installing new instances.
But: The installer calls the autodiscovery also on plugins which are disabled for a new instance, for example VisualReview.
But: the autodiscovery does not configure the service since the plugin is disabled, or when using the switch "--all-available" it would discover all services of all plugins AND it would also enable the plug-in what is also not desired.
Without --all-available the service is not configured, because the plugin is disabled:
With --all-available the service is configured AND the plug-in would be activated, what we don't want.
solution
We need a new option "no-plugin-activation" so that the service can be added, but the plugin config is not changed.
additional todo
Fix all usages of service:discovery in Repo mittagqi/hosting-scripts code so that the new option is used.