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