From fa1ae635d1ea118c49e671507a663e689931166e Mon Sep 17 00:00:00 2001 From: Milas Bowman Date: Wed, 21 Sep 2022 14:12:51 -0400 Subject: [PATCH] github: switch to issue template form Migrate the existing template into the new format and streamline it a bit. Signed-off-by: Milas Bowman --- .github/ISSUE_TEMPLATE.md | 64 --------------------------- .github/ISSUE_TEMPLATE/bug_report.yml | 49 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 11 +++++ 3 files changed, 60 insertions(+), 64 deletions(-) delete mode 100644 .github/ISSUE_TEMPLATE.md create mode 100644 .github/ISSUE_TEMPLATE/bug_report.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 873154a9e..000000000 --- a/.github/ISSUE_TEMPLATE.md +++ /dev/null @@ -1,64 +0,0 @@ - - -**Description** - - - -**Steps to reproduce the issue:** -1. -2. -3. - -**Describe the results you received:** - - -**Describe the results you expected:** - - -**Additional information you deem important (e.g. issue happens only occasionally):** - -**Output of `docker compose version`:** - -``` -(paste your output here) -``` - -**Output of `docker info`:** - -``` -(paste your output here) -``` - -**Additional environment details:** diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 000000000..829087982 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,49 @@ +name: 🐞 Bug +description: File a bug/issue +title: "[BUG] " +labels: ['status/0-triage', 'kind/bug'] +body: + - type: textarea + attributes: + label: Description + description: | + Briefly describe the problem you are having. + + Include both the current behavior (what you are seeing) as well as what you expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Steps To Reproduce + description: Steps to reproduce the behavior. + placeholder: | + 1. In this environment... + 2. With this config... + 3. Run '...' + 4. See error... + validations: + required: false + - type: textarea + attributes: + label: Compose Version + description: | + Paste output of `docker compose version` and `docker-compose version`. + render: Text + validations: + required: false + - type: textarea + attributes: + label: Docker Environment + description: Paste output of `docker info`. + render: Text + validations: + required: false + - type: textarea + attributes: + label: Anything else? + description: | + Links? References? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 000000000..cc4b65bf2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: true +contact_links: + - name: Docker Community Slack + url: https://dockr.ly/slack + about: 'Use the #docker-compose channel' + - name: Docker Support Forums + url: https://forums.docker.com/c/open-source-projects/compose/15 + about: 'Use the "Open Source Projects > Compose" category' + - name: 'Ask on Stack Overflow' + url: https://stackoverflow.com/questions/tagged/docker-compose + about: 'Use the [docker-compose] tag when creating new questions'