Macchina-CLI / macchina

A system information frontend with an emphasis on performance.
https://crates.io/crates/macchina
MIT License
1.24k stars 47 forks source link

[New Distro] - Amazon Linux #292

Closed daniejstriata closed 6 months ago

daniejstriata commented 9 months ago

Please add a new Distro for Amazon Linux 2 and 2023

NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
SUPPORT_END="2025-06-30"

AL2023

NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
SUPPORT_END="2028-03-01"

Logo:

  ,     #_
  ~\_  ####_        
 ~~  \_#####\
 ~~     \###|
 ~~       \#/ ___   
  ~~       V~' '->
   ~~~         /
     ~~._.   _/
        _/ _/
      _/m/'

macchina --doctor output

We've collected 18 readouts, including 6 failed read(s) and 0 read(s) which resulted in a warning.
Readout "OperatingSystem" failed with message: This metric is not available on this platform or is not yet implemented by libmacchina.
Readout "DesktopEnvironment" failed with message: You appear to be only running a window manager.
Readout "WindowManager" failed with message: Metric is not available on this system.
Readout "LocalIP" failed with message: Unable to get local IPv4 address.
Readout "Backlight" failed with message: Could not obtain backlight information.
Readout "Battery" failed with message: No batteries detected.

System Information You don't have to provide this information if you're not comfortable doing so, but it'll help us solve the issue a lot faster.

grtcdr commented 6 months ago

Hello there. I don't intend to add support for per-distribution ASCII art customization, please considering using the [custom_ascii] section of your theme as a workaround.