From fe6b5571473f656f1dc18fccc375847063c11762 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Lazo Date: Wed, 1 Jun 2022 11:57:20 -0400 Subject: [PATCH 1/5] chore: add issue templates --- .github/ISSUE_TEMPLATE.md | 21 -------------- .github/ISSUE_TEMPLATE/bug.yml | 47 +++++++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 10 +++++++ 3 files changed, 57 insertions(+), 21 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md deleted file mode 100644 index 6ce8244f61b..00000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,21 +0,0 @@ -### Precheck - -* For proposing a new feature, please start a discussion on the Elixir Core mailing list: https://groups.google.com/group/elixir-lang-core -* For bugs, do a quick search and make sure the bug has not yet been reported -* Please disclose security vulnerabilities privately at elixir-security@googlegroups.com -* Do not use the issues tracker for guidance, questions or support (try Elixir Forum, Stack Overflow, Slack, etc. instead) -* Finally, be nice and have fun! - -### Environment - -* Elixir & Erlang/OTP versions (elixir --version): -* Operating system: - -### Current behavior - -Include code samples, errors and stacktraces if appropriate. -If reporting a bug, please include the reproducing steps. - -### Expected behavior - -A short description on how you expect the code to behave. diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 00000000000..0d12416fca0 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,47 @@ +name: 🐞 Bug Report +description: Tell us about something that's not working the way we (probably) intend. +labels: ["Kind:Bug", "State:Triage"] +body: + - type: input + id: elixir-version + attributes: + label: Elixir version + description: Use `elixir -v` to find the Elixir version. + validations: + required: true + + - type: input + id: erlang-version + attributes: + label: Erlang version + description: Use `elixir -v` to find the Erlang version. + validations: + required: true + + - type: input + id: os + attributes: + label: Operation System + description: The operation system + validations: + required: true + + - type: textarea + id: current-behavior + attributes: + label: Current behavior + description: Include code samples, errors and stacktraces if appropriate. If reporting a bug, please include the reproducing steps. + placeholder: |- + 1. foo + 2. bar + 3. baz + validations: + required: true + + - type: textarea + id: expected-behavior + attributes: + label: Expected behavior + description: A short description on how you expect the code to behave. + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000000..a5278e66236 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,10 @@ +blank_issues_enabled: false + +contact_links: + - name: Discuss proposals + url: https://groups.google.com/g/elixir-lang-core + about: Discuss proposals + - name: Ask Questions + url: https://elixirforum.com/ + about: Ask and answer questions here. + From bb7d8c1fd31d3ca135b2996146803ca8fd5a56b9 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Thu, 2 Jun 2022 09:21:50 -0700 Subject: [PATCH 2/5] Update .github/ISSUE_TEMPLATE/bug.yml Co-authored-by: Andrea Leopardi --- .github/ISSUE_TEMPLATE/bug.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index 0d12416fca0..a2d69fb3ba7 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -21,8 +21,8 @@ body: - type: input id: os attributes: - label: Operation System - description: The operation system + label: Operating System + description: The operating system that this issue is happening on. validations: required: true From 035cfb80fa1d2df32a7670c9edc05d4f90943e22 Mon Sep 17 00:00:00 2001 From: Yordis Prieto Date: Thu, 2 Jun 2022 09:22:25 -0700 Subject: [PATCH 3/5] Update .github/ISSUE_TEMPLATE/bug.yml Co-authored-by: Andrea Leopardi --- .github/ISSUE_TEMPLATE/bug.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index a2d69fb3ba7..f3d3fab72af 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -3,18 +3,10 @@ description: Tell us about something that's not working the way we (probably) in labels: ["Kind:Bug", "State:Triage"] body: - type: input - id: elixir-version + id: elixir-and-otp-version attributes: - label: Elixir version - description: Use `elixir -v` to find the Elixir version. - validations: - required: true - - - type: input - id: erlang-version - attributes: - label: Erlang version - description: Use `elixir -v` to find the Erlang version. + label: Elixir and Erlang/OTP versions + description: Paste the output of `elixir -v` here. validations: required: true From 86783a173c3ca1744b49b0e7d04c783ad54335e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 2 Jun 2022 20:53:47 +0200 Subject: [PATCH 4/5] Apply suggestions from code review --- .github/ISSUE_TEMPLATE/bug.yml | 1 - .github/ISSUE_TEMPLATE/config.yml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml index f3d3fab72af..4f3ca0484ba 100644 --- a/.github/ISSUE_TEMPLATE/bug.yml +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -1,6 +1,5 @@ name: 🐞 Bug Report description: Tell us about something that's not working the way we (probably) intend. -labels: ["Kind:Bug", "State:Triage"] body: - type: input id: elixir-and-otp-version diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index a5278e66236..80ed93642a8 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -3,8 +3,8 @@ blank_issues_enabled: false contact_links: - name: Discuss proposals url: https://groups.google.com/g/elixir-lang-core - about: Discuss proposals - - name: Ask Questions + about: Send proposals for new ideas in the mailing list. + - name: Ask questions url: https://elixirforum.com/ - about: Ask and answer questions here. + about: Ask and answer questions on ElixirForum. From 50e11f65a92449c0809ac5744ec656f6355bbe23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Thu, 2 Jun 2022 20:54:47 +0200 Subject: [PATCH 5/5] Update .github/ISSUE_TEMPLATE/config.yml --- .github/ISSUE_TEMPLATE/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 80ed93642a8..6a705053187 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -blank_issues_enabled: false +blank_issues_enabled: true contact_links: - name: Discuss proposals