Inclusive language

From Yocto Project
Revision as of 16:30, 6 July 2021 by Rpurdie (talk | contribs)
Jump to navigationJump to search

Inclusive language

This is an attempt to collate Inclusive Language for OpenEmbedded and the Yocto Project in regards to code.

If a BB variable has a local assginment, the rename should be transitive. Example: BB_HASHBASE_WHITELIST is changes to BB_HASHBASE_ALLOWLIST, then self.basewhitelist would become self.baseallowlist


Recommended replacements for 'blacklist/whitelist' are:

blacklist whiltelist
denylist allowlist
blocklist passlist
excludelist includelist


Exceptions for introducing new usage is limited upstream sources outside the control of The Yocto Project and OpenEmbedded.


Repo Current name Suggest rename Reccommented by Approved
Bitbake BB_ENV_WHITELIST BB_ENV_ALLOWLIST Armin Kuster
Bitbake BB_HASHCONFIG_WHITELIST
Bitbake BB_STAMP_WHITELIST
Bitbake BB_SETSCENE_ENFORCE_WHITELIST
Bitbake BB_HASHBASE_WHITELIST
core blacklist.bbclass excludelist.bbclass Armin
core PNBLACKLIST PNSKIPLIST, PNEXCLUDELIST Armin
core SSTATE_DUPWHITELIST
core SYSROOT_DIRS_BLACKLIST SYSROOT_DIRS_EXCLUDELIST Armin


Notes Some upstream references: [1][ Linux kernel]