-
Notifications
You must be signed in to change notification settings - Fork 61
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
Added SunOS (tested against OmniOS) #461
Conversation
Is your implementation at all related to the one linked to from #263 by @dertuxmalwieder (they haven't submitted a PR, but did reference the issue in their fork's commit so I saw it pop up over there). EDIT: Nevermind! Thank you for your PR. There was a prior PR, but it was built on an older implementation of serverinfo. I overlooked the full history. |
I wish that my first approach would have been merged. ;-) |
Actually I took a look at the PRs from @dertuxmalwieder and tried to fix a few problems / errors in the code together with some small changes (e.g. as to show ZFS filesystems instead of actual discs). |
Thanks for your pull request 👍 Please add tests for your implementation. You may use the tests I wrote for the other SunOS / OmniOS as a starting point: https://github.com/nextcloud/serverinfo/compare/feat/sun-os |
Thanks for your work on this pull request. I’m closing it as the current implementation isn’t in a mergable state. That said, I’m not against the feature itself! If someone wants to pick this up, I’d be happy to provide guidance to help move it forward. One important requirement for this feature is automated test coverage. This will ensure that the app remains maintainable for me without needing to set up a dedicated test installation on SunOS. The restricted mode we introduced with Nextcloud 28 might help address your use case by preventing the execution of Linux commands that aren’t available on SunOS. Thanks again for your contributions, and let me know if you have any questions or would like to revisit this in the future! |
requires "top" package to be installed for parsing memory/swap info (cmd "pkg install top")
Signed-off-by: pstumpe [email protected]