Skip to content

Commit 381dac2

Browse files
committed
Merge branch 'ab/coc-update-to-2.0'
Update the Code-of-conduct to version 2.0 from the upstream (we've been using version 1.4). * ab/coc-update-to-2.0: CoC: update to version 2.0 + local changes CoC: explicitly take any whitespace breakage CoC: Update word-wrapping to match upstream
2 parents 294e949 + 0d28d3c commit 381dac2

File tree

2 files changed

+104
-51
lines changed

2 files changed

+104
-51
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*.pm eol=lf diff=perl
77
*.py eol=lf diff=python
88
*.bat eol=crlf
9+
CODE_OF_CONDUCT.md -whitespace
910
/Documentation/**/*.txt eol=lf
1011
/command-list.txt eol=lf
1112
/GIT-VERSION-GEN eol=lf

CODE_OF_CONDUCT.md

Lines changed: 103 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -8,86 +8,138 @@ this code of conduct may be banned from the community.
88

99
## Our Pledge
1010

11-
In the interest of fostering an open and welcoming environment, we as
12-
contributors and maintainers pledge to make participation in our project and
13-
our community a harassment-free experience for everyone, regardless of age,
14-
body size, disability, ethnicity, sex characteristics, gender identity and
15-
expression, level of experience, education, socio-economic status,
16-
nationality, personal appearance, race, religion, or sexual identity and
17-
orientation.
11+
We as members, contributors, and leaders pledge to make participation in our
12+
community a harassment-free experience for everyone, regardless of age, body
13+
size, visible or invisible disability, ethnicity, sex characteristics, gender
14+
identity and expression, level of experience, education, socio-economic status,
15+
nationality, personal appearance, race, religion, or sexual identity
16+
and orientation.
17+
18+
We pledge to act and interact in ways that contribute to an open, welcoming,
19+
diverse, inclusive, and healthy community.
1820

1921
## Our Standards
2022

21-
Examples of behavior that contributes to creating a positive environment
22-
include:
23+
Examples of behavior that contributes to a positive environment for our
24+
community include:
2325

24-
* Using welcoming and inclusive language
25-
* Being respectful of differing viewpoints and experiences
26-
* Gracefully accepting constructive criticism
27-
* Focusing on what is best for the community
28-
* Showing empathy towards other community members
26+
* Demonstrating empathy and kindness toward other people
27+
* Being respectful of differing opinions, viewpoints, and experiences
28+
* Giving and gracefully accepting constructive feedback
29+
* Accepting responsibility and apologizing to those affected by our mistakes,
30+
and learning from the experience
31+
* Focusing on what is best not just for us as individuals, but for the
32+
overall community
2933

30-
Examples of unacceptable behavior by participants include:
34+
Examples of unacceptable behavior include:
3135

32-
* The use of sexualized language or imagery and unwelcome sexual attention or
33-
advances
34-
* Trolling, insulting/derogatory comments, and personal or political attacks
36+
* The use of sexualized language or imagery, and sexual attention or
37+
advances of any kind
38+
* Trolling, insulting or derogatory comments, and personal or political attacks
3539
* Public or private harassment
36-
* Publishing others' private information, such as a physical or electronic
37-
address, without explicit permission
40+
* Publishing others' private information, such as a physical or email
41+
address, without their explicit permission
3842
* Other conduct which could reasonably be considered inappropriate in a
3943
professional setting
4044

41-
## Our Responsibilities
45+
## Enforcement Responsibilities
4246

43-
Project maintainers are responsible for clarifying the standards of acceptable
44-
behavior and are expected to take appropriate and fair corrective action in
45-
response to any instances of unacceptable behavior.
47+
Community leaders are responsible for clarifying and enforcing our standards of
48+
acceptable behavior and will take appropriate and fair corrective action in
49+
response to any behavior that they deem inappropriate, threatening, offensive,
50+
or harmful.
4651

47-
Project maintainers have the right and responsibility to remove, edit, or
48-
reject comments, commits, code, wiki edits, issues, and other contributions
49-
that are not aligned to this Code of Conduct, or to ban temporarily or
50-
permanently any contributor for other behaviors that they deem inappropriate,
51-
threatening, offensive, or harmful.
52+
Community leaders have the right and responsibility to remove, edit, or reject
53+
comments, commits, code, wiki edits, issues, and other contributions that are
54+
not aligned to this Code of Conduct, and will communicate reasons for moderation
55+
decisions when appropriate.
5256

5357
## Scope
5458

55-
This Code of Conduct applies within all project spaces, and it also applies
56-
when an individual is representing the project or its community in public
57-
spaces. Examples of representing a project or community include using an
58-
official project e-mail address, posting via an official social media account,
59-
or acting as an appointed representative at an online or offline event.
60-
Representation of a project may be further defined and clarified by project
61-
maintainers.
59+
This Code of Conduct applies within all community spaces, and also applies when
60+
an individual is officially representing the community in public spaces.
61+
Examples of representing our community include using an official e-mail address,
62+
posting via an official social media account, or acting as an appointed
63+
representative at an online or offline event.
6264

6365
## Enforcement
6466

6567
Instances of abusive, harassing, or otherwise unacceptable behavior may be
66-
reported by contacting the project team at [email protected]. All
67-
complaints will be reviewed and investigated and will result in a response
68-
that is deemed necessary and appropriate to the circumstances. The project
69-
team is obligated to maintain confidentiality with regard to the reporter of
70-
an incident. Further details of specific enforcement policies may be posted
71-
separately.
72-
73-
Project maintainers who do not follow or enforce the Code of Conduct in good
74-
faith may face temporary or permanent repercussions as determined by other
75-
members of the project's leadership.
76-
77-
The project leadership team can be contacted by email as a whole at
68+
reported to the community leaders responsible for enforcement at
7869
[email protected], or individually:
7970

8071
- Ævar Arnfjörð Bjarmason <[email protected]>
8172
- Christian Couder <[email protected]>
8273
- Jeff King <[email protected]>
8374
- Junio C Hamano <[email protected]>
8475

76+
All complaints will be reviewed and investigated promptly and fairly.
77+
78+
All community leaders are obligated to respect the privacy and security of the
79+
reporter of any incident.
80+
81+
## Enforcement Guidelines
82+
83+
Community leaders will follow these Community Impact Guidelines in determining
84+
the consequences for any action they deem in violation of this Code of Conduct:
85+
86+
### 1. Correction
87+
88+
**Community Impact**: Use of inappropriate language or other behavior deemed
89+
unprofessional or unwelcome in the community.
90+
91+
**Consequence**: A private, written warning from community leaders, providing
92+
clarity around the nature of the violation and an explanation of why the
93+
behavior was inappropriate. A public apology may be requested.
94+
95+
### 2. Warning
96+
97+
**Community Impact**: A violation through a single incident or series
98+
of actions.
99+
100+
**Consequence**: A warning with consequences for continued behavior. No
101+
interaction with the people involved, including unsolicited interaction with
102+
those enforcing the Code of Conduct, for a specified period of time. This
103+
includes avoiding interactions in community spaces as well as external channels
104+
like social media. Violating these terms may lead to a temporary or
105+
permanent ban.
106+
107+
### 3. Temporary Ban
108+
109+
**Community Impact**: A serious violation of community standards, including
110+
sustained inappropriate behavior.
111+
112+
**Consequence**: A temporary ban from any sort of interaction or public
113+
communication with the community for a specified period of time. No public or
114+
private interaction with the people involved, including unsolicited interaction
115+
with those enforcing the Code of Conduct, is allowed during this period.
116+
Violating these terms may lead to a permanent ban.
117+
118+
### 4. Permanent Ban
119+
120+
**Community Impact**: Demonstrating a pattern of violation of community
121+
standards, including sustained inappropriate behavior, harassment of an
122+
individual, or aggression toward or disparagement of classes of individuals.
123+
124+
**Consequence**: A permanent ban from any sort of public interaction within
125+
the community.
126+
85127
## Attribution
86128

87129
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
88-
version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
130+
version 2.0, available at
131+
[https://www.contributor-covenant.org/version/2/0/code_of_conduct.html][v2.0].
132+
133+
Community Impact Guidelines were inspired by
134+
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
135+
136+
For answers to common questions about this code of conduct, see the FAQ at
137+
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available
138+
at [https://www.contributor-covenant.org/translations][translations].
89139

90140
[homepage]: https://www.contributor-covenant.org
141+
[v2.0]: https://www.contributor-covenant.org/version/2/0/code_of_conduct.html
142+
[Mozilla CoC]: https://github.com/mozilla/diversity
143+
[FAQ]: https://www.contributor-covenant.org/faq
144+
[translations]: https://www.contributor-covenant.org/translations
91145

92-
For answers to common questions about this code of conduct, see
93-
https://www.contributor-covenant.org/faq

0 commit comments

Comments
 (0)