Skip to content
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

Spelling of macOS in long_os_version #1418

Closed
dtolnay opened this issue Dec 7, 2024 · 1 comment · Fixed by #1425
Closed

Spelling of macOS in long_os_version #1418

dtolnay opened this issue Dec 7, 2024 · 1 comment · Fixed by #1425
Labels

Comments

@dtolnay
Copy link
Contributor

dtolnay commented Dec 7, 2024

On laptop, desktop, and server computers produced by Apple Inc., System::long_os_version() returns strings that are not historically accurate based on https://en.wikipedia.org/wiki/MacOS_version_history. The naming used by Apple for these operating systems was "Mac OS X", then "OS X", then "macOS".

"MacOS 10.0 Cheetah"Mac OS X











"MacOS 10.1 Puma"
"MacOS 10.2 Jaguar"
"MacOS 10.3 Panther"
"MacOS 10.4 Tiger"
"MacOS 10.5 Leopard"
"MacOS 10.6 Snow Leopard"
"MacOS 10.7 Lion"
"MacOS 10.8 Mountain Lion"OS X




"MacOS 10.9 Mavericks"
"MacOS 10.10 Yosemite"
"MacOS 10.11 El Capitan"
"MacOS 10.12 Sierra"macOS












"MacOS 10.13 High Sierra"
"MacOS 10.14 Mojave"
"MacOS 10.15 Catalina"
"MacOS 11.0 Big Sur"
"MacOS 12.0 Monterey"
"MacOS 13.0 Ventura"
"MacOS 14.0 Sonoma"
"MacOS 15.0 Sequoia"

I would expect sysinfo to render these names in a way that is consistent with Apple's name for each of these operating systems: "macOS 15.0 Sequoia", "OS X 10.11 El Capitan", "Mac OS X 10.7 Lion"

@dtolnay dtolnay added the bug label Dec 7, 2024
@GuillaumeGomez
Copy link
Owner

Makes sense. Currently in the middle of moving to a new place so I'll take a look at it likely next week if no did until then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants