Skip to content

Conversation

@wjt
Copy link
Member

@wjt wjt commented Apr 5, 2023

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.

While I was here I cleaned the JSON-mangling script a bit. You might notice that it is now a fancy cat that performs a tiny amount of validation on the JSON. You might then think – can we just rename all the .json.in files to .json, install them verbatim, and just syntax-check them at build time? And yes, we could, but I ran out of evening and appetite to think about Autotools. Update I filed #256 which I have barely tested.

wjt added 2 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.
Copy link
Contributor

@jprvita jprvita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice cleanup!

@jprvita jprvita merged commit 3f60b3e into master Apr 5, 2023
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.

3 participants