HorlogeSkynet / archey4

:computer: Maintained fork of the original Archey (Linux) system tool
https://git.io/archey4
GNU General Public License v3.0
295 stars 37 forks source link

[FEATURE] BSD Support #69

Closed ingrinder closed 3 years ago

ingrinder commented 4 years ago

Is your feature request related to a problem? Please describe. Add official support for the BSDs (e.g. OpenBSD, FreeBSD, and maybe macOS since it's a BSD descendant and acts similar to the BSDs).

This pretty much means:

I think starting with OpenBSD/FreeBSD support is a good baseline since these OSes and their derivatives make up the majority of BSD users.

Describe the solution you'd like Currently, the following modules access /proc filesystems and cause Archey to crash running on a BSD-based OS:

These entries access information which is all contained within the sysctl command on BSD, therefore hopefully the fixes for these crashes are fairly easy.

These entries currently fail gracefully:

I haven't got a DE or WM running under BSD, so the DesktopEnvironment and WindowManager entries may or may not work.

And, of course, we could do with some nice art to go with this support 😁. Of course, FreeBSD already has some suitable looking art on its boot screen: image

Additional context

I'll do some experimentation with OpenBSD and FreeBSD and provide some more information on distro module output and sysctl values we will need.

HorlogeSkynet commented 4 years ago

Yes, definitely looking forward these supports ! I've allowed myself to edit your OP in order to add check-lists, to track down the different items requiring us to work on. I don't think an unique (huge) WIP PR will suit the development (mostly if we keep changing things due to others matters), so what about bringing BSD-support chunk-by-chunk across multiple ones ? Also, I'm reworking the project board(s) now that we are looking to many improvements related to various different purposes. Thus, this issue has landed to OS, Distributions & Hardware.

ingrinder commented 4 years ago

Ah, I didn't realise you could make checklists in GH issues. Thanks πŸ˜„

HorlogeSkynet commented 3 years ago

Most of the work has been done on the develop branch, closing here as BSD should be supported in the next release :tada: