Skip to content

Commit 7159f18

Browse files
Merge pull request #42 from SchlossLab/community
Add community docs
2 parents 20323a3 + c40fbde commit 7159f18

File tree

5 files changed

+223
-7
lines changed

5 files changed

+223
-7
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
# Contributor Covenant Code of Conduct
2+
3+
This document was adapted from the [Tidyverse Code of Conduct](https://tidyverse.tidyverse.org/CODE_OF_CONDUCT.html).
4+
5+
## Our Pledge
6+
7+
We as members, contributors, and leaders pledge to make participation in our
8+
community a harassment-free experience for everyone, regardless of age, body
9+
size, visible or invisible disability, ethnicity, sex characteristics, gender
10+
identity and expression, level of experience, education, socio-economic status,
11+
nationality, personal appearance, race, religion, or sexual identity and
12+
orientation.
13+
14+
We pledge to act and interact in ways that contribute to an open, welcoming,
15+
diverse, inclusive, and healthy community.
16+
17+
## Our Standards
18+
19+
Examples of behavior that contributes to a positive environment for our
20+
community include:
21+
22+
* Demonstrating empathy and kindness toward other people
23+
* Being respectful of differing opinions, viewpoints, and experiences
24+
* Giving and gracefully accepting constructive feedback
25+
* Accepting responsibility and apologizing to those affected by our mistakes,
26+
and learning from the experience
27+
* Focusing on what is best not just for us as individuals, but for the overall
28+
community
29+
30+
Examples of unacceptable behavior include:
31+
32+
* The use of sexualized language or imagery, and sexual attention or
33+
advances of any kind
34+
* Trolling, insulting or derogatory comments, and personal or political attacks
35+
* Public or private harassment
36+
* Publishing others' private information, such as a physical or email
37+
address, without their explicit permission
38+
* Other conduct which could reasonably be considered inappropriate in a
39+
professional setting
40+
41+
## Enforcement Responsibilities
42+
43+
Community leaders are responsible for clarifying and enforcing our standards
44+
of acceptable behavior and will take appropriate and fair corrective action in
45+
response to any behavior that they deem inappropriate, threatening, offensive,
46+
or harmful.
47+
48+
Community leaders have the right and responsibility to remove, edit, or reject
49+
comments, commits, code, wiki edits, issues, and other contributions that are
50+
not aligned to this Code of Conduct, and will communicate reasons for moderation
51+
decisions when appropriate.
52+
53+
## Scope
54+
55+
This Code of Conduct applies within all community spaces, and also applies
56+
when an individual is officially representing the community in public spaces.
57+
Examples of representing our community include using an official e-mail
58+
address, posting via an official social media account, or acting as an appointed
59+
representative at an online or offline event.
60+
61+
## Enforcement
62+
63+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
64+
reported to the community leaders responsible for enforcement
65+
([Pat Schloss](mailto:pschloss@umich.edu)).
66+
All complaints will be reviewed and investigated promptly and fairly.
67+
68+
All community leaders are obligated to respect the privacy and security of the
69+
reporter of any incident.
70+
71+
## Enforcement Guidelines
72+
73+
Community leaders will follow these Community Impact Guidelines in determining
74+
the consequences for any action they deem in violation of this Code of Conduct:
75+
76+
### 1. Correction
77+
78+
**Community Impact**: Use of inappropriate language or other behavior deemed
79+
unprofessional or unwelcome in the community.
80+
81+
**Consequence**: A private, written warning from community leaders, providing
82+
clarity around the nature of the violation and an explanation of why the
83+
behavior was inappropriate. A public apology may be requested.
84+
85+
### 2. Warning
86+
87+
**Community Impact**: A violation through a single incident or series of
88+
actions.
89+
90+
**Consequence**: A warning with consequences for continued behavior. No
91+
interaction with the people involved, including unsolicited interaction with
92+
those enforcing the Code of Conduct, for a specified period of time. This
93+
includes avoiding interactions in community spaces as well as external channels
94+
like social media. Violating these terms may lead to a temporary or permanent
95+
ban.
96+
97+
### 3. Temporary Ban
98+
99+
**Community Impact**: A serious violation of community standards, including
100+
sustained inappropriate behavior.
101+
102+
**Consequence**: A temporary ban from any sort of interaction or public
103+
communication with the community for a specified period of time. No public or
104+
private interaction with the people involved, including unsolicited interaction
105+
with those enforcing the Code of Conduct, is allowed during this period.
106+
Violating these terms may lead to a permanent ban.
107+
108+
### 4. Permanent Ban
109+
110+
**Community Impact**: Demonstrating a pattern of violation of community
111+
standards, including sustained inappropriate behavior, harassment of an
112+
individual, or aggression toward or disparagement of classes of individuals.
113+
114+
**Consequence**: A permanent ban from any sort of public interaction within the
115+
community.
116+
117+
## Attribution
118+
119+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
120+
version 2.0,
121+
available at https://www.contributor-covenant.org/version/2/0/
122+
code_of_conduct.html.
123+
124+
Community Impact Guidelines were inspired by [Mozilla's code of conduct
125+
enforcement ladder](https://github.com/mozilla/diversity).
126+
127+
[homepage]: https://www.contributor-covenant.org
128+
129+
For answers to common questions about this code of conduct, see the FAQ at
130+
https://www.contributor-covenant.org/faq. Translations are available at https://
131+
www.contributor-covenant.org/translations.

.github/CONTRIBUTING.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Contributing to mikropml
2+
3+
This document was adapted from the [Tidyverse Contributing guide](https://tidyverse.tidyverse.org/CONTRIBUTING.html).
4+
5+
## Fixing typos
6+
7+
You can fix typos, spelling mistakes, or grammatical errors in the documentation
8+
directly using the GitHub web interface, as long as the changes are made in the
9+
_source_ file.
10+
11+
## Bigger changes
12+
13+
If you want to make a bigger change, it's a good idea to first file an issue and make sure someone from the team agrees that it's needed.
14+
If you've found a bug, please file an issue that illustrates the bug with a minimal
15+
[reprex](https://www.tidyverse.org/help/#reprex) (this will also help you write a unit test, if needed).
16+
17+
### Pull request process
18+
19+
* Fork the repo and clone onto your computer.
20+
21+
* Install all [conda and
22+
mamba](https://mamba.readthedocs.io/en/latest/installation.html) if you
23+
don't already have them.
24+
25+
* Create a Git branch for your pull request (PR).
26+
27+
* Make your changes, commit to git, and then create a PR.
28+
The title of your PR should briefly describe the change.
29+
The body of your PR should contain `Fixes #issue-number`.
30+
31+
## Code of Conduct
32+
33+
Please note that the mikropml-snakemake-workflow project is released with a
34+
[Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to this
35+
project you agree to abide by its terms.

.github/SUPPORT.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Getting help with mikropml-snakemake-workflow
2+
3+
Thanks for using mikropml-snakemake-workflow!
4+
Before filing an issue, there are a few places to explore and pieces to put together to make the process as smooth as possible.
5+
6+
## Where to ask?
7+
8+
* If it's a question: start with [Discussions](https://github.com/SchlossLab/mikropml-snakemake-workflow/discussions), and/or StackOverflow.
9+
10+
* If it's a bug: you're in the right place, [file an issue](https://github.com/SchlossLab/mikropml-snakemake-workflow/issues/new).
11+
12+
* If you're not sure: let the community help you figure it out by first asking
13+
in Discussions!
14+
If your problem _is_ a bug or a feature request, you can easily return here and report it.
15+
16+
Before opening a new issue, be sure to [search issues and pull requests](https://github.com/SchlossLab/mikropml-snakemake-workflow/issues) to make sure the bug hasn't been reported and/or already fixed in the development version.
17+
By default, the search will be pre-populated with `is:issue is:open`.
18+
You can [edit the qualifiers](https://help.github.com/articles/searching-issues-and-pull-requests/) (e.g. `is:pr`, `is:closed`) as needed.
19+
For example, you'd simply remove `is:open` to search _all_ issues in the repo, open or closed.
20+
21+
## What happens next?
22+
23+
To be as efficient as possible, development of our software tends to be very bursty, so you shouldn't worry if you don't get an immediate response.
24+
Typically we don't look at a repo until a sufficient quantity of issues accumulates, then there's a burst of intense activity as we focus our efforts.
25+
That makes development more efficient because it avoids expensive context switching between problems, at the cost of taking longer to get back to you.
26+
This process makes a good reprex particularly important because it might be multiple months between your initial report and when we start working on it.
27+
If we can't reproduce the bug, we can't fix it!

.github/issue_template.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@ name: Bug report or feature request
33
about: Describe a bug you've seen or make a case for a new feature
44
---
55

6-
Please briefly describe your problem and what output you expect. If you have a question, please don't use this form. Instead, ask on <https://stackoverflow.com/> or <https://github.com/SchlossLab/mikropml-snakemake-workflow/discussions/21>.
6+
Please briefly describe your problem and what output you expect.
7+
If you have a question, please don't use this form.
8+
Instead, ask on <https://stackoverflow.com/> or
9+
<https://github.com/SchlossLab/mikropml-snakemake-workflow/discussions/>.
710

8-
Please include a minimal reproducible example (AKA a reprex). If you've never heard of a [reprex](http://reprex.tidyverse.org/) before, start by reading <https://www.tidyverse.org/help/#reprex>.
11+
Please include a minimal reproducible example (AKA a reprex). If you've never
12+
heard of a [reprex](http://reprex.tidyverse.org/) before, start by reading
13+
<https://www.tidyverse.org/help/#reprex>.
14+
Please include all Snakefiles and scripts used to reproduce the issue.
15+
If your issue is solely with mikropml and not the accompanying Snakemake
16+
workflow, open your issue at [the mikropml
17+
repo](https://github.com/SchlossLab/mikropml) instead.
918

10-
Brief description of the problem
11-
12-
```r
13-
# insert reprex here
14-
```
19+
Brief description of the problem:

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,24 @@ your own project.
5252
Alternatively, you can download this repo and modify the code
5353
directly to suit your needs. See instructions [here](/quick-start.md).
5454

55+
## Help & Contributing
56+
57+
If you come across a bug, [open an
58+
issue](https://github.com/SchlossLab/mikropml-snakemake-workflow/issues)
59+
and include a minimal reproducible example.
60+
61+
If you have questions, create a new post in
62+
[Discussions](https://github.com/SchlossLab/mikropml-snakemake-workflow/discussions).
63+
64+
If you’d like to contribute, see our guidelines
65+
[here](.github/CONTRIBUTING.md).
66+
67+
## Code of Conduct
68+
69+
Please note that the mikropml-snakemake-workflow is released with a
70+
[Contributor Code of Conduct](.github/CODE_OF_CONDUCT.md).
71+
By contributing to this project, you agree to abide by its terms.
72+
5573
## More resources
5674

5775
- [mikropml docs](http://www.schlosslab.org/mikropml/)

0 commit comments

Comments
 (0)