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