Chore!: Rename 'whitelist' to 'allowlist' 83/69083/5
authorAnil Belur <abelur@linuxfoundation.org>
Thu, 4 Nov 2021 01:25:59 +0000 (11:25 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 5 Nov 2021 03:10:17 +0000 (13:10 +1000)
Improve global-jjb code and documentation to minimize
non-inclusivity.

Change-Id: I3c70ad4ad2c4d34510410b0baab439ab8681954d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
.jjb-test/defaults.yaml
docs/_static/github-pr-trigger.example
docs/best-practices.rst
docs/configuration.rst
jjb/lf-ci-jobs.yaml
jjb/lf-docker-jobs.yaml
jjb/lf-maven-jobs.yaml
jjb/lf-python-jobs.yaml
jjb/lf-rtd-jobs.yaml
releasenotes/notes/minimuze-non-inclusive-language-d323e7a8eb807ea7.yaml [new file with mode: 0644]

index 781090c..b8c798e 100644 (file)
@@ -17,7 +17,7 @@
     git-clone-url: "git@github.com:"
     github-org: example-org
     github-url: https://github.com/project
-    github_pr_whitelist:
+    github_pr_allowlist:
       - jpwku
       - tykeal
       - zxiiro
index fbc3250..007718a 100644 (file)
@@ -7,6 +7,6 @@
        github-hooks: true
        org-list:
          - '{github-org}'
-       white-list: '{obj:github_pr_whitelist}'
+       white-list: '{obj:github_pr_allowlist}'
        admin-list: '{obj:github_pr_admin_list}'
        included_regions: '{obj:github_included_regions}'
index d2a1866..632bca3 100644 (file)
@@ -195,7 +195,7 @@ Example:
 
    .. literalinclude:: _static/github-pr-trigger.example
 
-In the above example note the use of underscores in ``github_pr_whitelist``,
+In the above example note the use of underscores in ``github_pr_allowlist``,
 ``github_pr_admin_list``, and ``github_included_regions``.
 
 Using single quotes around variables
index f7791d8..f238791 100644 (file)
@@ -51,7 +51,7 @@ values used by global-jjb templates.
 :github_pr_org: The name of the GitHub organization. All members
     of this organization will be able to trigger jobs.
 
-:github_pr_whitelist: List of GitHub members you wish to be able to
+:github_pr_allowlist: List of GitHub members you wish to be able to
     trigger jobs.
 
 :github_pr_admin_list: List of GitHub members that will have admin
@@ -81,7 +81,7 @@ Example GitHub Infra:
        # lf-infra defaults
        jenkins-ssh-credential: jenkins-ssh
        github-org: lfit
-       github_pr_whitelist:
+       github_pr_allowlist:
          - jpwku
          - tykeal
          - zxiiro
index 36965c8..7759168 100644 (file)
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           included-regions: "{obj:github_included_regions}"
           white-list-target-branches:
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           included-regions: "{obj:github_included_regions}"
           white-list-target-branches:
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           # included-regions MUST match Gerrit Trigger file-paths
           included-regions:
index 95bfa4b..411fe33 100644 (file)
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           white-list-target-branches:
             - "{branch}"
index ea5f608..f491617 100644 (file)
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           white-list-target-branches:
             - "{branch}"
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           white-list-target-branches:
             - "{branch}"
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           white-list-target-branches:
             - "{branch}"
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           white-list-target-branches:
             - "{branch}"
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           white-list-target-branches:
             - "{branch}"
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           white-list-target-branches:
             - "{branch}"
index b21f0b2..6a40d17 100644 (file)
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           white-list-target-branches:
             - "{branch}"
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           white-list-target-branches:
             - "{branch}"
index 9c8e945..0a757e8 100644 (file)
           github-hooks: true
           org-list:
             - "{github-org}"
-          white-list: "{obj:github_pr_whitelist}"
+          white-list: "{obj:github_pr_allowlist}"
           admin-list: "{obj:github_pr_admin_list}"
           included-regions: "{obj:github_included_regions}"
           white-list-target-branches:
diff --git a/releasenotes/notes/minimuze-non-inclusive-language-d323e7a8eb807ea7.yaml b/releasenotes/notes/minimuze-non-inclusive-language-d323e7a8eb807ea7.yaml
new file mode 100644 (file)
index 0000000..2af5430
--- /dev/null
@@ -0,0 +1,8 @@
+---
+prelude: >
+  Improve global-jjb code and documentation to minimize non-inclusivity.
+
+  https://developers.google.com/style/inclusive-documentation
+other:
+  - |
+    Rename 'whitelist' to 'allowlist'