xref: /spdk/CODE_OF_CONDUCT.md (revision e2085b84c915272aef791a117918384df0388c62)
1*e2085b84Spaul luse# Contributor Covenant Code of Conduct
2*e2085b84Spaul luse
3*e2085b84Spaul luse## Our Pledge
4*e2085b84Spaul luse
5*e2085b84Spaul luseWe as members, contributors, and leaders pledge to make participation in our
6*e2085b84Spaul lusecommunity a harassment-free experience for everyone, regardless of age, body
7*e2085b84Spaul lusesize, visible or invisible disability, ethnicity, sex characteristics, gender
8*e2085b84Spaul luseidentity and expression, level of experience, education, socio-economic status,
9*e2085b84Spaul lusenationality, personal appearance, race, caste, color, religion, or sexual
10*e2085b84Spaul luseidentity and orientation.
11*e2085b84Spaul luse
12*e2085b84Spaul luseWe pledge to act and interact in ways that contribute to an open, welcoming,
13*e2085b84Spaul lusediverse, inclusive, and healthy community.
14*e2085b84Spaul luse
15*e2085b84Spaul luse## Our Standards
16*e2085b84Spaul luse
17*e2085b84Spaul luseExamples of behavior that contributes to a positive environment for our
18*e2085b84Spaul lusecommunity include:
19*e2085b84Spaul luse
20*e2085b84Spaul luse* Demonstrating empathy and kindness toward other people
21*e2085b84Spaul luse* Being respectful of differing opinions, viewpoints, and experiences
22*e2085b84Spaul luse* Giving and gracefully accepting constructive feedback
23*e2085b84Spaul luse* Accepting responsibility and apologizing to those affected by our mistakes,
24*e2085b84Spaul luse  and learning from the experience
25*e2085b84Spaul luse* Focusing on what is best not just for us as individuals, but for the overall
26*e2085b84Spaul luse  community
27*e2085b84Spaul luse
28*e2085b84Spaul luseExamples of unacceptable behavior include:
29*e2085b84Spaul luse
30*e2085b84Spaul luse* The use of sexualized language or imagery, and sexual attention or advances of
31*e2085b84Spaul luse  any kind
32*e2085b84Spaul luse* Trolling, insulting or derogatory comments, and personal or political attacks
33*e2085b84Spaul luse* Public or private harassment
34*e2085b84Spaul luse* Publishing others' private information, such as a physical or email address,
35*e2085b84Spaul luse  without their explicit permission
36*e2085b84Spaul luse* Other conduct which could reasonably be considered inappropriate in a
37*e2085b84Spaul luse  professional setting
38*e2085b84Spaul luse
39*e2085b84Spaul luse## Enforcement Responsibilities
40*e2085b84Spaul luse
41*e2085b84Spaul luseSPDK core [maintainers](https://spdk.io/development/) are responsible for clarifying and enforcing our standards of
42*e2085b84Spaul luseacceptable behavior and will take appropriate and fair corrective action in
43*e2085b84Spaul luseresponse to any behavior that they deem inappropriate, threatening, offensive,
44*e2085b84Spaul luseor harmful.
45*e2085b84Spaul luse
46*e2085b84Spaul luseSPDK core maintainers have the right and responsibility to remove, edit, or reject
47*e2085b84Spaul lusecomments, commits, code, wiki edits, issues, and other contributions that are
48*e2085b84Spaul lusenot aligned to this Code of Conduct, and will communicate reasons for moderation
49*e2085b84Spaul lusedecisions when appropriate.
50*e2085b84Spaul luse
51*e2085b84Spaul luse## Scope
52*e2085b84Spaul luse
53*e2085b84Spaul luseThis Code of Conduct applies within all community spaces, and also applies when
54*e2085b84Spaul lusean individual is officially representing the community in public spaces.
55*e2085b84Spaul luseExamples of representing our community include using an official e-mail address,
56*e2085b84Spaul luseposting via an official social media account, or acting as an appointed
57*e2085b84Spaul luserepresentative at an online or offline event.
58*e2085b84Spaul luse
59*e2085b84Spaul luse## Enforcement
60*e2085b84Spaul luse
61*e2085b84Spaul luseInstances of abusive, harassing, or otherwise unacceptable behavior may be
62*e2085b84Spaul lusereported privately to any of the SPDK core maintainers. All complaints will be
63*e2085b84Spaul lusereviewed and investigated promptly and fairly.
64*e2085b84Spaul luse
65*e2085b84Spaul luseAll SPDK core maintainers are obligated to respect the privacy and security of the
66*e2085b84Spaul lusereporter of any incident.
67*e2085b84Spaul luse
68*e2085b84Spaul luse## Enforcement Guidelines
69*e2085b84Spaul luse
70*e2085b84Spaul luseSPDK core maintainers will follow these Community Impact Guidelines in determining
71*e2085b84Spaul lusethe consequences for any action they deem in violation of this Code of Conduct:
72*e2085b84Spaul luse
73*e2085b84Spaul luse### 1. Correction
74*e2085b84Spaul luse
75*e2085b84Spaul luse**Community Impact**: Use of inappropriate language or other behavior deemed
76*e2085b84Spaul luseunprofessional or unwelcome in the community.
77*e2085b84Spaul luse
78*e2085b84Spaul luse**Consequence**: A private, written warning from SPDK core maintainers, providing
79*e2085b84Spaul luseclarity around the nature of the violation and an explanation of why the
80*e2085b84Spaul lusebehavior was inappropriate. A public apology may be requested.
81*e2085b84Spaul luse
82*e2085b84Spaul luse### 2. Warning
83*e2085b84Spaul luse
84*e2085b84Spaul luse**Community Impact**: A violation through a single incident or series of
85*e2085b84Spaul luseactions.
86*e2085b84Spaul luse
87*e2085b84Spaul luse**Consequence**: A warning with consequences for continued behavior. No
88*e2085b84Spaul luseinteraction with the people involved, including unsolicited interaction with
89*e2085b84Spaul lusethose enforcing the Code of Conduct, for a specified period of time. This
90*e2085b84Spaul luseincludes avoiding interactions in community spaces as well as external channels
91*e2085b84Spaul luselike social media. Violating these terms may lead to a temporary or permanent
92*e2085b84Spaul luseban.
93*e2085b84Spaul luse
94*e2085b84Spaul luse### 3. Temporary Ban
95*e2085b84Spaul luse
96*e2085b84Spaul luse**Community Impact**: A serious violation of community standards, including
97*e2085b84Spaul lusesustained inappropriate behavior.
98*e2085b84Spaul luse
99*e2085b84Spaul luse**Consequence**: A temporary ban from any sort of interaction or public
100*e2085b84Spaul lusecommunication with the community for a specified period of time. No public or
101*e2085b84Spaul luseprivate interaction with the people involved, including unsolicited interaction
102*e2085b84Spaul lusewith those enforcing the Code of Conduct, is allowed during this period.
103*e2085b84Spaul luseViolating these terms may lead to a permanent ban.
104*e2085b84Spaul luse
105*e2085b84Spaul luse### 4. Permanent Ban
106*e2085b84Spaul luse
107*e2085b84Spaul luse**Community Impact**: Demonstrating a pattern of violation of community
108*e2085b84Spaul lusestandards, including sustained inappropriate behavior, harassment of an
109*e2085b84Spaul luseindividual, or aggression toward or disparagement of classes of individuals.
110*e2085b84Spaul luse
111*e2085b84Spaul luse**Consequence**: A permanent ban from any sort of public interaction within the
112*e2085b84Spaul lusecommunity.
113*e2085b84Spaul luse
114*e2085b84Spaul luse## Attribution
115*e2085b84Spaul luse
116*e2085b84Spaul luseThis Code of Conduct is adapted from the [Contributor Covenant][homepage],
117*e2085b84Spaul luseversion 2.1, available at
118*e2085b84Spaul luse[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
119*e2085b84Spaul luse
120*e2085b84Spaul luseCommunity Impact Guidelines were inspired by
121*e2085b84Spaul luse[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
122*e2085b84Spaul luse
123*e2085b84Spaul luseFor answers to common questions about this code of conduct, see the FAQ at
124*e2085b84Spaul luse[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
125*e2085b84Spaul luse[https://www.contributor-covenant.org/translations][translations].
126*e2085b84Spaul luse
127*e2085b84Spaul luse[homepage]: https://www.contributor-covenant.org
128*e2085b84Spaul luse[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
129*e2085b84Spaul luse[Mozilla CoC]: https://github.com/mozilla/diversity
130*e2085b84Spaul luse[FAQ]: https://www.contributor-covenant.org/faq
131