Skip to content

Conversation

@PatStLouis
Copy link
Contributor

@PatStLouis PatStLouis commented Nov 17, 2025

This PR adds an auto-install-plugin flag which will dynamically install enabled plugin.

Only works with official acapy-plugins, could be extended into a plugin-registry eventually where users can input the plugin source.

The new flag, --auto-install-plugins, can be used as a bool or also provide the version of the plugin to be installed.

ex:

aca-py start --auto-install-plugins # defaults to the current aca-py version
aca-py start --auto-install-plugins main
aca-py start --auto-install-plugins 1.3.2

Signed-off-by: Patrick St-Louis <[email protected]>
Signed-off-by: Patrick St-Louis <[email protected]>
Signed-off-by: Patrick St-Louis <[email protected]>
Signed-off-by: Patrick St-Louis <[email protected]>
Signed-off-by: Patrick St-Louis <[email protected]>
@swcurran
Copy link
Contributor

Two questions on the syntax from the description above:

  • you use both "--auto-install-plugin" and "--auto-install-plugins" -- which is right, or both?
  • I would have expected the name of the plugin (or plugins?) to be included in the parameter -- not just the branch. Or does this get used with other parameters?

Thanks

@PatStLouis
Copy link
Contributor Author

Two questions on the syntax from the description above:

  • you use both "--auto-install-plugin" and "--auto-install-plugins" -- which is right, or both?
  • I would have expected the name of the plugin (or plugins?) to be included in the parameter -- not just the branch. Or does this get used with other parameters?

Thanks

there is only 1 flag, --auto-install-plugins, will fix the singular typing.

For the plugin list, it will look at the "enabled" plugins from the existing config. If no plugins configured, no plugins get installed. The main purpose is to avoid having to build a separate image with the plugin pre-installed.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants