|
a |
|
b/CONTRIBUTING.md |
|
|
1 |
# Contributing |
|
|
2 |
|
|
|
3 |
If you discover issues, have ideas for improvements or new features, please |
|
|
4 |
report them to the [issue tracker][1] of the repository or submit a pull |
|
|
5 |
request. Please, try to follow these guidelines when you do so. |
|
|
6 |
|
|
|
7 |
|
|
|
8 |
## Issue reporting |
|
|
9 |
|
|
|
10 |
* Check that the issue has not already been reported. |
|
|
11 |
* Check that the issue has not already been fixed in the latest code |
|
|
12 |
(a.k.a. `master`). |
|
|
13 |
* Be clear, concise and precise in your description of the problem. |
|
|
14 |
* Open an issue with a descriptive title and a summary in grammatically correct, |
|
|
15 |
complete sentences. |
|
|
16 |
* Mention your `mednlp` Python dependency version and operating |
|
|
17 |
system. |
|
|
18 |
* Include any relevant code to the issue summary. |
|
|
19 |
|
|
|
20 |
|
|
|
21 |
### Reporting bugs |
|
|
22 |
|
|
|
23 |
Adding information like the backtrace and the REPL messages to the bug report |
|
|
24 |
makes it easier to track down bugs. Some steps to reproduce a bug reliably |
|
|
25 |
would also make a huge difference. |
|
|
26 |
|
|
|
27 |
|
|
|
28 |
## Pull requests |
|
|
29 |
|
|
|
30 |
* Read [how to properly contribute to open source projects on Github][2]. |
|
|
31 |
* Use a topic branch to easily amend a pull request later, if necessary. |
|
|
32 |
* Use the same coding conventions as the rest of the project. |
|
|
33 |
* Make sure that the unit tests are passing (`make test`). |
|
|
34 |
* Write [good commit messages][3]. |
|
|
35 |
* Mention related tickets in the commit messages (e.g. `[Fix #N] Add command ...`). |
|
|
36 |
* Update the [changelog][6]. |
|
|
37 |
* [Squash related commits together][5]. |
|
|
38 |
* Open a [pull request][4] that relates to *only* one subject with a clear title |
|
|
39 |
and description in grammatically correct, complete sentences. |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
[1]: https://github.com/plandes/mednlp/issues |
|
|
43 |
[2]: http://gun.io/blog/how-to-github-fork-branch-and-pull-request |
|
|
44 |
[3]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html |
|
|
45 |
[4]: https://help.github.com/articles/using-pull-requests |
|
|
46 |
[5]: http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html |
|
|
47 |
[6]: https://github.com/plandes/mednlp/blob/master/CHANGELOG.md |