From 5665dc7b71409b65649cf0c1d644bd090fa9e6cd Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Wed, 25 Nov 2020 22:31:55 +1100 Subject: [PATCH] updated issue templates --- .../{bug_report.md => bug_report_v3.md} | 9 ++-- .github/ISSUE_TEMPLATE/bug_report_v4.md | 49 +++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 2 +- 3 files changed, 55 insertions(+), 5 deletions(-) rename .github/ISSUE_TEMPLATE/{bug_report.md => bug_report_v3.md} (80%) create mode 100644 .github/ISSUE_TEMPLATE/bug_report_v4.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report_v3.md similarity index 80% rename from .github/ISSUE_TEMPLATE/bug_report.md rename to .github/ISSUE_TEMPLATE/bug_report_v3.md index 13705f35..541a05e6 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report_v3.md @@ -1,8 +1,8 @@ --- -name: Bug report - V3 / V4 +name: Bug report - V3 about: Create a report to help us improve title: '' -labels: bug +labels: bug v3 assignees: '' --- @@ -10,8 +10,9 @@ assignees: '' **Describe the bug** A clear and concise description of what the bug is. -version of yq: -operating system: +Version of yq: 3.X.X +Operating system: mac/linux/windows/.... +Installed via: docker/binary release/homebrew/snap/... **Input Yaml** Concise yaml document(s) (as simple as possible to show the bug, please keep it to 10 lines or less) diff --git a/.github/ISSUE_TEMPLATE/bug_report_v4.md b/.github/ISSUE_TEMPLATE/bug_report_v4.md new file mode 100644 index 00000000..f8bdd6b9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report_v4.md @@ -0,0 +1,49 @@ +--- +name: Bug report - V4 +about: Create a report to help us improve +title: '' +labels: bug v4 +assignees: '' + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +Version of yq: 4.X.X +Operating system: mac/linux/windows/.... +Installed via: docker/binary release/homebrew/snap/... + +**Input Yaml** +Concise yaml document(s) (as simple as possible to show the bug, please keep it to 10 lines or less) +data1.yml: +```yaml +this: should really work +``` + +data2.yml: +```yaml +but: it strangely didn't +``` + +**Command** +The command you ran: +``` +yq eval-all 'select(fileIndex==0) | .a.b.c' data1.yml data2.yml +``` + +**Actual behavior** + +```yaml +cat: meow +``` + +**Expected behavior** + +```yaml +this: should really work +but: it strangely didn't +``` + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index 91ef8f20..68427603 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -2,7 +2,7 @@ name: Feature request - V4 about: Suggest an idea for this project title: '' -labels: enhancement +labels: enhancement v4 assignees: '' ---