Skip to content

Conversation

@wjt
Copy link
Member

@wjt wjt commented Apr 5, 2023

Since removing the arch blocklist we don't actually make any changes to
the contents of these files. So, rename them from *.json.in to *.json
and rewrite write-grid-json.py as validate-grid-json.py, calling it as a
test.

This builds on #255 and is even less well tested.

wjt added 3 commits April 5, 2023 21:07
The keys in arch-blacklist.json are the autotools $(host_cpu) variable.
The only key in that file is "arm". But nowadays we only support 64-bit
ARM, for which $(host_cpu) is "aarch64". So this filter now does
nothing.

It doesn't matter, anyway, because the app grid code in Endless OS 3.9
and later just hides empty folders.

Remove the blacklist logic, which also removes some problematic
terminology from our distro.
- All Python dicts are now order-preserving.
- makedirs() has an exist_ok argument.
- argparse.FileType has actually been around for a long time.
Since removing the arch blocklist we don't actually make any changes to
the contents of these files. So, rename them from *.json.in to *.json
and rewrite write-grid-json.py as validate-grid-json.py, calling it as a
test.
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

Successfully merging this pull request may close these issues.

1 participant