Skip to content

Commit 2fca7e0

Browse files
committed
add general contribution guidelines
1 parent 9f69f62 commit 2fca7e0

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

Diff for: CONTRIBUTING.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Contributing Guidelines
2+
3+
As an open source software project, we welcome contributions. Please, read this these guidelines before attempting to contribute with this project.
4+
5+
## Types of Contributions
6+
A contribution can be one of the following cases:
7+
8+
1. you have a question;
9+
2. you think you may have found a bug (including unexpected behaviour);
10+
3. you want to make some changes to the code base (e.g. to fix a bug, to add a new feature, to update 4. documentation).
11+
12+
## Questions
13+
14+
1. use the search functionality [here](https://github.com/ITC-CRIB/fairly/issues) to see if someone already filed the same issue or question;
15+
2. if your issue search did not yield any relevant results, make a new issue;
16+
3. apply the "Question" label; apply other labels when relevant.
17+
18+
## Find Bugs
19+
20+
If you think you may have found a bug:
21+
22+
1. use the search functionality [here](https://github.com/ITC-CRIB/fairly/issues) to see if someone already filed the same issue;
23+
2. if your issue search did not yield any relevant results, make a new issue, making sure to provide enough information to the rest of the community to understand the cause and context of the problem. Depending on the issue, you may want to include:
24+
- the [SHA hashcode](https://help.github.com/articles/autolinked-references-and-urls/#commit-shas) of the commit that is causing your problem;
25+
- some identifying information (name and version number) for dependencies you're using;
26+
- information about the operating system;
27+
- detailed steps to reproduce the bug.
28+
3. apply relevant labels to the newly created issue.
29+
30+
## Changes to Source Code: fix bugs and add features
31+
32+
1. (important) announce your plan to the rest of the community before you start working. This announcement should be in the form of a (new) issue;
33+
2. (important) wait until some consensus is reached about your idea is a good idea;
34+
3. if needed, fork the repository to your own Github profile and create your feature branch out of the latest master commit. While working on your feature branch, make sure to stay up to date with the master branch by pulling in changes;
35+
4. make sure the existing tests still work;
36+
5. add your tests (if applicable);
37+
6. update or expand the documentation;
38+
7. push your feature branch to (your fork of) this repository on GitHub;
39+
8. create the pull request, e.g. following the instructions [here](https://docs.github.com/en/github/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request).
40+
41+
> If you feel like you have a valuable contribution to make, but you don't know how to write or run tests for it or create the documentation; don't let this discourage you from making the pull request; we can help you! Just go ahead and submit the pull request, but keep in mind that you might be asked to append additional commits to your pull request.

0 commit comments

Comments
 (0)