Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Bridge plugin rewrite #68

Open
2 tasks
gdude2002 opened this issue Jan 27, 2015 · 1 comment
Open
2 tasks

Bridge plugin rewrite #68

gdude2002 opened this issue Jan 27, 2015 · 1 comment
Assignees
Milestone

Comments

@gdude2002
Copy link
Member

gdude2002 commented Jan 27, 2015

Over time, the bridge plugin has become pretty nasty. It needs a rewrite - here's some points to look at for that.

  • Configuration
    • The configuration has become really quite messy. I feel like we could redesign the entire thing.
      • We could have a directory of config files to load - Perhaps we could add a Directory type to the storage manager that can load all the files from a directory up into an array or something
  • Modularity
    • It became apparent pretty quickly that this was going to need to support a bunch of events from all over the place. Therefore, we should split bridge up into modules that can be added to by other plugins.
      • As a "standard" plugin, I don't really see any reason plugins and protocols can't just throw .py files into a directory, but it would probably be better to have them register or something. Needs thought.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/8066775-bridge-plugin-rewrite?utm_campaign=plugin&utm_content=tracker%2F269930&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F269930&utm_medium=issues&utm_source=github).
@gdude2002
Copy link
Member Author

@rakiru Should we have protocols register their own handlers for Bridge? It feels like that might be the most sensible way.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant