Inclusive language: Difference between revisions
From Yocto Project
Jump to navigationJump to search
No edit summary |
Armin Kuster (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
=Inclusive Lanquage= | |||
https://lists.openembedded.org/g/openembedded-architecture/topic/inclusive_language_summary/75821819 | https://lists.openembedded.org/g/openembedded-architecture/topic/inclusive_language_summary/75821819 | ||
Line 9: | Line 10: | ||
BB_HASHBASE_WHITELIST is changes to BB_HASHBASE_ALLOWLIST, then self.basewhitelist would become self.baseallowlist | BB_HASHBASE_WHITELIST is changes to BB_HASHBASE_ALLOWLIST, then self.basewhitelist would become self.baseallowlist | ||
=Recommendations= | |||
Recommended replacements for 'blacklist/whitelist' are: | Recommended replacements for 'blacklist/whitelist' are: | ||
{| class="wikitable" border="2" | {| class="wikitable" border="2" | ||
Line 26: | Line 27: | ||
|} | |} | ||
=Exceptions= | |||
Exceptions for introducing new usage is limited upstream sources outside the control of The Yocto Project and OpenEmbedded. | |||
=Classes= | |||
{| class="wikitable" border="2" | |||
!Repo | |||
!Current name | |||
!Suggest rename | |||
!Recommended by | |||
!Approved name | |||
|- | |||
|core | |||
|blacklist.bbclass | |||
|excludelist.bbclass | |||
| Armin | |||
| | |||
|- | |||
|} | |||
=Variables= | |||
{| class="wikitable" border="2" | {| class="wikitable" border="2" | ||
Line 66: | Line 84: | ||
| | | | ||
| | | | ||
|- | |||
|Bitbake | |||
|basewhitelist | |||
| | |||
| | |||
|- | |||
|Bitbake | |||
|taskwhitelist | |||
| | |||
| | |||
| | |||
|- | |- | ||
|core | |core | ||
| | |PNBLACKLIST | ||
| | |PNSKIPLIST | ||
| Armin | | Armin | ||
| | | | ||
|- | |- | ||
|core | |core | ||
| | |whitelist | ||
| | |excludelist | ||
| Armin | | Armin | ||
| | | | ||
|- | |- | ||
|core | |core | ||
| | |whitelisted | ||
|excluded | |||
| Armin | |||
| | | | ||
| | |- | ||
|core | |||
|whitelisting | |||
|excluding | |||
| Armin | |||
| | | | ||
|- | |- | ||
|core | |core | ||
| | |SSTATE_DUPWHITELIST | ||
| | |SSTATE_DUPSKIPLIST | ||
| Armin | | Armin | ||
| | |||
|- | |||
|core | |||
|CVE_CHECK_PN_WHITELIST | |||
| | |||
| | |||
|- | |||
|} | |||
=Functions= | |||
{| class="wikitable" border="2" | |||
!Repo | |||
!Current name | |||
!Suggest rename | |||
!Recommended by | |||
!Approved name | |||
|- | |||
|Bitabke | |||
|test_setscenewhitelist | |||
| | |||
| | |||
| | | | ||
|- | |- | ||
|} | |} | ||
=Notes= | |||
Revision as of 11:37, 7 July 2021
Inclusive Lanquage
https://lists.openembedded.org/g/openembedded-architecture/topic/inclusive_language_summary/75821819
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
Recommendations
Recommended replacements for 'blacklist/whitelist' are:
blacklist | whiltelist |
---|---|
denylist | allowlist |
blocklist | passlist |
excludelist | includelist |
Exceptions
Exceptions for introducing new usage is limited upstream sources outside the control of The Yocto Project and OpenEmbedded.
Classes
Repo | Current name | Suggest rename | Recommended by | Approved name |
---|---|---|---|---|
core | blacklist.bbclass | excludelist.bbclass | Armin |
Variables
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 | |||
Bitbake | basewhitelist | |||
Bitbake | taskwhitelist | |||
core | PNBLACKLIST | PNSKIPLIST | Armin | |
core | whitelist | excludelist | Armin | |
core | whitelisted | excluded | Armin | |
core | whitelisting | excluding | Armin | |
core | SSTATE_DUPWHITELIST | SSTATE_DUPSKIPLIST | Armin | |
core | CVE_CHECK_PN_WHITELIST |
Functions
Repo | Current name | Suggest rename | Recommended by | Approved name |
---|---|---|---|---|
Bitabke | test_setscenewhitelist |
Notes
Notes Some upstream references: [1][ Linux kernel]