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

Investigate the usage of divisive language throughout Knative. #193

Closed
markusthoemmes opened this issue Jul 21, 2020 · 8 comments
Closed
Assignees

Comments

@markusthoemmes
Copy link
Contributor

In the last ToC meeting we briefly touched on the topic of divisive language in the Knative project. The consensus was that we should definitely commit to avoid divisive terms wherever possible.

@evankanderson
Copy link
Member

Some additional background discussion from the linux kernel: https://lkml.org/lkml/2020/7/4/229

Kubernetes document: https://docs.google.com/document/d/1bnPvb6oE07Wg9rb7kBXcpHe6j85bbyltdc0h0_gil88/edit

@evankanderson
Copy link
Member

The kubernetes document has a lot of associated background reading for those interested.

@markusthoemmes
Copy link
Contributor Author

Here's a preliminary list of words we'd like to replace in the process as a first step: https://docs.google.com/spreadsheets/d/1uSCWEody7WFnBQW4EnQfXFehmt-4DFh-QnoOb9-0d1A/edit#gid=0

In accordance with the Linux kernel, we're going to start with master/slave and whitelist/blacklist and potentially add more as time goes on.

@markusthoemmes
Copy link
Contributor Author

markusthoemmes commented Sep 8, 2020

A quick candidate grep statement to check a repo:

grep -rni --exclude-dir={vendor,third_party,.github} --exclude={go.sum,go.mod} 'whitelist\|blacklist\|white-list\|black-list\|slave\|master' . | grep -v '/master/'; test $? -eq 1

@markusthoemmes
Copy link
Contributor Author

PRs to all knative repositories are out, modulo test-infra which might be a little more delicate.

Remaining occurrences are:

@julz
Copy link
Member

julz commented Sep 15, 2020

Downloaded all sandbox repos with the following script:

curl -s 'https://api.github.com/orgs/knative-sandbox/repos?per_page=200' | jq .[].html_url | xargs -L 1 git clone

Ran grep for divisive language below (using fish):

for repo in *; pushd $repo; grep -rni --exclude-dir={vendor,third_party,.github,.git} --exclude={update-deps.sh,go.sum,go.mod} 'whitelist\|blacklist\|white-list\|black-list\|slave\|master' . | grep -v '/master'| grep -v "?= master"; if test $status -eq 1; echo "- [x] $repo"; else; echo "- [ ] $repo"; end; popd; end

Remaining references are to 'master' branch in some update-deps.sh and DEVELOPMENT.md scripts, which will be cleared up when we change main branch, and some 'whitelist' references (see below) from an imported package, for which an issue is already open.

@markusthoemmes
Copy link
Contributor Author

Awesome, thanks @julz!

@markusthoemmes
Copy link
Contributor Author

As per the last ToC meeting, i'll close this one and open tracking issues for the respective dependencies in the respective repos and open a new issue here to track branch renaming.

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

No branches or pull requests

3 participants