-
-
Notifications
You must be signed in to change notification settings - Fork 389
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
Remove obsolete addons from managed configuration #1530
Conversation
It has been reported that the removal of the javascript transformation in openHAB 4 results in warnings because the add-on could not be found during installation. Since the add-on is no longer present, it does not show up in the UI and can't be uninstalled from there. This adds an update instruction to remove it from the addons.config. Signed-off-by: Jan N. Klug <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps the other add-ons (#1481 (comment)) can also be removed similarly?
Yes. Do you see any better solution than these three lines? The problem is that we can only do simple "replace" instructions here and have the following cases:
|
The only better solution I can think of is adding dedicated update commands for removing or renaming add-ons. Then you can just use one command per add-on. Though adding new commands is quite involved because they need to work on Linux/macOS/Windows and added to all repos used for packaging openHAB (distro, linuxpkg, docker, etc). |
I'll add commands for the other addons |
Signed-off-by: Jan N. Klug <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
It has been reported that the removal of the javascript transformation in openHAB 4 results in warnings because the add-on could not be found during installation. Since the add-on is no longer present, it does not show up in the UI and can't be uninstalled from there. This adds an update instruction to remove it from the addons.config.