Skip to content

Commit

Permalink
Merge pull request #12 from rkingsbury/conduct
Browse files Browse the repository at this point in the history
0012 - Implement code of conduct provision from bylaws
  • Loading branch information
rkingsbury authored Jan 13, 2025
2 parents 96e7ade + 435ef53 commit f9aa97a
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
53 changes: 53 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# Contributor Code of Conduct

As contributors and maintainers of this project, and in the interest of
fostering an open and welcoming community, we pledge to respect all people who
contribute through reporting issues, posting feature requests, updating
documentation, submitting pull requests or patches, and other activities.

We are committed to making participation in this project a harassment-free
experience for everyone, regardless of level of experience, gender, gender
identity and expression, sexual orientation, disability, personal appearance,
body size, race, ethnicity, age, religion, or nationality.

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery
* Personal attacks
* Trolling or insulting/derogatory comments
* Public or private harassment
* Publishing other's private information, such as physical or electronic
addresses, without explicit permission
* Other unethical or unprofessional conduct

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

By adopting this Code of Conduct, project maintainers commit themselves to
fairly and consistently applying these principles to every aspect of managing
this project. Project maintainers who do not follow or enforce the Code of
Conduct may be permanently removed from the project team.

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community.

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting a project maintainer at [email protected]. All
complaints will be reviewed and investigated by a Materials Project staff member
and will result in a response that
is deemed necessary and appropriate to the circumstances.

Project maintainers and Materials Project staff members are obligated to
maintain confidentiality with regard to the reporter of an incident to the extent
possible by law and institutional policy. Community members should be aware that Materials Project
staff members are subject to Lawrence Berkeley National Laboratory's [harassment and discrimination policies](https://diversity.lbl.gov/harassment-discrimination-policies/),
which require that reports of sexual violence or harassment (as defined in the policy)
be reported to the institution.

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 1.3.0, available at https://www.contributor-covenant.org/version/1/3/0/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org
34 changes: 34 additions & 0 deletions decisions/0012-code-of-conduct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---

## Context and Problem Statement

As stated in the MPSF [bylaws](https://github.com/materialsproject/foundation/blob/main/bylaws.md), represented codes are expected to adopt and enforce the [Contributor Code of Conduct](https://www.contributor-covenant.org/). This PR serves to formally implement that provision.

## Considered Options

### Reference in README and include a copy in the repository

To put this into practice, MPSF codes will

1. Include a `CODE_OF_CONDUCT.md` in the root of the repository that contains the text of the Contributor Covenant, a copy of which is
included in the Foundation repository as part of this PR. Note that language has been added to the Contributor Covenant to clarify
that reports are reviewed by MP Staff members and that they are subject to LBNL's required reporting policies.
3. Include a contact email address ([email protected]) as the contact point in the above file.
4. Include a statement in the README file such as the following:
> New contributors are welcome, please see our Code of Conduct (with link to the .md file).

## Decision Outcome

Implementing the above steps was majority approved in Jan 2024 pending review by MP leadership, which was completed later in 2024.

## Implementation Plan

All codes have already implemented some form of Code of Conduct. Each is recommended to update the document to the version included in this PR,
and reference it in the README.

- [ ] `pymatgen`: Update README, Update `CODE_OF_CONDUCT.md` with this version.
- [ ] `atomate2`: Update README. Update `CODE_OF_CONDUCT.md` with this version.
- [ ] `emmet`: Update README. Update `CODE_OF_CONDUCT.md` with this version.
- [ ] `crystal-toolkit`: Update `CODE_OF_CONDUCT.md` with this version.
- [ ] `jobflow`: Update README. Update `CODE_OF_CONDUCT.md` with this version.
- [ ] `maggma`: Update README. Update `CODE_OF_CONDUCT.md` with this version.

0 comments on commit f9aa97a

Please sign in to comment.