Rename config value blacklist to blocklist

Created on 28 July 2025, 28 days ago

Problem/Motivation

The word blacklist is configured as a forbidden word in the GitLab CI pipelines. This causes a failed pipeline for modules that e.g. contain a config entity that defines/overrides that.

Proposed resolution

Rename that config value to blocklist.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @jurgenhaas
  • Instead of changing the blacklist to blocklist, We can just make a cspell file in which we can ignore blacklist, blacklisted, blacklists, whitelist word
    Let me know if this solution sounds good then I'll proceed.

  • 🇩🇪Germany jurgenhaas Gottmadingen

    That wouldn't be enough as not only this module would have to add that to the list but also others who have a dependency on it with config entities for testing purposes where this keyword would appear as well.

    But even more so, words like "blacklist" and "whitelist" can be perceived as discriminating, and therefore Drupal's GitLab pipelines are configured explicitly to disallow those words. As an inclusive community, it's recommended to follow that path also in contrib modules.

Production build 0.71.5 2024