Inclusive language
From Yocto Project
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 | Recommended by | Approved name |
---|---|---|---|---|
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]