Re: [PATCH v2] convert-variables: Script for Inclusive Language variable renames


Richard Purdie
 

On Fri, 2022-02-18 at 14:40 +0100, Enrico Scholz via lists.openembedded.org
wrote:
"Saul Wold" <Saul.Wold@...> writes:

From: Saul Wold <Saul.Wold@...>

This script searches for a list of variable that have been renamed
and converts them to their more descriptive names.
again: most of these renamings make identifiers much less descriptive
because they now sound like boolean flags instead of lists
Whilst you could say they sound like booleans, they clearly can't be as that
wouldn't make sense, e.g. "Ignoring variables in basehash" makes no sense.

Secondly, most metadata variables are lists of things. Adding "LIST" to every
variable that is a list of items would just make the variable names much longer
with little end resulting readability gain.

Unfortunately there likely isn't a perfect rename and these were the best we
were able to come up with.

Cheers,

Richard

Join openembedded-core@lists.openembedded.org to automatically receive all group messages.