All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Added more model name corrections. See
MODEL_CHANGES
inconfig.py
and the file itself,model_changes.json
. I admit these changes are a little heavy-handed, but many of these models broke consistency entirely.
- Rearranged diffs. Moved breaking diff changes from formatting into appropriate
.old
. - Semanting versioning is now
x.y.z
for all changes and retroactively. White Label (1)
in any JSON should now just beWhite Label
- Added missing/incomplete documentation
- Added fallback for when the JSON files don't yet exist or are empty
try
-except
removed forboard_name.split
; because only the first element counts, you cannot get an exception for splitting astr
and using element 0.,
is now filtered for board names. This only applies tohoho, but substitute a dp to vga chip
(seriously)- Logging moved to separate config module
- "White Label" devices are now counted rather than dumped (and potentially duplicated) in the list
- Individual devices are now sorted alphabetically, with "White Label" and its count at the end
- "ASUS-Chromebook-Flip-C214" is now correctly labeled "ASUS Chromebook Flip C214"
- Similarly, "AcerChromebook 11 (CB311-8H & CB311-8HT)" is "Acer Chromebook 11 (CB311-8H & CB311-8HT)"
- Project renamed from
Chrome OS board2device
toboard2device for ChromeOS
- Readme updated
- License year updated
- Lots of code polish
- logging
- better type-hints
- Delimiter for multiple boards is now
<space>|<space>
. This is because multiple entries have characters like/
(the previous delimiter) or,
or&
(both also potential delimiters).- This means that all the existing diffs were moved to
file.diff.old
. I'm sure that changing the delimiter would have caused the diffs to balloon in size.
- This means that all the existing diffs were moved to
- Readme cleaned up
- Now using
collections.defaultdict
to handle boardname:model concatenation better - Consequently, added a new function
flatten_models
that changeslist
tostr
for each board name entry
- Improved readme
- Line spacing on diffs
- Diff files added to show changes between versions, timestamped
- Retroactively add changelog
- Some examples given for
README.md
(section)
- Updated
requirements.txt
jsonlines.sh
is no longer necessary; instead,json.dumps
usesindent=4
for the equivalent pretty-printing.
- Outputs to all three variants instead of selectively via commenting
boardnamedevices-1.json
adds back white label devices that are otherwise pruned from the base fileboardnamedevices-2.json
splits board names likex_y
to usex
instead
- Initial version