Skip to content
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

feat: new core plugins #79

Merged
merged 3 commits into from
May 9, 2024
Merged

feat: new core plugins #79

merged 3 commits into from
May 9, 2024

Conversation

andrewthetechie
Copy link
Owner

@andrewthetechie andrewthetechie commented May 9, 2024

This adds new core plugins for Help, Webserver, and Health and supporting code to make it possible to load them.

I had to overload some of the Err backend methods and monkey patch some methods in the PluginManager to allow loading multiple plugins from a single module and to exclude backend .plug files from _load_plugins_generic.

Eventually, I'd like to upstream these changes, and some of this code will no longer be needed.

andrewthetechie and others added 3 commits May 9, 2024 18:08
This adds new core plugins for Help, Webserver, and Health and
supporting code to make it possible to load them.

I had to overload some of the Err backend methods and monkey patch some
methods in the PluginManager. Eventually, I'd like to upstream these
changes and this will no longer be needed
This allows setting a new flag in the Core section of the .plug file to
indicate a plugin is a backend. These backend plugins are then skipped
when loaded by _load_plugins_generic

This code could eventually be upstreamed into Errbot to allow it to
handle multiple plugins per module easier
@andrewthetechie andrewthetechie merged commit 70a61f4 into main May 9, 2024
6 checks passed
@andrewthetechie andrewthetechie deleted the new-core-plugins branch May 9, 2024 23:43
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.

1 participant