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

2022-02-18 Thread Enrico Scholz via lists.openembedded.org
Richard Purdie writes: >> > > > This script searches for a list of variable that have been renamed >> > > > and converts them to their more descriptive names. >> >> s/descriptive/politically correct/ > > We did try and make some of the names better describe what the variables > do and make the v

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

2022-02-18 Thread Richard Purdie
On Fri, 2022-02-18 at 15:27 +0100, Enrico Scholz wrote: > Richard Purdie writes: > > > > > This script searches for a list of variable that have been renamed > > > > and converts them to their more descriptive names. > > s/descriptive/politically correct/ We did try and make some of the names b

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

2022-02-18 Thread Alexander Kanavin
On Fri, 18 Feb 2022 at 15:27, Enrico Scholz via lists.openembedded.org wrote: > > Unfortunately there likely isn't a perfect rename and these were the > > best we were able to come up with. > > Why is the rename done at all? It makes the product just worse due to a > less usable api and because i

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

2022-02-18 Thread Enrico Scholz via lists.openembedded.org
Richard Purdie writes: >> > This script searches for a list of variable that have been renamed >> > and converts them to their more descriptive names. s/descriptive/politically correct/ >> again: most of these renamings make identifiers much less descriptive >> because they now sound like bool

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

2022-02-18 Thread Richard Purdie
On Fri, 2022-02-18 at 14:40 +0100, Enrico Scholz via lists.openembedded.org wrote: > "Saul Wold" writes: > > > From: 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 ma

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

2022-02-18 Thread Enrico Scholz via lists.openembedded.org
"Saul Wold" writes: > From: 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 >

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

2022-02-17 Thread Richard Purdie
On Wed, 2022-02-16 at 16:32 -0800, Saul Wold wrote: > +def processfile(fn): > + > +print(f"processing file '{fn}'") The fact that someone took the original conversion scripts, dropped the copyright header and then added f strings to it, which the project doesn't yet officially support and are

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

2022-02-17 Thread Richard Purdie
On Wed, 2022-02-16 at 16:32 -0800, Saul Wold wrote: > From: Saul Wold > > This script searches for a list of variable that have been renamed > and converts them to their more descriptive names. It also searches > for a list of variables that have been removed or deprecated and > prints a message.

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

2022-02-16 Thread Saul Wold
From: Saul Wold This script searches for a list of variable that have been renamed and converts them to their more descriptive names. It also searches for a list of variables that have been removed or deprecated and prints a message. It will print a message to inform the user that there are term