-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
[BUG] KDE Neon is reported as Debian Bookworm/Sid #72
Comments
This might be complicated to solve. I'm relying on the github.com/shirou/gopsutil/v3/host package to get the OS/distro information. From my grokking of the code it looks to preference getting the information from So I'm pretty sure this is the same problem as say, this person on PopOS is having with the above library: shirou/gopsutil#1469 I'd really like to avoid writing the code for this myself, because inevitably it might end up being a very big switch/else-if block that needs constant updating. Alternatively, I could just assume a canonical source like |
I opened shirou/gopsutil#1576 upstream for discussion as well. |
Hey there, just circling back that since v9 the distribution should be reported correctly. Please let me know if it is not reporting the correct values for you! |
Ugh, so I wrote code to get the correct values, but I didn't actually change those sensors to use it 🤦 But that code wasn't enough, so I've refactored it and now it should be displaying the correct details in those sensors. Can you try out the snapshot build from here: https://github.com/joshuar/go-hass-agent/actions/runs/9218443179/artifacts/1533556590 This is an archive containing all the packages that would normally be on the release page (for amd64). It will effectively be the next release 🤞 Please extract and use the appropriate one. Let me know if this works correctly! |
Hey there, I expect that the latest version (v9.4.0) should fix this issue. Can you please try with that version and report back? |
Hey there, I'm going to close this issue on the assumption it is now fixed. Please try with the latest release and re-open if this is still an issue. |
Hey! Sorry, work's been a PITA recently. It's fixed in 9.5 for sure. Thank you! |
Describe the bug
When a computer is running
go-hass-agent
with KDE Neon, the distribution is instead reported as Debian Bookworm/Sid. (Neon is based on Ubuntu LTS.)To Reproduce
Steps to reproduce the behavior:
go-hass-agent
on a machine/VM running KDE NeonExpected behavior
The distribution should report KDE Neon.
Screenshots
Logs
go-hass-app.log
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: