From 0d7dfb256611509771c5d51d9d6b65fa36480ee8 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Mon, 1 Jan 2024 20:33:44 +0000 Subject: [PATCH] adds gitea meta template files for pull requests and issues (#103) adds gitea metafiles for: - Pull-Request template - https://gitea.ocram85.com/OCram85/gitea-template-test/compare/main...placeholer - Issue-Templates - Bug report related - https://gitea.ocram85.com/OCram85/gitea-template-test/issues/new?template=.gitea%2fISSUE_TEMPLATE%2fBug.yml - Feature request related - https://gitea.ocram85.com/OCram85/gitea-template-test/issues/new?template=.gitea%2fISSUE_TEMPLATE%2fFeature.yml - Question related - https://gitea.ocram85.com/OCram85/gitea-template-test/issues/new?template=.gitea%2fISSUE_TEMPLATE%2fQuestion.yml - Default template - https://gitea.ocram85.com/OCram85/gitea-template-test/issues/new? > **Note**: The templates come with their own fields and also maps the correct issue labels on creation. > > Follow the links to show an input preview. ![image](/attachments/9c9d42b7-4c1f-47a8-9ae6-818e641ed096) Co-authored-by: Patrick Schratz Reviewed-on: https://codeberg.org/woodpecker-plugins/docker-buildx/pulls/103 Reviewed-by: Patrick Schratz Co-authored-by: OCram85 Co-committed-by: OCram85 --- .gitea/ISSUE_TEMPLATE.yml | 16 +++++++ .gitea/ISSUE_TEMPLATE/Bug.yml | 69 ++++++++++++++++++++++++++++++ .gitea/ISSUE_TEMPLATE/Feature.yml | 46 ++++++++++++++++++++ .gitea/ISSUE_TEMPLATE/Question.yml | 18 ++++++++ .gitea/PULL_REQUEST_TEMPLATE.yml | 41 ++++++++++++++++++ 5 files changed, 190 insertions(+) create mode 100644 .gitea/ISSUE_TEMPLATE.yml create mode 100644 .gitea/ISSUE_TEMPLATE/Bug.yml create mode 100644 .gitea/ISSUE_TEMPLATE/Feature.yml create mode 100644 .gitea/ISSUE_TEMPLATE/Question.yml create mode 100644 .gitea/PULL_REQUEST_TEMPLATE.yml diff --git a/.gitea/ISSUE_TEMPLATE.yml b/.gitea/ISSUE_TEMPLATE.yml new file mode 100644 index 0000000..6d80569 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE.yml @@ -0,0 +1,16 @@ +name: Default +about: Use this template if nothing seems to work. +title: '' +body: + - type: markdown + attributes: + value: | + > **Note**: Thanks for taking the time to fill out this bug report! + - type: textarea + id: content + attributes: + label: ❔ What happened + description: Simply ask your question here. + placeholder: Tell us what you want to know... + validations: + required: true diff --git a/.gitea/ISSUE_TEMPLATE/Bug.yml b/.gitea/ISSUE_TEMPLATE/Bug.yml new file mode 100644 index 0000000..b7480c2 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/Bug.yml @@ -0,0 +1,69 @@ +name: 🐞 Bug Report +about: This template is used to report bugs! +title: '' +labels: + - bug +body: + - type: markdown + attributes: + value: | + > **Note**: This bug report is only for content provided in this repository! + > + > - Make sure you're able to reproduce the error in the lastest version of this package. + > - Search of already existing issues. + > - Refer to the known issues and FAQ section. + - type: textarea + id: reproduce + attributes: + label: 💣 Steps to reproduce + description: Describe ho to reproduce the error. + value: | + ```bash + + ``` + validations: + required: true + - type: textarea + id: expected + attributes: + label: 🚀 Expected behaviour + description: Describe what should happen. + value: | + ```bash + + ``` + validations: + required: true + - type: textarea + id: actual + attributes: + label: 💥 Actual behaviour + description: Describe what actually happens. + value: | + ```bash + + ``` + validations: + required: true + - type: textarea + id: env + attributes: + label: 📓 Environment data + description: You can add addional environment data here. + placeholder: | + ```bash + + ``` + - type: textarea + id: img + attributes: + label: 🖼️ Screenshots + description: Paste your screenshots here. + placeholder: Copy-Paste or Drag-and-Drop your images... + - type: textarea + id: refs + attributes: + label: 🔖 Refs + description: A place for additional references to other issues and PRs. + placeholder: | + - reopens #999 diff --git a/.gitea/ISSUE_TEMPLATE/Feature.yml b/.gitea/ISSUE_TEMPLATE/Feature.yml new file mode 100644 index 0000000..6ae035a --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/Feature.yml @@ -0,0 +1,46 @@ +name: 🛸 Feature Request +about: Wite about new features. +title: '' +labels: + - feature + - enhancement +body: + - type: markdown + attributes: + value: | + > **Note**: This bug report is only for content provided in this repository! + > + > This issue template is used to describe new features or enhancements. + - type: textarea + id: idea + attributes: + label: 📡 Suggestion + description: Describe ho to reproduce the error. + value: | + ```bash + + ``` + validations: + required: true + - type: textarea + id: impl + attributes: + label: 🛰️ Implementation ideas + description: Describe your initial implementation ideas. + validations: + required: true + - type: textarea + id: mockup + attributes: + label: 🖼️ Mock-up + description: Alternatively add your mockups here. + placeholder: Copy-Paste or Drag-and-Drop your images... + validations: + required: true + - type: textarea + id: refs + attributes: + label: 🔖 Refs + description: A place for additional references to other issues and PRs. + placeholder: | + - reopens #999 diff --git a/.gitea/ISSUE_TEMPLATE/Question.yml b/.gitea/ISSUE_TEMPLATE/Question.yml new file mode 100644 index 0000000..bb4f083 --- /dev/null +++ b/.gitea/ISSUE_TEMPLATE/Question.yml @@ -0,0 +1,18 @@ +name: ❓ Question +about: Use this template if nothing seems to work. +title: '' +labels: + - question +body: + - type: markdown + attributes: + value: | + > **Note**: Thanks for taking the time to fill out this bug report! + - type: textarea + id: content + attributes: + label: ❔ What happened + description: Simply ask your question here. + placeholder: Tell us what you want to know... + validations: + required: true diff --git a/.gitea/PULL_REQUEST_TEMPLATE.yml b/.gitea/PULL_REQUEST_TEMPLATE.yml new file mode 100644 index 0000000..b9e7951 --- /dev/null +++ b/.gitea/PULL_REQUEST_TEMPLATE.yml @@ -0,0 +1,41 @@ +name: Pull Request +about: General pull request +title: "" +body: + - type: markdown + attributes: + value: | + > **Note**: Thanks for contributing to this project with your pull request! + + - type: textarea + id: summary + attributes: + label: 📖 Summary + description: Provide a summary of your changes. Also descibe the why... + placeholder: Tell us about your code changes. + + validations: + required: true + - type: dropdown + id: testplan + attributes: + label: 📑 Test Plan + description: How did you test your code changes? + options: + - ✅ CI pipeline tests (Default) + - 🤔 Custom test + - 💣 No test Plan + validations: + required: true + - type: textarea + id: details + attributes: + label: 💬 Details + description: Add your custom test details or justification for missing tests here. + placeholder: First, solve the problem. Then, write the code. + - type: textarea + id: notes + attributes: + label: 📚 Additional Notes + description: A place for additional notes or linking references. + placeholder: Software and cathedrals are much the same - First we build them, then we pray.