Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace usage of whitelist to allowlist in code, comments and DSL #1035

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

balasankarc
Copy link

Description

Instead of using whitelist, whitelist_file, etc. in code, comments and DSL, we can switch to allowlist, allow_file etc.

Note: This is a breaking change that would require a new major release. If a new major version is not on the horizon right now, we can drop the commit which changes whitelist_file to allow_file in this PR and do that later.


Maintainers

Please ensure that you check for:

  • [] If this change impacts git cache validity, it bumps the git cache
    serial number
  • [] If this change impacts compatibility with omnibus-software, the
    corresponding change is reviewed and there is a release plan
  • [] If this change impacts compatibility with the omnibus cookbook, the
    corresponding change is reviewed and there is a release plan

@balasankarc balasankarc requested review from a team as code owners August 16, 2021 03:21
Rename the terms whitelist/blacklist in code and comments to
allowlist/denylist.

Note: Not changing the `whitelist_file` DSL term in this commit as it is a
breaking change. It will be done in a separate commit.

Signed-off-by: Balasankar "Balu" C <[email protected]>
Note: This is a breaking change.

Signed-off-by: Balasankar "Balu" C <[email protected]>
@balasankarc
Copy link
Author

@tas50 How do you feel about this one, from a DIB perspective?

@tas50
Copy link
Contributor

tas50 commented Jan 28, 2022

@balasankarc I want to make sure this gets done. I cut an issue to have one of our teams make sure we do this while also preserving the existing DSL. It would be great to throw warnings that these methods are deprecated. If you want to get this in quicker than our teams backlog feel free to update this PR with that. We can ship it as soon as we make sure the DSL doesn't immediately break.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants