Improve GitHub issue templates
[ci skip]
This commit is contained in:
parent
41feed5853
commit
71a8210705
51
.github/ISSUE_TEMPLATE/bug.md
vendored
51
.github/ISSUE_TEMPLATE/bug.md
vendored
@ -1,51 +0,0 @@
|
|||||||
---
|
|
||||||
name: "Bug Report"
|
|
||||||
about: "Create a report to help us improve"
|
|
||||||
labels: type:bug
|
|
||||||
---
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Please make sure to:
|
|
||||||
- Comply with our code of conduct: https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md
|
|
||||||
- Search for existing similar issues first: https://github.com/cryptomator/android/issues?q=
|
|
||||||
|
|
||||||
⚠️ IMPORTANT: If you don't stick to this template, the issue will get closed.
|
|
||||||
-->
|
|
||||||
|
|
||||||
### Description
|
|
||||||
|
|
||||||
[Summarize your problem.]
|
|
||||||
|
|
||||||
### System Setup
|
|
||||||
|
|
||||||
* Android version: [Shown in the settings of Android]
|
|
||||||
* Cryptomator version: [Shown in the settings of Cryptomator]
|
|
||||||
* Cloud type: [Dropbox/Google Drive/OneDrive/pCloud/WebDAV/S3/Local storage]
|
|
||||||
|
|
||||||
### Steps to Reproduce
|
|
||||||
|
|
||||||
1. [First step]
|
|
||||||
2. [Second step]
|
|
||||||
3. [and so on…]
|
|
||||||
|
|
||||||
#### Expected Behavior
|
|
||||||
|
|
||||||
[What you expect to happen.]
|
|
||||||
|
|
||||||
#### Actual Behavior
|
|
||||||
|
|
||||||
[What actually happens.]
|
|
||||||
|
|
||||||
#### Reproducibility
|
|
||||||
|
|
||||||
[Always/Intermittent/Only once]
|
|
||||||
|
|
||||||
### Additional Information
|
|
||||||
|
|
||||||
[Any additional information, log files, screenshots or a movie while reproducing the problem, configuration, or data that might be necessary to reproduce the issue.]
|
|
||||||
|
|
||||||
<!--
|
|
||||||
|
|
||||||
If you want to add the log file enable debug mode, reproduce the problem and send it to us: https://community.cryptomator.org/t/how-do-i-enable-debug-mode-on-android/66
|
|
||||||
|
|
||||||
-->
|
|
95
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
95
.github/ISSUE_TEMPLATE/bug.yml
vendored
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
name: Bug Report
|
||||||
|
description: Create a report to help us improve
|
||||||
|
labels: ["type:bug"]
|
||||||
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Please agree to the following
|
||||||
|
options:
|
||||||
|
- label: I have searched [existing issues](https://github.com/cryptomator/android/issues?q=) for duplicates
|
||||||
|
required: true
|
||||||
|
- label: I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md)
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: summary
|
||||||
|
attributes:
|
||||||
|
label: Summary
|
||||||
|
placeholder: Please summarize your problem.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: software-versions
|
||||||
|
attributes:
|
||||||
|
label: System Setup
|
||||||
|
description: |
|
||||||
|
What software is involved? Please provide version numbers as well.
|
||||||
|
value: |
|
||||||
|
- Android: [Version shown in the settings of Android"]
|
||||||
|
- Cryptomator: [Version shown in the settings of Cryptomator]
|
||||||
|
- …
|
||||||
|
render: markdown
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: cloud-type
|
||||||
|
attributes:
|
||||||
|
label: Cloud Type
|
||||||
|
description: Where is your vault located?
|
||||||
|
multiple: true
|
||||||
|
options:
|
||||||
|
- Dropbox
|
||||||
|
- Google Drive
|
||||||
|
- OneDrive
|
||||||
|
- WebDAV
|
||||||
|
- pCloud
|
||||||
|
- S3
|
||||||
|
- Local storage
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: reproduction-steps
|
||||||
|
attributes:
|
||||||
|
label: Steps to Reproduce
|
||||||
|
value: |
|
||||||
|
1. [First Step]
|
||||||
|
2. [Second Step]
|
||||||
|
3. …
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: expected-behaviour
|
||||||
|
attributes:
|
||||||
|
label: Expected Behavior
|
||||||
|
placeholder: What you expect to happen.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: actual-behaviour
|
||||||
|
attributes:
|
||||||
|
label: Actual Behavior
|
||||||
|
placeholder: What actually happens.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: reproducibility
|
||||||
|
attributes:
|
||||||
|
label: Reproducibility
|
||||||
|
description: How often does the described behaviour occur?
|
||||||
|
options:
|
||||||
|
- Always
|
||||||
|
- Intermittent
|
||||||
|
- Only once
|
||||||
|
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: textarea
|
||||||
|
id: further-info
|
||||||
|
attributes:
|
||||||
|
label: Anything else?
|
||||||
|
description: Links? References? Screenshots? Configurations? Any data that might be necessary to reproduce the issue?
|
28
.github/ISSUE_TEMPLATE/feature.md
vendored
28
.github/ISSUE_TEMPLATE/feature.md
vendored
@ -1,28 +0,0 @@
|
|||||||
---
|
|
||||||
name: "Feature Request"
|
|
||||||
about: "Suggest an idea for this project"
|
|
||||||
labels: type:feature-request
|
|
||||||
---
|
|
||||||
|
|
||||||
<!--
|
|
||||||
Please make sure to:
|
|
||||||
- Comply with our code of conduct: https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md
|
|
||||||
- Search for existing similar issues first: https://github.com/cryptomator/android/issues?q=
|
|
||||||
-->
|
|
||||||
|
|
||||||
|
|
||||||
### Summary
|
|
||||||
|
|
||||||
[One paragraph explanation of the feature.]
|
|
||||||
|
|
||||||
### Motivation
|
|
||||||
|
|
||||||
[Why are we doing this? What use cases does it support? What is the expected outcome?]
|
|
||||||
|
|
||||||
### Considered Alternatives
|
|
||||||
|
|
||||||
[A clear and concise description of the alternative solutions you've considered.]
|
|
||||||
|
|
||||||
### Additional Context
|
|
||||||
|
|
||||||
[Add any other context or screenshots about the feature request here.]
|
|
37
.github/ISSUE_TEMPLATE/feature.yml
vendored
Normal file
37
.github/ISSUE_TEMPLATE/feature.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
name: Feature Request
|
||||||
|
description: Suggest an idea for this project
|
||||||
|
labels: ["type:feature-request"]
|
||||||
|
body:
|
||||||
|
- type: checkboxes
|
||||||
|
id: terms
|
||||||
|
attributes:
|
||||||
|
label: Please agree to the following
|
||||||
|
options:
|
||||||
|
- label: I have searched [existing issues](https://github.com/cryptomator/android/issues?q=) for duplicates
|
||||||
|
required: true
|
||||||
|
- label: I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md)
|
||||||
|
required: true
|
||||||
|
- type: input
|
||||||
|
id: summary
|
||||||
|
attributes:
|
||||||
|
label: Summary
|
||||||
|
placeholder: Please summarize your feature request.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: motivation
|
||||||
|
attributes:
|
||||||
|
label: Motivation
|
||||||
|
description: Who requires this feature? What problem does the user face? How would this feature solve the problem?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: alternatives
|
||||||
|
attributes:
|
||||||
|
label: Considered Alternatives
|
||||||
|
description: What current alternatives or workarounds have you considered? Is there a different way to solve the same problem?
|
||||||
|
- type: textarea
|
||||||
|
id: context
|
||||||
|
attributes:
|
||||||
|
label: Anything else?
|
||||||
|
description: Any context, suggestions, screenshots, or concepts you want to share?
|
38
.github/workflows/triageBugs.yml
vendored
38
.github/workflows/triageBugs.yml
vendored
@ -1,38 +0,0 @@
|
|||||||
name: Bug Report Triage
|
|
||||||
|
|
||||||
on:
|
|
||||||
issues:
|
|
||||||
types: [opened]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
closeTemplateViolation:
|
|
||||||
name: Validate bug report against issue template
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
if: contains(github.event.issue.labels.*.name, 'type:bug')
|
|
||||||
steps:
|
|
||||||
- name: Check "Description"
|
|
||||||
if: |
|
|
||||||
!contains(github.event.issue.body, env.MUST_CONTAIN)
|
|
||||||
|| contains(toJson(github.event.issue.body), env.MUST_NOT_CONTAIN)
|
|
||||||
run: exit 1
|
|
||||||
env:
|
|
||||||
MUST_CONTAIN: '### Description'
|
|
||||||
MUST_NOT_CONTAIN: '### Description\r\n\r\n[Summarize your problem.]\r\n\r\n### System Setup'
|
|
||||||
- name: Check "Steps to Reproduce"
|
|
||||||
if: |
|
|
||||||
!contains(github.event.issue.body, env.MUST_CONTAIN)
|
|
||||||
|| contains(toJson(github.event.issue.body), env.MUST_NOT_CONTAIN)
|
|
||||||
run: exit 1
|
|
||||||
env:
|
|
||||||
MUST_CONTAIN: '### Steps to Reproduce'
|
|
||||||
MUST_NOT_CONTAIN: '### Steps to Reproduce\r\n\r\n1. [First step]\r\n2. [Second step]\r\n3. [and so on…]\r\n\r\n#### Expected Behavior'
|
|
||||||
- name: Close issue if one of the checks failed
|
|
||||||
if: ${{ failure() }}
|
|
||||||
uses: peter-evans/close-issue@v1
|
|
||||||
with:
|
|
||||||
comment: |
|
|
||||||
This bug report did ignore our issue template. 😞
|
|
||||||
Auto-closing this issue, since it is most likely not useful.
|
|
||||||
|
|
||||||
_This decision was made by a bot. If you think the bot is wrong, let us know and we'll reopen this issue._
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user