From 84397da4472126692672d80a28e3b2d83b984e25 Mon Sep 17 00:00:00 2001 From: Timothy Yung Date: Fri, 30 Sep 2022 08:43:28 -0700 Subject: [PATCH] Update to Contributor Covenant (#3354) --- CODE_OF_CONDUCT.md | 180 ++++++++++++++++++++------------------------- 1 file changed, 80 insertions(+), 100 deletions(-) diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 6c7645b5d66..c4a3c1d16b2 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,100 +1,80 @@ -# [Open Source Code of Conduct](https://code.facebook.com/codeofconduct) - -This code of conduct outlines our expectations for participants within the -**Facebook Open Source** community, as well as steps to reporting unacceptable -behavior. We are committed to providing a welcoming and inspiring community for -all and expect our code of conduct to be honored. Anyone who violates this code -of conduct may be banned from the community. - -Our open source community strives to: - -* **Be friendly and patient.** -* **Be welcoming:** We strive to be a community that welcomes and supports - people of all backgrounds and identities. This includes, but is not limited to - members of any race, ethnicity, culture, national origin, colour, immigration - status, social and economic class, educational level, sex, sexual orientation, - gender identity and expression, age, size, family status, political belief, - religion, and mental and physical ability. -* **Be considerate:** Your work will be used by other people, and you in turn - will depend on the work of others. Any decision you take will affect users and - colleagues, and you should take those consequences into account when making - decisions. Remember that we’re a world-wide community, so you might not be - communicating in someone else’s primary language. -* **Be respectful:** Not all of us will agree all the time, but disagreement is - no excuse for poor behavior and poor manners. We might all experience some - frustration now and then, but we cannot allow that frustration to turn into a - personal attack. It’s important to remember that a community where people feel - uncomfortable or threatened is not a productive one. -* **Be careful in the words that you choose:** we are a community of - professionals, and we conduct ourselves professionally. Be kind to others. Do - not insult or put down other participants. Harassment and other exclusionary - behavior aren’t acceptable. This includes, but is not limited to: - * Violent threats or language directed against another person. - * Discriminatory jokes and language. - * Posting sexually explicit or violent material. - * Posting (or threatening to post) other people’s personally identifying - information (“doxing”). - * Personal insults, especially those using racist or sexist terms. - * Unwelcome sexual attention. - * Advocating for, or encouraging, any of the above behavior. - * Repeated harassment of others. In general, if someone asks you to stop, then - stop. -* **When we disagree, try to understand why:** Disagreements, both social and - technical, happen all the time. It is important that we resolve disagreements - and differing views constructively. -* **Remember that we’re different.** The strength of our community comes from - its diversity, people from a wide range of backgrounds. Different people have - different perspectives on issues. Being unable to understand why someone holds - a viewpoint doesn’t mean that they’re wrong. Don’t forget that it is human to - err and blaming each other doesn’t get us anywhere. Instead, focus on helping - to resolve issues and learning from mistakes. - -This code is not exhaustive or complete. It serves to distill our common -understanding of a collaborative, shared environment, and goals. We expect it to -be followed in spirit as much as in the letter. - -## Diversity Statement - -We encourage everyone to participate and are committed to building a community -for all. Although we may not be able to satisfy everyone, we all agree that -everyone is equal. Whenever a participant has made a mistake, we expect them to -take responsibility for it. If someone has been harmed or offended, it is our -responsibility to listen carefully and respectfully, and do our best to right -the wrong. - -Although this list cannot be exhaustive, we explicitly honor diversity in age, -gender, gender identity or expression, culture, ethnicity, language, national -origin, political beliefs, profession, race, religion, sexual orientation, -socioeconomic status, and technical ability. We will not tolerate discrimination -based on any of the protected characteristics above, including participants with -disabilities. - -## Reporting Issues - -If you experience or witness unacceptable behavior—or have any other -concerns—please report it by contacting us via opensource@fb.com. All reports -will be handled with discretion. In your report please include: - -* Your contact information. -* Names (real, nicknames, or pseudonyms) of any individuals involved. If there - are additional witnesses, please include them as well. Your account of what - occurred, and if you believe the incident is ongoing. If there is a publicly - available record (e.g. a mailing list archive or a public IRC logger), please - include a link. -* Any additional information that may be helpful. - -After filing a report, a representative will contact you personally. If the -person who is harassing you is part of the response team, they will recuse -themselves from handling your incident. A representative will then review the -incident, follow up with any additional questions, and make a decision as to how -to respond. We will respect confidentiality requests for the purpose of -protecting victims of abuse. - -Anyone asked to stop unacceptable behavior is expected to comply immediately. If -an individual engages in unacceptable behavior, the representative may take any -action they deem appropriate, up to and including a permanent ban from our -community without warning. - -_This Code Of Conduct follows the -[template](http://todogroup.org/opencodeofconduct/) established by the -[TODO Group](http://todogroup.org/)._ +# Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to make participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, sex characteristics, gender identity and expression, +level of experience, education, socio-economic status, nationality, personal +appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +- Using welcoming and inclusive language +- Being respectful of differing viewpoints and experiences +- Gracefully accepting constructive criticism +- Focusing on what is best for the community +- Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +- The use of sexualized language or imagery and unwelcome sexual attention or + advances +- Trolling, insulting/derogatory comments, and personal or political attacks +- Public or private harassment +- Publishing others' private information, such as a physical or electronic + address, without explicit permission +- Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies within all project spaces, and it also applies when +an individual is representing the project or its community in public spaces. +Examples of representing a project or community include using an official +project e-mail address, posting via an official social media account, or acting +as an appointed representative at an online or offline event. Representation of +a project may be further defined and clarified by project maintainers. + +This Code of Conduct also applies outside the project spaces when there is a +reasonable belief that an individual's behavior may have a negative impact on +the project or its community. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at . All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see +https://www.contributor-covenant.org/faq