xref: /petsc/CODE_OF_CONDUCT.md (revision d5b43468fb8780a8feea140ccd6fa3e6a50411cc)
1# PETSc Code of Conduct
2
3## Our Pledge
4
5In the interest of fostering an open and welcoming environment, we as
6contributors and maintainers pledge to making participation in our project and
7our community a harassment-free experience for everyone, regardless of age, body
8size, disability, ethnicity, sex characteristics, gender identity and expression,
9level of experience, education, socio-economic status, nationality, personal
10appearance, race, religion, or sexual identity and orientation.
11
12## Our Standards
13
14Examples of behavior that contributes to creating a positive environment
15include:
16
17* Using welcoming and inclusive language
18* Being respectful of differing viewpoints and experiences
19* Gracefully accepting constructive criticism
20* Focusing on what is best for the community
21* Showing empathy towards other community members
22
23Examples of unacceptable behavior by participants include:
24
25* The use of sexualized language or imagery and unwelcome sexual attention or
26  advances
27* Trolling, insulting/derogatory comments, and personal or political attacks
28* Public or private harassment
29* Publishing others' private information, such as a physical or electronic
30  address, without explicit permission
31* Other conduct which could reasonably be considered inappropriate in a
32  professional setting
33
34## Our Responsibilities
35
36Project maintainers are responsible for clarifying the standards of acceptable
37behavior and are expected to take appropriate and fair corrective action in
38response to any instances of unacceptable behavior.
39
40Project maintainers have the right and responsibility to remove, edit, or
41reject comments, commits, code, wiki edits, issues, and other contributions
42that are not aligned to this Code of Conduct, or to ban temporarily or
43permanently any contributor for other behaviors that they deem inappropriate,
44threatening, offensive, or harmful.
45
46## Scope
47
48This Code of Conduct applies both within project spaces and in public spaces
49when an individual is representing the project or its community. Examples of
50representing a project or community include using an official project e-mail
51address, posting via an official social media account, or acting as an appointed
52representative at an online or offline event. Representation of a project may be
53further defined and clarified by project maintainers.
54
55## Enforcement
56
57Instances of abusive, harassing, or otherwise unacceptable behavior may be
58reported by contacting the project team as a group
59[petsc-maint](mailto:petsc-maint@mcs.anl.gov)
60or confidentially by contacting
61[Jed Brown](mailto:jed@jedbrown.org),
62[Karl Rupp](mailto:me@karlrupp.net),
63and/or [Hong Zhang](mailto:hzhang@mcs.anl.gov).
64All complaints will be reviewed and investigated and will result in a
65response that is deemed necessary and appropriate to the
66circumstances. The project team is obligated to maintain
67confidentiality with regard to the reporter of an incident.  Further
68details of specific enforcement policies may be posted separately.
69
70Project maintainers who do not follow or enforce the Code of Conduct in good
71faith may face temporary or permanent repercussions as determined by other
72members of the project's leadership.
73
74## Attribution
75
76This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
77available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
78
79[homepage]: https://www.contributor-covenant.org
80
81For answers to common questions about this code of conduct, see
82https://www.contributor-covenant.org/faq
83
84