Merge pull request #20522 from Homebrew/merge-daily-linux-builds

formula-analytics: reduce noise from Linux builds
This commit is contained in:
Mike McQuaid 2025-08-20 07:23:39 +00:00 committed by GitHub
commit fc85e051aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -384,6 +384,10 @@ module Homebrew
when /Fedora Linux (\d+)[.\d]*/ then "Fedora Linux #{Regexp.last_match(1)}"
when /KDE neon .*?([\d.]+)/ then "KDE neon #{Regexp.last_match(1)}"
when /Amazon Linux (\d+)\.[.\d]*/ then "Amazon Linux #{Regexp.last_match(1)}"
when /Fedora Linux Rawhide[.\dn]*/ then "Fedora Linux Rawhide"
when /Red Hat Enterprise Linux CoreOS (\d+\.\d+)[-.\d]*/
"Red Hat Enterprise Linux CoreOS #{Regexp.last_match(1)}"
when /([A-Za-z ]+)\s+(\d+)\.\d{8}[.\d]*/ then "#{Regexp.last_match(1)} #{Regexp.last_match(2)}"
else dimension
end
end