From 9b92175239026b9779a9d086d57680c8c086dbc8 Mon Sep 17 00:00:00 2001 From: Daenney Date: Sun, 27 Apr 2025 14:57:17 +0200 Subject: [PATCH] [chore] Bring back the issue and PR templates --- .gitea/issue_template/bug.yaml | 76 +++++++++++++++++++++++++++++ .gitea/issue_template/feature.yaml | 44 +++++++++++++++++ .gitea/issue_template/frontend.yaml | 67 +++++++++++++++++++++++++ .gitea/issue_template/other.md | 6 +++ .gitea/pull_request_template.md | 27 ++++++++++ 5 files changed, 220 insertions(+) create mode 100644 .gitea/issue_template/bug.yaml create mode 100644 .gitea/issue_template/feature.yaml create mode 100644 .gitea/issue_template/frontend.yaml create mode 100644 .gitea/issue_template/other.md create mode 100644 .gitea/pull_request_template.md diff --git a/.gitea/issue_template/bug.yaml b/.gitea/issue_template/bug.yaml new file mode 100644 index 000000000..02d4f9981 --- /dev/null +++ b/.gitea/issue_template/bug.yaml @@ -0,0 +1,76 @@ +name: Bug Report +description: Create a report to help us improve +title: "[bug] Issue Title" +labels: [bug] +assignees: [] + +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! Please be cautious with the sensitive information/logs while filing the issue. + - type: markdown + attributes: + value: | + ⚠️ If you're reporting an interoperability issue with a **closed source** + ActivityPub/Mastodon client or server, please report the issue to the + developers of that client or server instead. Without access to their + source debugging the issue is difficult for us. Since GoToSocial is + open source, developers of closed source implementations can run a copy + and autonomously debug the issue. We'll gladly address any bugs they + raise with us. + - type: textarea + id: desc + attributes: + label: Describe the bug with a clear and concise description of what the bug is. + validations: + required: true + + - type: input + id: GoToSocial-Version + attributes: + label: What's your GoToSocial Version? + description: Enter the Version of your GoToSocial Installation + placeholder: e.g. v0.3.4 + validations: + required: true + + - type: input + id: GoToSocial-Arch + attributes: + label: GoToSocial Arch + description: What architecture do you use and did you do a Binary or Docker installation? + placeholder: e.g. arm64 Docker or arm64 Binary + validations: + required: false + + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Enter exactly what happened. + validations: + required: false + + - type: textarea + id: what-expected + attributes: + label: What you expected to happen? + description: Enter what you expected to happen. + validations: + required: false + + - type: textarea + id: how-to-reproduce + attributes: + label: How to reproduce it? + description: As minimally and precisely as possible. + validations: + required: false + + - type: textarea + id: anything-else + attributes: + label: Anything else we need to know? + validations: + required: false diff --git a/.gitea/issue_template/feature.yaml b/.gitea/issue_template/feature.yaml new file mode 100644 index 000000000..1ef75cfe9 --- /dev/null +++ b/.gitea/issue_template/feature.yaml @@ -0,0 +1,44 @@ +name: Feature request +description: Suggest an idea for this project +title: "[feature] Issue Title" +labels: [enhancement] +assignees: + - +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this feature request! + + - type: textarea + id: desc + attributes: + label: Is your feature request related to a problem ? + description: Give a clear and concise description of what the problem is. + placeholder: ex. I'm always frustrated when [...] + validations: + required: true + + - type: textarea + id: prop-solution + attributes: + label: Describe the solution you'd like. + description: A clear and concise description of what you want to happen. + validations: + required: true + + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered. + description: A clear and concise description of any alternative solutions or features you've considered. If nothing, please enter `NONE` + validations: + required: true + + - type: textarea + id: additional-ctxt + attributes: + label: Additional context. + description: Add any other context or screenshots about the feature request here. + validations: + required: false diff --git a/.gitea/issue_template/frontend.yaml b/.gitea/issue_template/frontend.yaml new file mode 100644 index 000000000..d313f885f --- /dev/null +++ b/.gitea/issue_template/frontend.yaml @@ -0,0 +1,67 @@ +name: Frontend Bug Report +description: Report an issue related to the web frontend +title: "[bug/frontend] Issue Title" +labels: ["bug", "frontend"] +assignees: [] + +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! Please be cautious with the sensitive information/logs while filing the issue. + + - type: textarea + id: desc + attributes: + label: Describe the bug with a clear and concise description of what the bug is. Please include screenshots of any visual issues. + validations: + required: true + + - type: input + id: GoToSocial-Version + attributes: + label: What's your GoToSocial Version? + description: Enter the Version of your GoToSocial Installation + placeholder: e.g. v0.3.4 + validations: + required: true + + - type: input + id: Browser-Version + attributes: + label: Browser version + description: What browser(s) and versions are you using that show this bug? + placeholder: Firefox 103.0b9 (64-bit) + validations: + required: true + + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Enter exactly what happened. + validations: + required: false + + - type: textarea + id: what-expected + attributes: + label: What you expected to happen? + description: Enter what you expected to happen. + validations: + required: false + + - type: textarea + id: how-to-reproduce + attributes: + label: How to reproduce it? + description: As minimally and precisely as possible. + validations: + required: false + + - type: textarea + id: anything-else + attributes: + label: Anything else we need to know? + validations: + required: false diff --git a/.gitea/issue_template/other.md b/.gitea/issue_template/other.md new file mode 100644 index 000000000..1878dd2e2 --- /dev/null +++ b/.gitea/issue_template/other.md @@ -0,0 +1,6 @@ +--- +name: Other +about: A different type of issue or question. +labels: + - question +--- diff --git a/.gitea/pull_request_template.md b/.gitea/pull_request_template.md new file mode 100644 index 000000000..2898128ae --- /dev/null +++ b/.gitea/pull_request_template.md @@ -0,0 +1,27 @@ +# Description + +> If this is a code change, please include a summary of what you've coded, and link to the issue(s) it closes/implements. +> +> If this is a documentation change, please briefly describe what you've changed and why. + +This pull request implements xyz or fixes abc. + +closes #(issue) +closes #(another issue) + +## Checklist + +Please put an x inside each checkbox to indicate that you've read and followed it: `[ ]` -> `[x]` + +If this is a documentation change, only the first checkbox must be filled (you can delete the others if you want). + +- [ ] I/we have read the [GoToSocial contribution guidelines](https://codeberg.org/superseriousbusiness/gotosocial/src/branch/main/CONTRIBUTING.md). +- [ ] I/we have discussed the proposed changes already, either in an issue on the repository, or in the Matrix chat. +- [ ] I/we have not leveraged AI to create the proposed changes. +- [ ] I/we have performed a self-review of added code. +- [ ] I/we have written code that is legible and maintainable by others. +- [ ] I/we have commented the added code, particularly in hard-to-understand areas. +- [ ] I/we have made any necessary changes to documentation. +- [ ] I/we have added tests that cover new code. +- [ ] I/we have run tests and they pass locally with the changes. +- [ ] I/we have run `go fmt ./...` and `golangci-lint run`.