replace issue templates with forms

Enforce properly structured bug reports and package requests.
This commit is contained in:
Leonid Pliushch 2021-08-14 15:51:31 +03:00
parent 44fcfa75bf
commit 93ef5e9995
No known key found for this signature in database
GPG Key ID: 45F2964132545795
4 changed files with 78 additions and 60 deletions

View File

@ -0,0 +1,38 @@
name: "Bug report"
description: "Create a report to help us improve"
title: "[Bug]: "
labels: ["bug report"]
body:
- type: markdown
attributes:
value: |
This is a bug tracker of the official Termux packges. Please do not report issues of third-party software there, but ask in [GitHub Discussions](https://github.com/termux/termux-packages/discussions) or [Community Social Media](https://wiki.termux.com/wiki/Community) instead. Use search to check whether your issue has been already reported.
Android versions 5.x and 6.x are not supported anymore. Issues happening on these operating system versions will not be resolved.
Before submitting any repository service issues, check https://github.com/termux/termux-packages/issues/6726.
To submit a bug report, fill the form below. Provide as much as possible information about the encountered issue. We may request extended information such as `strace` logs if consider necessary. This will help package maintainers to understand the problem correctly and provide a solution. Make sure that your logs do not leak sensitive information (passwords, API keys, etc). Be patient, do not expect that issue could get resolved immediately.
- type: textarea
attributes:
label: Problem description
description: |
A clear and concise description of what the problem is. You may attach the logs, screenshots, screen video recording and whatever else that will help to understand the issue.
Issues without proper description will be closed without solution.
validations:
required: true
- type: textarea
attributes:
label: What steps will reproduce the bug?
validations:
required: true
- type: textarea
attributes:
label: What is the expected behavior?
- type: textarea
attributes:
label: System information
description: Provide there output of `termux-info`.
validations:
required: true

View File

@ -0,0 +1,40 @@
name: "Package request"
description: "Request a new package"
title: "[Package]: "
labels: ["package request"]
body:
- type: markdown
attributes:
value: |
If our repositories do not provide a package that fullfill your needs, consider requesting it. Use search to check whether package has been requested previously.
To submit a request of a new package, fill the form below. Be patient, do not expect that package will get added immediately.
- type: textarea
attributes:
label: Package description
description: A clear and concise description of what this package do and why it should be added to Termux repositories.
validations:
required: true
- type: input
attributes:
label: Home page URL
- type: input
attributes:
label: Source code URL
placeholder: Link to Git or source archive
validations:
required: true
- type: checkboxes
attributes:
label: Packaging policy acknowledgement
description: Not every package could be added and do not forget that Termux is operated by limited team and hosting resources.
options:
- label: I have read and understand the [Packaging Policy](https://github.com/termux/termux-packages/blob/master/CONTRIBUTING.md#packaging-policy).
required: true
- type: textarea
attributes:
label: Additional information
description: |
Have you tried to compile it on device?
If it did not work then provide the error you ran into. Otherwise please share build steps and any patches that you had to apply.

View File

@ -1,37 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
---
<!--
IMPORTANT: we are not accepting issues about Termux
installations running on Android 5.x-6.x.
If you are about to post an issue about `apt` and `pkg` commands failing with `repository is under maintenance or down` errors, then please first check https://github.com/termux/termux-packages/wiki/Package-Management and **change your mirror** and see if that resolves your issues.
-->
**Problem description**
<!--
A clear and concise description of what the problem is.
You may post screenshots in addition to description.
-->
**Steps to reproduce**
<!--
Steps to reproduce the behavior. Please post all necessary
commands that are needed to reproduce the issue.
-->
**Expected behavior**
<!--
A clear and concise description of what you expected to happen.
-->
**Additional information**
<!--
Post output of command 'termux-info' between '```' (code formatting).
-->
```
```

View File

@ -1,23 +0,0 @@
---
name: Package request
about: Suggest a new package.
---
## Requesting new package
- [ ] I have read [Termux packaging policy](https://github.com/termux/termux-packages/blob/master/CONTRIBUTING.md#packaging-policy).
***
### Package description
<!-- REQUIRED -->
**Link to home page and sources**
<!-- REQUIRED -->
1. Home page:
2. Source code:
**Additional information**
Have you compiled or tried to compile the package on device?
* If it did not work then please provide the error you ran into.
* If it did work then please share build steps and any patches that you had to apply.