summaryrefslogtreecommitdiff
path: root/.gitlab
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-01-19 15:47:33 -0500
committerBen Gamari <ben@smart-cactus.org>2019-01-21 18:05:52 -0500
commit5ebcfc0407e6c74abcb259f1482a63c3203ca9e1 (patch)
tree6a5a3f2d5898ce1764cdf9bf48c324e19d1250e2 /.gitlab
parent38d837a46ea8f34da6eed4e83e72ad699317a74b (diff)
downloadhaskell-5ebcfc0407e6c74abcb259f1482a63c3203ca9e1.tar.gz
gitlab: Add merge request template
This begins to define our expectations of contributions. [skip-ci]
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/merge_request_templates/merge-request.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/.gitlab/merge_request_templates/merge-request.md b/.gitlab/merge_request_templates/merge-request.md
new file mode 100644
index 0000000000..7216cb20f8
--- /dev/null
+++ b/.gitlab/merge_request_templates/merge-request.md
@@ -0,0 +1,19 @@
+Thank you for your contribution to GHC!
+
+Please take a few moments to verify that your commits fulfill the following:
+
+ * [ ] are either individually buildable or squashed
+ * [ ] have commit messages which describe *what they do*
+ (referring to [Notes][notes] and tickets using `#NNNN` syntax when
+ appropriate)
+ * [ ] have added source comments describing your change. For larger changes you
+ likely should add a [Note][notes] and cross-reference it from the relevant
+ places.
+ * [ ] add a [testcase to the
+ testsuite](https://ghc.haskell.org/trac/ghc/wiki/Building/RunningTests/Adding).
+
+If you have any questions don't hesitate to open your merge request and inquire
+in a comment. If your patch isn't quite done yet please do add prefix your MR
+title with `WIP:`.
+
+[notes]: https://ghc.haskell.org/trac/ghc/wiki/Commentary/CodingStyle#Commentsinthesourcecode