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