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
LBConfigProvider is inflexible #29
Comments
I think we can do this by searching subclasses of |
|
if we let developers code freely, users can install it from pypi like
|
so i prefer this method: use
some thoughts tonight, maybe not help to this issue, write down first😂 |
good point. 👍
But I don't think that will be a problem, when you install any packages from pypi, you already trust them. Actually, even when you install a vim plugin from github, it already can do all the bad things to your computer. When the user install So there is nothing different, if you use open-source software, you have to inspect its reputation, quality, documentations, etc.
Provider can always define his own available configurations.
Yes, we can limit it by only calling provider's two API. |
Hitting this when trying to address #37 (comment) |
IMO maybe a |
My original idea for the provider is that:
A provider can be defined in a single file, a provider's exceptions, implementations, and config definitions, all can be defined in a single file.
So that it would be easy to maintain. And also, a provider can be implemented outside lobbyboy's codebase. (let's say, one can upload his provider to pypi, and other users can install them via
pip install lobbyboy-aws-ec2-provider
, then lobbyboy can load it.And one can add custom configs to his provider.
The current problem is, we have to update the
LBConfigProvider
if one wants to add more fields to his provider config. It is not possible to do so without updating lobbyboy's source code.The text was updated successfully, but these errors were encountered: