-
Notifications
You must be signed in to change notification settings - Fork 101
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
Convert ancient Plugins to use lib.network instead of lib.connection #399
Comments
Umgebaute Squeezebox und lirc funktionieren bei mit seit Wochen ohne Probleme. |
Plugin network is finished and runs completely on lib.network. |
All modified and awaiting testing in https://github.com/Morg42/plugins/tree/network/, necessary lib.network in https://github.com/Morg42/smarthome/tree/libnetwork/ |
That was my suggestion to @msinn already. Much as I'd like to see lib.network in 1.8, more testing and completion of plugin seems sensible. |
That's why I added the milestone 1.9 before your comments. |
All lib and plugin code is integrated and running. References to lib.connection are removed in plugins; for core files, this is provided in PR smarthome/#402. The last remaining point is actually removing lib.connection from the core. This should probably be done earliest for 1.10, so privately used plugins can be adjusted. Does this need some kind of deprecated-warning? |
Yes, we should give a warning with each usage of lib.connection IMHO. @msinn did a great job with other deprecated warnings within the code. |
The warning "system" might be upgraded to show a all-pages warning on the Admin UI. On the other hand, we can't make sure to reach everyone. A best-effort approach should be enough on evolving OSS. As long as some users don't update their systems, nothing is going to happen anyway. I guess you can expect someone upgrading to read the release notes, or the readme? |
If I've learned anything important in my life then the most important lesson is the one that people don't read anything until something goes wrong. And if this is the case, then they blame the docu that it was not presented in an understandable way. |
I'm painfully aware. But not doing anything is not an option... |
Closing this issue as the plugin modification is complete. The core issue is resumed at issue 410 @smarthome |
Currently the following plugins still use
lib.connection
but are deprecated and will be removed:The following plugins already have an implementation:
These plugins were converted by @Morg42 but are not pushed into develop:
The
lib.connection
should then be removed prior to SmartHomeNG 2.0The text was updated successfully, but these errors were encountered: