]> granicus.if.org Git - neomutt/commitdiff
github: added template for Pull Requests, issues and a CONTRIBUTION.md (#339)
authorTobias Angele <toogley@mailbox.org>
Tue, 28 Feb 2017 01:47:24 +0000 (02:47 +0100)
committerRichard Russon <rich@flatcap.org>
Tue, 28 Feb 2017 01:47:24 +0000 (01:47 +0000)
* PR template is based on https://gitlab.com/snippets/35985 (thanks @guyzmo)
* tips for good commit messages are based on tpope's guide:
http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html

.github/ISSUE_TEMPLATE.md [new file with mode: 0644]
.github/PULL_REQUEST_TEMPLATE.md [new file with mode: 0644]
CONTRIBUTING.md [new file with mode: 0644]

diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
new file mode 100644 (file)
index 0000000..90ff09c
--- /dev/null
@@ -0,0 +1,12 @@
+- **bug reports**
+
+    * Expected behavior
+    * Actual behavior
+    * Steps to reproduce
+    * Used program versions
+    * Operating System and its version
+
+2. **feature requests**
+
+    * Why do you not like the current state?
+    * What would you like to see to change?
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644 (file)
index 0000000..ca8c539
--- /dev/null
@@ -0,0 +1,21 @@
+* What does this PR do?
+
+* Are there points in the code the reviewer needs to double check?
+
+* Why was this PR needed?
+
+* Screenshots (if relevant)
+
+* Does this PR meet the acceptance criteria?
+
+   - [ ] Documentation created/updated (you have to edit
+     [doc/manual.xml.head](https://www.neomutt.org/guide/) for that)
+
+   - [ ] All builds are passing
+
+   - [ ] Added [doxygen code documentation](https://www.neomutt.org/dev/doxygen)
+     [syntax](http://www.stack.nl/~dimitri/doxygen/manual/docblocks.html)
+
+   - [ ] Code follows the [style guide](https://www.neomutt.org/dev/coding-style)
+
+* What are the relevant issue numbers?
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644 (file)
index 0000000..94becb3
--- /dev/null
@@ -0,0 +1,66 @@
+Hello and thank you for your interest in our project :)
+
+
+Tips for a good bugreport
+-------------------------------
+
+* Help us help you! The more details you give, the better we\'ll be able to
+  help you out.
+
+* Please use markdown syntax, especially for backtraces and config files!
+
+* Please provide a minimal working example. That means, you should try to
+  replicate your issue with the minimal configuration from your muttrc and/or
+  any other relevant config files. These are the details you should be posting.
+
+* Sometimes even small and inconspicuous details matter, so please be very
+  careful when writing down the steps to reproduce your problem.
+
+* Please give us a list of program versions of **every** program relevant to
+  your report.
+
+
+
+Tips for writing a good feature request
+---------------------------------------
+
+* Describe your problem and especially the context of it very detailed. It has
+  happened many times, that the problem could be solved without implementing
+  another feature.
+
+* Please describe also your desired solution carefully. Nothing is more
+  frustrating - for both you and us, as developers - if we understand your
+  problem the wrong way and implement something which doesn't help you.
+
+
+
+Tips for writing good pull requests
+---------------------------------------
+
+* The first line should be a short (50 chars or less) summary of your commit
+  message. If you can't find a short enough one-line summary, split the commit
+  into multiple ones.
+
+* Keep one line between the one-line summary and the body.
+
+* Use bullet points in the body of the commit message to separate multiple
+  things you did.
+
+* your commits should be clear and concise. That means also you shouldn't sum up
+  two features or two bug fixes into one commit. If you do, it makes both bug
+  fixes or features harder to understand. Also, don't hesitate
+  to [rewrite](https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History) the
+  Github history of your development branch.
+
+* Wrap the body of the commit message at around 80 characters.
+
+* if your commit addresses a particular PR, commit or Issue, please say so in
+  your commit. The github documentation
+  ([1](https://help.github.com/articles/autolinked-references-and-urls/)
+  and [2](https://help.github.com/articles/closing-issues-via-commit-messages/))
+  can help you with that
+
+
+Thank you for your help!
+
+The Neomutt Team.