From 6c2e2804588e5a221a12e01fefaabead3f90ffc1 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Mon, 14 Jan 2019 10:06:57 +0100 Subject: [PATCH] [gitlab] Add templates for issues and MR These template should be used when opening a new issue or merge request. There are two templates under issue: - Default.md which is a bug report - suggestion.md which is for suggestion to be implemented To use them, select the corresponding template in the dropdown beside the title of the issue/merge request. Only available once merge in the default branch. --- .gitlab/issue_templates/Default.md | 29 ++++++++++++++++++++++ .gitlab/issue_templates/suggestion.md | 20 +++++++++++++++ .gitlab/merge_request_templates/Default.md | 8 ++++++ 3 files changed, 57 insertions(+) create mode 100644 .gitlab/issue_templates/Default.md create mode 100644 .gitlab/issue_templates/suggestion.md create mode 100644 .gitlab/merge_request_templates/Default.md diff --git a/.gitlab/issue_templates/Default.md b/.gitlab/issue_templates/Default.md new file mode 100644 index 00000000..1cf454c3 --- /dev/null +++ b/.gitlab/issue_templates/Default.md @@ -0,0 +1,29 @@ +Summary + +(Summarize the bug encountered concisely) + + +Steps to reproduce + +(How one can reproduce the issue - this is very important) + + +What is the current bug behavior? + +(What actually happens) + + +What is the expected correct behavior? + +(What you should see instead) + + +Relevant logs and/or screenshots + +(Paste any relevant logs - please use code blocks (```) to format console output, +logs, and code as it's very hard to read otherwise.) + + +Possible fixes + +(If you can, link to the line of code that might be responsible for the problem) diff --git a/.gitlab/issue_templates/suggestion.md b/.gitlab/issue_templates/suggestion.md new file mode 100644 index 00000000..919cbbf8 --- /dev/null +++ b/.gitlab/issue_templates/suggestion.md @@ -0,0 +1,20 @@ +Summary + +(Summarize the suggestion concisely) + + +What does it provide ? + +(What is the goal of this suggestion) + + +Why is it needed ? + +(Explain the motivation of the suggestion) + + +Relevant links / references + +(Paste any relevant links / image for the implementation of the suggestion) + +/label ~suggestion \ No newline at end of file diff --git a/.gitlab/merge_request_templates/Default.md b/.gitlab/merge_request_templates/Default.md new file mode 100644 index 00000000..96e0eb19 --- /dev/null +++ b/.gitlab/merge_request_templates/Default.md @@ -0,0 +1,8 @@ +Summary + +(Summarize the content of the merge request) + + +Relevant issue(s) fixed + +(list all issues fixed by that merge request if any) -- GitLab