Skip to content

Adding the Rust Code of Conduct #2499

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

Merged
merged 2 commits into from
Mar 2, 2018

Conversation

davidalber
Copy link
Contributor

It seems like a good idea to add the Rust Code of Conduct here. What do you think? It's in the core Rust repository (here). This PR adds it to rustfmt. I kind of think, for history's sake, that it would make sense for the repository owners' to add it, so if you want to do that, that's fine by me!

I followed the lead in the Rust repository to add the full Code of Conduct, rather than just linking to the page from rust-www. I think that's a nicer solution, but it does come with a risk of the Code of Conduct in satellite repositories becoming out of sync with the main version. To help with that, I've set up a repository that verifies everything is in sync (here).

Adding something will turn the Code of conduct line from the Community Page into a green checkmark.

image

@davidalber
Copy link
Contributor Author

Also, I think really there should be a policy created for what is done with all of the Rust repositories, rather than doing a one-off change. I'm not sure how best to pursue that, though. Maybe reach out to the Community or Moderation Teams?

@nrc
Copy link
Member

nrc commented Mar 1, 2018

Hey, thanks for the PR! Agree it's a good thing to do, and having the CoC inline rather than a reference is probably good if only to satisfy GitHub. The checking repo looks really useful too, since getting out of sync is of course the worry. I discussed this a little with the core team and yeah, a policy is probably a good thing to have. It would be up to the community team so you should ping someone there, perhaps Ashley.

For this PR, could you add a link to the CoC from the README please?

@davidalber
Copy link
Contributor Author

I added links to the README, as requested. I also noticed that the Rust repository links to the Code of Conduct from its contributing page and did something similar.

Live examples:

@nrc nrc merged commit 2a5b25e into rust-lang:master Mar 2, 2018
@nrc
Copy link
Member

nrc commented Mar 2, 2018

Perfect, thanks!

@davidalber davidalber deleted the add-rust-code-of-conduct branch March 3, 2018 00:37
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.

2 participants