stanislav-tkach / os_info

Rust library to detect the operating system type
MIT License
175 stars 52 forks source link

Add support for MicroOS #387

Closed mscharley closed 4 days ago

mscharley commented 5 days ago

Not sure if this is sufficient but happy to extend this further if needed. MicroOS is a specific repackaging of Tumbleweed, so this classification is probably sufficient.

/etc/os-release:

NAME="openSUSE MicroOS"
# VERSION="20241112"
ID="opensuse-microos"
ID_LIKE="suse opensuse opensuse-tumbleweed microos sl-micro"
VERSION_ID="20241112"
PRETTY_NAME="openSUSE MicroOS"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:microos:20241112"
BUG_REPORT_URL="https://bugzilla.opensuse.org"
SUPPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:MicroOS"
LOGO="distributor-logo-MicroOS"
stanislav-tkach commented 4 days ago

Thank you very much for the pull request!