]> code.ossystems Code Review - openembedded-core.git/commit
scripts: Add convert-variable-renames script for inclusive language variable renaming
authorSaul Wold <Saul.Wold@windriver.com>
Thu, 17 Feb 2022 00:32:48 +0000 (16:32 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 21 Feb 2022 23:35:57 +0000 (23:35 +0000)
commit75f319c105484d0b312a858cc0bd8148728c8622
treee7e383f018e6b1e2a1d0a0624a0e85c6e79dd4cf
parentca3da0985476819a8e8e720f384f5b8219e5fa54
scripts: Add convert-variable-renames script for inclusive language variable renaming

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 terms that
need to be updated in their files. Many of these changes are context
sensitive and may not be modified as they might be existing calls to
other libraries. This message is informational only.

I have tested this on poky and meta-openembedded so far.

(From OE-Core rev: 50fe7ba8dba05a9681c9095506f798796cfc2750)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/contrib/convert-variable-renames.py [new file with mode: 0755]