Skip to content

Commit 7a6289e

Browse files
authored
Merge pull request IvorySQL#804 from OreoYang/master
update CODE_OF_CONDUCT.md and add CODE_OF_CONDUCT_CN.md
2 parents 683f602 + ca4771e commit 7a6289e

2 files changed

Lines changed: 142 additions & 82 deletions

File tree

CODE_OF_CONDUCT.md

Lines changed: 51 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -1,128 +1,97 @@
1-
# Contributor Covenant Code of Conduct
1+
# IvorySQL Code of Conduct
22

33
## Our Pledge
44

5-
We as members, contributors, and leaders pledge to make participation in our
6-
community a harassment-free experience for everyone, regardless of age, body
7-
size, visible or invisible disability, ethnicity, sex characteristics, gender
8-
identity and expression, level of experience, education, socio-economic status,
9-
nationality, personal appearance, race, religion, or sexual identity
10-
and orientation.
5+
We as contributors, maintainers, and leaders of the IvorySQL project pledge to make participation in our community a harassment-free and inclusive experience for everyone. We commit to fostering an open and welcoming environment for all participants, regardless of age, body size, visible or invisible disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
116

12-
We pledge to act and interact in ways that contribute to an open, welcoming,
13-
diverse, inclusive, and healthy community.
7+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
148

159
## Our Standards
1610

17-
Examples of behavior that contributes to a positive environment for our
18-
community include:
11+
Examples of behavior that contributes to creating a positive environment include:
1912

20-
* Demonstrating empathy and kindness toward other people
21-
* Being respectful of differing opinions, viewpoints, and experiences
22-
* Giving and gracefully accepting constructive feedback
23-
* Accepting responsibility and apologizing to those affected by our mistakes,
24-
and learning from the experience
25-
* Focusing on what is best not just for us as individuals, but for the
26-
overall community
13+
- Using welcoming and inclusive language
14+
- Respecting differing viewpoints and experiences
15+
- Gracefully accepting constructive criticism
16+
- Focusing on what is best for the community
17+
- Showing empathy towards other community members
18+
- Being supportive of others' growth and learning
19+
- Taking responsibility and apologizing to those affected by our mistakes
2720

2821
Examples of unacceptable behavior include:
2922

30-
* The use of sexualized language or imagery, and sexual attention or
31-
advances of any kind
32-
* Trolling, insulting or derogatory comments, and personal or political attacks
33-
* Public or private harassment
34-
* Publishing others' private information, such as a physical or email
35-
address, without their explicit permission
36-
* Other conduct which could reasonably be considered inappropriate in a
37-
professional setting
23+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
24+
- Trolling, insulting/derogatory comments, and personal or political attacks
25+
- Public or private harassment
26+
- Publishing others' private information, such as a physical or electronic address, without explicit permission
27+
- Other conduct which could reasonably be considered inappropriate in a professional setting
28+
- Inappropriate use of community platforms or tools
29+
- Advocating for or encouraging any of the above behaviors
3830

39-
## Enforcement Responsibilities
31+
## Our Responsibilities
4032

41-
Community leaders are responsible for clarifying and enforcing our standards of
42-
acceptable behavior and will take appropriate and fair corrective action in
43-
response to any behavior that they deem inappropriate, threatening, offensive,
44-
or harmful.
33+
Project maintainers are responsible for clarifying and enforcing the standards of acceptable behavior. They have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned with this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
4534

46-
Community leaders have the right and responsibility to remove, edit, or reject
47-
comments, commits, code, wiki edits, issues, and other contributions that are
48-
not aligned to this Code of Conduct, and will communicate reasons for moderation
49-
decisions when appropriate.
35+
Project maintainers also have the responsibility to:
36+
- Provide guidance and mentorship to new contributors
37+
- Ensure that the project remains accessible to contributors of all skill levels
38+
- Address conflicts in a fair and transparent manner
39+
- Lead by example in upholding these standards in all community venues
5040

5141
## Scope
5242

53-
This Code of Conduct applies within all community spaces, and also applies when
54-
an individual is officially representing the community in public spaces.
55-
Examples of representing our community include using an official e-mail address,
56-
posting via an official social media account, or acting as an appointed
57-
representative at an online or offline event.
43+
This Code of Conduct applies within all community spaces, including the project repository, discussions, issue trackers, community calls, and social media channels. It also applies when an individual is officially representing the project in public spaces. Examples of representing our project include using an official project email address, posting via an official social media account, or acting as an appointed representative at an event.
5844

5945
## Enforcement
6046

61-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62-
reported to the community leaders responsible for enforcement at
63-
coc@ivorysql.org.
64-
All complaints will be reviewed and investigated promptly and fairly.
47+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the project team at [coc@ivorysql.org]. All complaints will be reviewed and investigated promptly and fairly. The project team is obligated to maintain confidentiality with regard to the reporter of an incident.
6548

66-
All community leaders are obligated to respect the privacy and security of the
67-
reporter of any incident.
49+
Enforcement responsibilities are delegated to project leaders who will determine the consequences for any action they deem in violation of this Code of Conduct. If a community member engages in unacceptable behavior, the project leaders may take any action they deem appropriate, including a temporary ban or permanent expulsion from the community without warning.
50+
51+
## Reporting Process
52+
53+
1. Contact the project team through the designated email address
54+
2. Include a description of the incident, relevant links or screenshots, and any additional context that may be helpful
55+
3. The report will be acknowledged within 48 hours
56+
4. The team will investigate the incident and determine appropriate actions
57+
5. The reporter will receive a follow-up communication regarding the outcome
58+
59+
All community leaders are obligated to respect the privacy and security concerns of the reporter of any incident.
6860

6961
## Enforcement Guidelines
7062

71-
Community leaders will follow these Community Impact Guidelines in determining
72-
the consequences for any action they deem in violation of this Code of Conduct:
63+
Project maintainers will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
7364

7465
### 1. Correction
7566

76-
**Community Impact**: Use of inappropriate language or other behavior deemed
77-
unprofessional or unwelcome in the community.
67+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
7868

79-
**Consequence**: A private, written warning from community leaders, providing
80-
clarity around the nature of the violation and an explanation of why the
81-
behavior was inappropriate. A public apology may be requested.
69+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
8270

8371
### 2. Warning
8472

85-
**Community Impact**: A violation through a single incident or series
86-
of actions.
73+
**Community Impact**: A violation through a single incident or series of actions.
8774

88-
**Consequence**: A warning with consequences for continued behavior. No
89-
interaction with the people involved, including unsolicited interaction with
90-
those enforcing the Code of Conduct, for a specified period of time. This
91-
includes avoiding interactions in community spaces as well as external channels
92-
like social media. Violating these terms may lead to a temporary or
93-
permanent ban.
75+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
9476

9577
### 3. Temporary Ban
9678

97-
**Community Impact**: A serious violation of community standards, including
98-
sustained inappropriate behavior.
79+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
9980

100-
**Consequence**: A temporary ban from any sort of interaction or public
101-
communication with the community for a specified period of time. No public or
102-
private interaction with the people involved, including unsolicited interaction
103-
with those enforcing the Code of Conduct, is allowed during this period.
104-
Violating these terms may lead to a permanent ban.
81+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
10582

10683
### 4. Permanent Ban
10784

108-
**Community Impact**: Demonstrating a pattern of violation of community
109-
standards, including sustained inappropriate behavior, harassment of an
110-
individual, or aggression toward or disparagement of classes of individuals.
85+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
11186

112-
**Consequence**: A permanent ban from any sort of public interaction within
113-
the community.
87+
**Consequence**: A permanent ban from any sort of public interaction within the community.
11488

11589
## Attribution
11690

117-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118-
version 2.0, available at
119-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
91+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at [https://www.contributor-covenant.org/version/2/0/code_of_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html).
12092

121-
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122-
enforcement ladder](https://github.com/mozilla/diversity).
93+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
12394

124-
[homepage]: https://www.contributor-covenant.org
95+
## Questions
12596

126-
For answers to common questions about this code of conduct, see the FAQ at
127-
https://www.contributor-covenant.org/faq. Translations are available at
128-
https://www.contributor-covenant.org/translations.
97+
If you have questions about this Code of Conduct, please contact the IvorySQL team at coc@ivorysql.org.

CODE_OF_CONDUCT_CN.md

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# IvorySQL社区行为准则
2+
3+
## 贡献者承诺
4+
5+
作为IvorySQL项目的贡献者、维护者和领导者,为建设开放友好的环境,我们贡献者和维护者承诺:无论年龄、体型、视力差异、民族、性别认同与表征、经验水平、教育程度、社会地位、国籍、外貌、种族、宗教或性取向,所有人都应受到平等对待和免于骚扰。
6+
7+
## 我们的准则
8+
9+
有助于创造积极环境的行为包括但不限于:
10+
11+
- 措辞友好且包容
12+
- 尊重不同的观点和经验
13+
- 耐心接受有益批评
14+
- 关注对社区最有益的事情
15+
- 对其他成员友善相处
16+
- 支持他人的成长与学习
17+
- 为自己的错误承担责任并向受影响者道歉
18+
19+
参与者不应采取的行为包括但不限于:
20+
21+
- 使用与性相关的语言或图像、性骚扰
22+
- 恶意挑衅、侮辱性言论或人身攻击
23+
- 公开或私下的骚扰行为
24+
- 未经明确允许,公开他人隐私信息(如地址、联系方式)
25+
- 其他可被认定为违反职业操守的不当行为
26+
- 滥用社区平台或工具
27+
- 煽动或鼓励上述任何行为
28+
29+
## 我们的义务
30+
31+
社区维护者有权力和责任删除、编辑或拒绝与本行为准则不相符的评论、提交、代码、Wiki编辑、问题或其他贡献,并在适当时说明管理决策的理由。
32+
33+
社区维护者还有义务:
34+
35+
- 为新贡献者提供指导和支持
36+
- 确保项目对所有贡献者保持开放
37+
- 公平透明地解决冲突
38+
- 在社区以身作则遵守行为准则
39+
40+
## 适用范围
41+
42+
本行为准则适用于社区的所有空间,包括项目仓库、讨论区、问题追踪系统、社区会议及社交媒体。
43+
代表本项目或本社区的情形包括但不限于:使用项目的官方电子邮件、通过官方媒体账号发布消息、作为指定代表参与在线或线下活动等;同样适用本准则。
44+
45+
## 违规处理
46+
47+
辱骂、骚扰或其他不可接受的行为可通过coc@ivorysql.org向负责监督的社区维护团队报告。所有投诉都将得到及时和公平的审查和调查。所有社区维护者都有义务尊重任何事件报告者的隐私和安全。
48+
由社区负责人行使处置权,其将根据违规行为的严重性决定处罚结果,包括但不限于临时封禁或永久驱逐出社区(无需事先警告)。
49+
50+
## 举报流程
51+
52+
1. 通过指定邮箱联系项目团队
53+
2. 提供事件描述、相关链接/相关信息的截图
54+
3. 举报将在48小时内被确认
55+
4. 团队调查并确定处理措施
56+
5. 举报人将收到最终处理结果通知
57+
58+
所有社区负责人有义务保护举报人隐私与安全。
59+
60+
## 处理分级指南
61+
62+
项目维护者将根据以下社区影响指南,来判定违反准则的行为和处罚措施:
63+
64+
### 1. 纠正
65+
66+
**社区影响**:使用不当语言或不符合职业规范、不受欢迎的行为。
67+
**措施**:私下书面警告,说明违规性质及原因,或要求公开道歉。
68+
69+
### 2. 警告
70+
71+
**社区影响**:单次或多次违规行为
72+
**措施**:给予书面警告,并明确若继续违规将面临进一步后果。在指定期限内,​​禁止与涉事方互动​​(包括未经允许与行为准则执行者接触),且需避免在社区空间(如论坛、会议)及外部渠道(如社交媒体)进行任何形式的互动。若违反此限制,可能导致临时或永久封禁。
73+
74+
### 3. 临时封禁
75+
76+
**社区影响**:严重违反社区准则,包括持续不当行为。
77+
**措施**:在特定时间段内禁止参与社区进行任何形式的互动或公开交流。在此期间,不得与相关人员进行任何公开或私下的互动,包括主动与执行行为准则的人员进行交流。违反这些条款可能会导致永久封禁。
78+
79+
### 4. 永久封禁
80+
81+
**社区影响**:屡次违规,包括持续的不当行为、对个人的骚扰,或对某些群体的攻击或贬低。
82+
**措施**:永久禁止参与社区内所有公开互动。
83+
84+
## 致谢
85+
86+
本行为准则改编自[贡献者公约](https://www.contributor-covenant.org), v2.0全文[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html](https://www.contributor-covenant.org/version/2/0/code_of_conduct.html)
87+
社区影响指南参考自[Mozilla 的行为准则执行框架](https://github.com/mozilla/diversity)
88+
89+
## 疑问咨询
90+
91+
若对本准则有疑问,请联系 IvorySQL 团队:coc@ivorysql.org

0 commit comments

Comments
 (0)