mozilla / ensemble-transposer

A Node task which reformats and adds metadata to raw data :musical_score: :pen:
https://ensemble-transposer.herokuapp.com/
Mozilla Public License 2.0
10 stars 7 forks source link

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

Open openjck opened 3 years ago

openjck commented 3 years ago

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:

https://github.com/mozilla/ensemble-transposer/blob/22e787f559ec56ce2185a7643d8aabbba208172f/config/datasets/hardware.json#L351-L418

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