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

Update hardware.json occasionally to set human-readable names for new macOS releases #208

Open
openjck opened this issue Aug 18, 2020 · 0 comments

Comments

@openjck
Copy link
Contributor

openjck commented Aug 18, 2020

This task should be completed regularly. As such, it may make sense to leave this issue open indefinitely.

The data which ensemble-transposer ingests does not provide human-readable names for macOS releases. For example, it provides the name Darwin-19.x instead of the human-readable equivalent of macOS Catalina. I have talked to Arkadiusz about this and there does not appear to be an easy way to extract human-readable names upstream. Something needs to map low-level names (e.g., Darwin-19.x) to human-readable names (e.g., macOS Catalina) and that something is this project, ensemble-tranposer.

The hardware.json file renames the low-level names to their human-readable equivalents:

"populationModifications": {
"renames": [
{
"from": "Windows_NT-5.1",
"to": "Windows XP"
},
{
"from": "Windows_NT-6.0",
"to": "Windows Vista"
},
{
"from": "Windows_NT-6.1",
"to": "Windows 7"
},
{
"from": "Windows_NT-6.2",
"to": "Windows 8"
},
{
"from": "Windows_NT-6.3",
"to": "Windows 8.1"
},
{
"from": "Windows_NT-10.0",
"to": "Windows 10"
},
{
"from": "Windows_NT-Other",
"to": "Windows Other"
},
{
"from": "Linux-Other",
"to": "Linux Other"
},
{
"from": "Darwin-14.x",
"to": "macOS Yosemite"
},
{
"from": "Darwin-15.x",
"to": "macOS El Capitan"
},
{
"from": "Darwin-16.x",
"to": "macOS Sierra"
},
{
"from": "Darwin-17.x",
"to": "macOS High Sierra"
},
{
"from": "Darwin-18.x",
"to": "macOS Mojave"
},
{
"from": "Darwin-19.x",
"to": "macOS Catalina"
},
{
"from": "Darwin-20.x",
"to": "macOS Big Sur"
},
{
"from": "Darwin-Other",
"to": "macOS Other"
}
]
},

I recommend checking this list every 3-6 months and adding a new macOS rename if a new version has been released recently.

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

No branches or pull requests

1 participant