summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsnxx <snmgreenx@gmail.com>2021-10-09 12:50:20 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-09 12:50:20 +0100
commit26190b27011c25caedf3b9308e47005722b3f946 (patch)
tree97b30d91d5d162e72c655a1ffa4a6dc63bdb9723
parent826bfe4bbd7594188e3d74d2539d9707b1c6a14b (diff)
downloadvim-git-26190b27011c25caedf3b9308e47005722b3f946.tar.gz
patch 8.2.3488: issue template is not easy to usev8.2.3488
Problem: Issue template is not easy to use. Solution: Use a yaml template. (closes #8928)
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md34
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.yml47
-rw-r--r--src/version.c2
3 files changed, 49 insertions, 34 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index eb9ae4d0c..000000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,34 +0,0 @@
----
-name: Bug report
-about: Create a report to help us improve Vim
-title: ''
-labels: ''
-
----
-
-_Instructions: Replace the template text and remove irrelevant text (including this line)_
-
-**Describe the bug**
-A clear and concise description of what the bug is.
-(Issues related to the runtime files should be reported to their maintainer, check the file header.)
-
-**To Reproduce**
-Detailed steps to reproduce the behavior:
-1. Run `vim --clean` (or `gvim --clean`, etc.)
-2. Edit `filename`
-3. Type '....'
-4. Describe the error
-
-**Expected behavior**
-A clear and concise description of what you expected to happen.
-
-**Screenshots**
-If applicable, copy/paste the text or add screenshots to help explain your problem.
-
-**Environment (please complete the following information):**
- - Vim version [e.g. 8.1.1234] (Or paste the result of `vim --version`.)
- - OS: [e.g. Ubuntu 18.04, Windows 10 1809, macOS 10.14]
- - Terminal: [e.g. GNOME Terminal, mintty, iTerm2, tmux, GNU screen] (Use GUI if you use the GUI.)
-
-**Additional context**
-Add any other context about the problem here.
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 000000000..b4e3128f3
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,47 @@
+---
+name: Bug report
+description: Create a report to help us improve Vim.
+labels: [bug]
+
+body:
+ - type: markdown
+ attributes:
+ value: |
+ Thanks for reporting issues of Vim!
+
+ To make it easier for us to help you please enter detailed information below.
+ - type: textarea
+ attributes:
+ label: Steps to reproduce
+ placeholder: |
+ 1.
+ 2.
+ 3.
+ 4.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Expected behaviour
+ placeholder: A clear and concise description of what you expected to happen.
+ validations:
+ required: true
+ - type: input
+ attributes:
+ label: Operating system
+ description: >
+ Your operating system name, version and desktop environment.
+ validations:
+ required: true
+ - type: input
+ attributes:
+ label: Version of Vim
+ description: >
+ The name of your development environment, version. [e.g. GNOME Terminal (v0.0.0000)]
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Logs and stack traces
+ placeholder: Insert log or other text here (if necessary)
+ render: shell
diff --git a/src/version.c b/src/version.c
index 06421bb0f..f3fbd45bc 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3488,
+/**/
3487,
/**/
3486,