From 37b503846c493096541c393172a8e11d9d5f5df7 Mon Sep 17 00:00:00 2001
From: AhmedGrati <48932084+AhmedGrati@users.noreply.github.com>
Date: Thu, 9 Feb 2023 01:49:27 +0100
Subject: [PATCH] Feat: Add issues and pull requests templates (#1560)
* feat: add issues template
* feat: add pr template
---
.github/ISSUE_TEMPLATE/bug_report.yml | 57 ++++++++++++++++++++++++++
.github/ISSUE_TEMPLATE/config.yml | 5 +++
.github/ISSUE_TEMPLATE/enhancement.yml | 22 ++++++++++
.github/PULL_REQUEST_TEMPLATE.md | 20 +++++++++
4 files changed, 104 insertions(+)
create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml
create mode 100644 .github/ISSUE_TEMPLATE/config.yml
create mode 100644 .github/ISSUE_TEMPLATE/enhancement.yml
create mode 100644 .github/PULL_REQUEST_TEMPLATE.md
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml
new file mode 100644
index 00000000..3da72fbc
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug_report.yml
@@ -0,0 +1,57 @@
+name: Bug
+description: File a bug/issue
+title: "[BUG]
"
+labels: ["kind/bug"]
+body:
+ - type: markdown
+ attributes:
+ value: "## Thank you for contributing to our Kompose!"
+ - type: textarea
+ attributes:
+ label: Expected Behavior
+ description: |
+ Briefly describe what is the desired behavior.
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Actual Behavior
+ description: |
+ Briefly describe what is the actual behavior.
+ 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 or unexpected result...
+ validations:
+ required: false
+ - type: textarea
+ attributes:
+ label: Kompose Version
+ description: |
+ Paste output of `kompose version`.
+ render: Text
+ validations:
+ required: true
+ - type: textarea
+ attributes:
+ label: Docker-Compose file
+ description: Paste output of the `docker-compose.yaml` that you are using.
+ render: YAML
+ 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 00000000..bc6b1772
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,5 @@
+blank_issues_enabled: false
+contact_links:
+ - name: Kubernetes Community Slack
+ url: https://kubernetes.slack.com
+ about: "Use the #kompose channel"
diff --git a/.github/ISSUE_TEMPLATE/enhancement.yml b/.github/ISSUE_TEMPLATE/enhancement.yml
new file mode 100644
index 00000000..1d00f430
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/enhancement.yml
@@ -0,0 +1,22 @@
+name: Enhancement Tracking Issue
+description: Provide supporting details for a feature in development
+labels: kind/feature
+body:
+ - type: markdown
+ attributes:
+ value: "## Thank you for contributing to our Kompose!"
+ - type: textarea
+ id: feature
+ attributes:
+ label: What would you like to be added?
+ description: |
+ Describe what feature/enhancement that you want to be added to Kompose.
+ validations:
+ required: true
+
+ - type: textarea
+ id: rationale
+ attributes:
+ label: Why is this needed?
+ validations:
+ required: true
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
new file mode 100644
index 00000000..2e60d5b6
--- /dev/null
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -0,0 +1,20 @@
+#### What type of PR is this?
+
+
+
+#### What this PR does / why we need it:
+
+#### Which issue(s) this PR fixes:
+
+Fixes #
+
+#### Special notes for your reviewer: