From 5f7fe489a64f543aeda537a4a3f3e700c7dc785a Mon Sep 17 00:00:00 2001 From: Kathryn Baldauf Date: Wed, 11 Jun 2025 17:04:03 -0700 Subject: [PATCH] Add issue templates for bugs and features (#152) I would love feedback on how people feel about these issue templates, if there should be more or less templates, or if there are any fields that people think we should add. You can see an example of how to use these by testing opening an issue on my fork [here](https://github.com/katiewasnothere/container/issues). Signed-off-by: Kathryn Baldauf --- .github/ISSUE_TEMPLATE/01-bug.yml | 78 +++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/02-feature.yml | 32 +++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 ++ 3 files changed, 115 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/01-bug.yml create mode 100644 .github/ISSUE_TEMPLATE/02-feature.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/01-bug.yml b/.github/ISSUE_TEMPLATE/01-bug.yml new file mode 100644 index 00000000..a194fc4b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/01-bug.yml @@ -0,0 +1,78 @@ +name: Bug Report +description: File a bug report. +title: "[Bug]: " +labels: ["bug", "triage"] +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: checkboxes + id: prereqs + attributes: + label: I have done the following + description: Select that you have completed the following prerequisites. + options: + - label: I have searched the existing issues + required: true + - label: If possible, I've reproduced the issue using the 'main' branch of this project + required: false + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? ex. email@example.com + validations: + required: false + - type: textarea + id: reproduce + attributes: + label: Steps to reproduce + description: Explain how to reproduce the incorrect behavior. + validations: + required: true + - type: textarea + id: what-happened + attributes: + label: Current behavior + description: A concise description of what you're experiencing. + validations: + required: true + - type: textarea + id: expected + attributes: + label: Expected Behavior + description: A concise description of what you expected to happen. + validations: + required: true + - type: textarea + attributes: + label: Environment + description: | + examples: + - **OS**: MacOS 26 Beta 1 + - **swift**: Apple Swift version 6.2 + - **xcode**: Xcode 26 Beta 17A5241e + - **container**: container CLI version 0.1.0 + value: | + - OS: + - swift: + - xcode: + - container: + render: markdown + validations: + required: true + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks. + render: shell + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/apple/container/blob/main/CONTRIBUTING.md). + options: + - label: I agree to follow this project's Code of Conduct + required: true diff --git a/.github/ISSUE_TEMPLATE/02-feature.yml b/.github/ISSUE_TEMPLATE/02-feature.yml new file mode 100644 index 00000000..ba1548b5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/02-feature.yml @@ -0,0 +1,32 @@ +name: Feature or Enhancement request +description: File a request for a feature or enhancement +title: "[Request]: " +labels: ["feature", "triage"] +body: + - type: markdown + attributes: + value: | + Thanks for contributing to the container project! + - type: input + id: contact + attributes: + label: Contact Details + description: How can we get in touch with you if we need more info? + placeholder: ex. email@example.com + validations: + required: false + - type: textarea + id: request + attributes: + label: Feature or enhancement request details + description: Describe your proposed feature or enhancement. Code samples that show what's missing, or what new capabilities will be possible, are very helpful! Provide links to existing issues or external references/discussions, if appropriate. + validations: + required: true + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://example.com). + options: + - label: I agree to follow this project's Code of Conduct + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..2dff9917 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: false +contact_links: + - name: container community support + url: https://github.com/apple/container/discussions + about: Please ask and answer questions here. \ No newline at end of file