-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Switch to Debian as base? #414
Comments
I have considered (and played with it many times before), for the same reasons. There are more expenses, in terms of speed and size (besides the base image). That all said; My main concern is the sizable breaking change it brings. Many people use this add-on with additional packages and have logic from external (e.g., flows from HA). That latter is the main reason I've never taken this step.
True, however, it has proven to be pretty valuable actually. Most tutorials found online do not work because of the missing |
Interesting.
Additional packages: indeed, users would need to refactor it for sure, but they also can take as inspiration the additional packages they have set for the VS Code addon. Logic from external: I think it would be a little rare to have a script from HA to call Also, Alpine is used to provide stripped binaries (like simplified versions of GNU Coreutils with fewer options or without --long-names options), in which the Debian variant of the same supersedes the functionality without breaking the existing ones. If we decide to switch to Debian, we need to bump the major version and point out the points of concern:
I do understand the breaking changes are sizeable, but if it's of common sense that Debian would be a better choice for the base image, then I believe we should face the situation. |
I have a Debian variant around, I know the implications of the change. But didn't do it before because of the above concerns. I need to (at least) sleep over it |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
The bot marked it as stale, but its still on my todo (responding to get the bot to go away). |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
not stale... |
There hasn't been any activity on this issue recently, so we clean up some of the older and inactive issues. |
Any updates on your thoughts? |
Problem/Motivation
I like to keep my Home Assistant instance as my development environment for things such as addons and frontend plugins, so that I can make modifications in such files, build them and do not need to copy them from my computer to my Hass, since they would be already there.
The SSH addon helps a lot with that, but there are some limitations which I found to be quite bad:
Expected behavior
If the base were Debian, none of these issues would be found (as in VS Code addon, everything works perfectly there -- except that SSH server isn't exposed there).
Actual behavior
Described above.
Steps to reproduce
N/A
Proposed changes
Switching to Debian would solve most of the issues caused using Alpine, at the expense of...
Not much, and the difference can be even lesser, as the Debian comes with some packages that aren't preinstalled in Alpine but would get preinstalled in SSH addon anyway.
Nevertheless, Debian is a more common environment for users (especially due to apt-get), which has some importance since the main goal of the SSH extension is to provide a distro-like environment inside Home Assistant.
Also, would make the VS Code addon and SSH addon more coordinated (e.g: users must know that in "Terminal" they use "apk", and in VS Code they use "apt-get").
Alternative
Instead of switching to Debian, we could also ship a variant. But I would rather jump directly to Debian to minimize maintenance. If not by the size, there aren't any benefits of using Alpine here (right?).
PS: I can help.
The text was updated successfully, but these errors were encountered: