blob: 3fe8a1076e8871699f996ef713f425fc7a5602ea [file] [log] [blame]
Chandler Carruth36293432016-06-30 20:27:54 +00001==============================
2LLVM Community Code of Conduct
3==============================
4
5.. note::
6
7 This document is currently a **DRAFT** document while it is being discussed
8 by the community.
9
10The LLVM community has always worked to be a welcoming and respectful
11community, and we want to ensure that doesn't change as we grow and evolve. To
12that end, we have a few ground rules that we ask people to adhere to:
13
14* `be friendly and patient`_,
15* `be welcoming`_,
16* `be considerate`_,
17* `be respectful`_,
18* `be careful in the words that you choose and be kind to others`_, and
19* `when we disagree, try to understand why`_.
20
Chandler Carruthc2829152016-06-30 23:04:20 +000021This isn't an exhaustive list of things that you can't do. Rather, take it in
22the spirit in which it's intended - a guide to make it easier to communicate
Chandler Carruth36293432016-06-30 20:27:54 +000023and participate in the community.
24
25This code of conduct applies to all spaces managed by the LLVM project or The
26LLVM Foundation. This includes IRC channels, mailing lists, bug trackers, LLVM
27events such as the developer meetings and socials, and any other forums created
28by the project that the community uses for communication. It applies to all of
29your communication and conduct in these spaces, including emails, chats, things
30you say, slides, videos, posters, signs, or even t-shirts you display in these
31spaces. In addition, violations of this code outside these spaces may, in rare
32cases, affect a person's ability to participate within them.
33
34If you believe someone is violating the code of conduct, we ask that you report
35it by emailing conduct@llvm.org. For more details please see our
36:doc:`Reporting Guide <ReportingGuide>`.
37
38.. _be friendly and patient:
39
40* **Be friendly and patient.**
41
42.. _be welcoming:
43
44* **Be welcoming.** We strive to be a community that welcomes and supports
45 people of all backgrounds and identities. This includes, but is not limited
46 to members of any race, ethnicity, culture, national origin, colour,
47 immigration status, social and economic class, educational level, sex, sexual
48 orientation, gender identity and expression, age, size, family status,
49 political belief, religion or lack thereof, and mental and physical ability.
50
51.. _be considerate:
52
53* **Be considerate.** Your work will be used by other people, and you in turn
54 will depend on the work of others. Any decision you take will affect users
55 and colleagues, and you should take those consequences into account. Remember
56 that we're a world-wide community, so you might not be communicating in
57 someone else's primary language.
58
59.. _be respectful:
60
61* **Be respectful.** Not all of us will agree all the time, but disagreement is
62 no excuse for poor behavior and poor manners. We might all experience some
63 frustration now and then, but we cannot allow that frustration to turn into
Chandler Carruthc2829152016-06-30 23:04:20 +000064 a personal attack. It's important to remember that a community where people
Chandler Carruth36293432016-06-30 20:27:54 +000065 feel uncomfortable or threatened is not a productive one. Members of the LLVM
66 community should be respectful when dealing with other members as well as
67 with people outside the LLVM community.
68
69.. _be careful in the words that you choose and be kind to others:
70
71* **Be careful in the words that you choose and be kind to others.** Do not
72 insult or put down other participants. Harassment and other exclusionary
73 behavior aren't acceptable. This includes, but is not limited to:
74
75 * Violent threats or language directed against another person.
76 * Discriminatory jokes and language.
77 * Posting sexually explicit or violent material.
78 * Posting (or threatening to post) other people's personally identifying
79 information ("doxing").
80 * Personal insults, especially those using racist or sexist terms.
81 * Unwelcome sexual attention.
82 * Advocating for, or encouraging, any of the above behavior.
83
84 In general, if someone asks you to stop, then stop. Persisting in such
85 behavior after being asked to stop is considered harassment.
86
87.. _when we disagree, try to understand why:
88
89* **When we disagree, try to understand why.** Disagreements, both social and
90 technical, happen all the time and LLVM is no exception. It is important that
91 we resolve disagreements and differing views constructively. Remember that
Chandler Carruthc2829152016-06-30 23:04:20 +000092 we're different. The strength of LLVM comes from its varied community, people
Chandler Carruth36293432016-06-30 20:27:54 +000093 from a wide range of backgrounds. Different people have different
94 perspectives on issues. Being unable to understand why someone holds
Chandler Carruthc2829152016-06-30 23:04:20 +000095 a viewpoint doesn't mean that they're wrong. Don't forget that it is human to
96 err and blaming each other doesn't get us anywhere. Instead, focus on helping
Chandler Carruth36293432016-06-30 20:27:54 +000097 to resolve issues and learning from mistakes.
98
99Questions?
100==========
101
102If you have questions, please feel free to contact the LLVM Foundation Code of
103Conduct Advisory Committee by emailing conduct@llvm.org.
104
105
106(This text is based on the `Django Project`_ Code of Conduct, which is in turn
107based on wording from the `Speak Up! project`_.)
108
109.. _Django Project: https://www.djangoproject.com/conduct/
110.. _Speak Up! project: http://speakup.io/coc.html
111