Skip to content

Commit 5cdf230

Browse files
peffgitster
authored andcommitted
add a Code of Conduct document
We've never had a formally written Code of Conduct document. Though it has been discussed off and on over the years, for the most part the behavior on the mailing list has been good enough that nobody felt the need to push one forward. However, even if there aren't specific problems now, it's a good idea to have a document: - it puts everybody on the same page with respect to expectations. This might avoid poor behavior, but also makes it easier to handle it if it does happen. - it publicly advertises that good conduct is important to us and will be enforced, which may make some people more comfortable with joining our community - it may be a good time to cement our expectations when things are quiet, since it gives everybody some distance rather than focusing on a current contentious issue This patch adapts the Contributor Covenant Code of Conduct. As opposed to writing our own from scratch, this uses common and well-accepted language, and strikes a good balance between illustrating expectations and avoiding a laundry list of behaviors. It's also the same document used by the Git for Windows project. The text is taken mostly verbatim from: https://www.contributor-covenant.org/version/1/4/code-of-conduct.html I also stole a very nice introductory paragraph from the Git for Windows version of the file. There are a few subtle points, though: - the document refers to "the project maintainers". For the code, we generally only consider there to be one maintainer: Junio C Hamano. But for dealing with community issues, it makes sense to involve more people to spread the responsibility. I've listed the project committee address of [email protected] as the contact point. - the document mentions banning from the community, both in the intro paragraph and in "Our Responsibilities". The exact mechanism here is left vague. I can imagine it might start with social enforcement (not accepting patches, ignoring emails) and could escalate to technical measures if necessary (asking vger admins to block an address). It probably make sense _not_ to get too specific at this point, and deal with specifics as they come up. Signed-off-by: Jeff King <[email protected]> Acked-by: CB Bailey <[email protected]> Acked-by: Christian Couder <[email protected]> Acked-by: Emily Shaffer <[email protected]> Acked-by: Garima Singh <[email protected]> Acked-by: Junio C Hamano <[email protected]> Acked-by: Johannes Schindelin <[email protected]> Acked-by: Jonathan Tan <[email protected]> Acked-by: Jonathan Nieder <[email protected]> Acked-by: Taylor Blau <[email protected]> Acked-by: Elijah Newren <[email protected]> Acked-by: Phillip Wood <[email protected]> Acked-by: brian m. carlson <[email protected]> Acked-by: Derrick Stolee <[email protected]> Acked-by: Thomas Gummerer <[email protected]> Acked-by: William Baker <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 5fa0f52 commit 5cdf230

File tree

1 file changed

+85
-0
lines changed

1 file changed

+85
-0
lines changed

CODE_OF_CONDUCT.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# Git Code of Conduct
2+
3+
This code of conduct outlines our expectations for participants within
4+
the Git community, as well as steps for reporting unacceptable behavior.
5+
We are committed to providing a welcoming and inspiring community for
6+
all and expect our code of conduct to be honored. Anyone who violates
7+
this code of conduct may be banned from the community.
8+
9+
## Our Pledge
10+
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.
18+
19+
## Our Standards
20+
21+
Examples of behavior that contributes to creating a positive environment
22+
include:
23+
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
29+
30+
Examples of unacceptable behavior by participants include:
31+
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
35+
* Public or private harassment
36+
* Publishing others' private information, such as a physical or electronic
37+
address, without explicit permission
38+
* Other conduct which could reasonably be considered inappropriate in a
39+
professional setting
40+
41+
## Our Responsibilities
42+
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.
46+
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+
53+
## Scope
54+
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.
62+
63+
## Enforcement
64+
65+
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+
## Attribution
78+
79+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
80+
version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
81+
82+
[homepage]: https://www.contributor-covenant.org
83+
84+
For answers to common questions about this code of conduct, see
85+
https://www.contributor-covenant.org/faq

0 commit comments

Comments
 (0)