Skip to content

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

@openjck

Description

@openjck

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions