diff --git a/.github/ISSUE_TEMPLATE/---bug-report.md b/.github/ISSUE_TEMPLATE/---bug-report.md deleted file mode 100644 index ba6aea6de..000000000 --- a/.github/ISSUE_TEMPLATE/---bug-report.md +++ /dev/null @@ -1,45 +0,0 @@ ---- -name: "\U0001F41B Bug report" -about: Create a report to help us improve -title: '' -labels: bug, needs-triage -assignees: '' - ---- - -Confirm by changing [ ] to [x] below to ensure that it's a bug: -- [ ] I've searched for [previous similar issues](https://github.com/aws/aws-iot-device-sdk-java-v2/issues) and didn't find any solution - -**Known Issue** -- [ ] I'm using ATS data type endpoint: the endpoint should look like `-ats.iot..amazonaws.com` - -**Describe the bug** -A clear and concise description of what the bug is. - -**SDK version number** - -**Platform/OS/Hardware/Device** -What are you running the sdk on? - -**To Reproduce (observed behavior)** -Steps to reproduce the behavior (please share code) - -**Expected behavior** -A clear and concise description of what you expected to happen. - -**Logs/output** -If applicable, add logs or error output. - -To enable logging, set the following system properties: - -*REMEMBER TO SANITIZE YOUR PERSONAL INFO* - -``` --Daws.crt.debugnative=true --Daws.crt.log.destination=File --Daws.crt.log.level=Trace --Daws.crt.log.filename= -``` - -**Additional context** -Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/---bug-report.yml b/.github/ISSUE_TEMPLATE/---bug-report.yml new file mode 100644 index 000000000..d0b9c926d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/---bug-report.yml @@ -0,0 +1,73 @@ +name: "\U0001F41B Bug Report" +description: File a bug report +title: "(short issue description)" +labels: [bug, needs-triage] +body: + - type: textarea + id: description + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behavior + description: | + Tell us what should happen. + validations: + required: true + + - type: textarea + id: current + attributes: + label: Current behavior + description: | + Tell us what happens instead of the expected behavior. + Include full errors, uncaught exceptions, stack traces, and relevant logs. + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: Steps to Reproduce + description: | + Provide a self-contained, concise snippet of code that can be used to reproduce the issue. + For more complex issues provide a repo with the smallest sample that reproduces the bug. + Avoid including business logic or unrelated code, it makes diagnosis more difficult. + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Possible Solution + description: | + Suggest a fix/reason for the bug + validations: + required: false + + - type: input + id: aws-iot-device-sdk-java-v2 + attributes: + label: aws-iot-device-sdk-java-v2 version used + validations: + required: true + + - type: input + id: compiler-version + attributes: + label: JDK Version used + description: Output of `java -version` + validations: + required: true + + - type: input + id: operating-system + attributes: + label: Operating System and version + validations: + required: true diff --git a/.github/ISSUE_TEMPLATE/---feature-request.md b/.github/ISSUE_TEMPLATE/---feature-request.md deleted file mode 100644 index 8b6a0e1f3..000000000 --- a/.github/ISSUE_TEMPLATE/---feature-request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: "\U0001F680 Feature request" -about: Suggest an idea for this project -title: '' -labels: feature-request, needs-triage -assignees: '' - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/---feature-request.yml b/.github/ISSUE_TEMPLATE/---feature-request.yml new file mode 100644 index 000000000..9abe6ddd5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/---feature-request.yml @@ -0,0 +1,47 @@ +name: "\U0001F680 Feature Request" +description: Suggest an idea for this project +title: "(short issue description)" +labels: [feature-request, needs-triage] +body: + - type: textarea + id: description + attributes: + label: Describe the feature + description: A clear and concise description of the feature you are proposing. + validations: + required: true + + - type: textarea + id: problem + attributes: + label: Is your Feature Request related to a problem? + description: | + A description of the issue, e.g. "I'm always frustrated when..." + validations: + required: true + + - type: textarea + id: solution + attributes: + label: Proposed Solution + description: | + Suggest how to implement the addition or change. + validations: + required: false + + - type: textarea + id: alternatives + attributes: + label: Describe alternatives you've considered + description: | + Any alternative solutions or features you've considered. + validations: + required: false + + - type: checkboxes + id: acknowledgment + attributes: + label: Acknowledge + options: + - label: I may be able to implement this feature request + required: false diff --git a/.github/ISSUE_TEMPLATE/---questions---help.md b/.github/ISSUE_TEMPLATE/---questions---help.md deleted file mode 100644 index 77f820281..000000000 --- a/.github/ISSUE_TEMPLATE/---questions---help.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -name: "\U0001F4AC Questions / Help" -about: If you have questions, please check AWS Forums or StackOverflow -title: '' -labels: guidance, needs-triage -assignees: '' - ---- - -Confirm by changing [ ] to [x] below: -- [ ] I've searched for [previous similar issues](https://github.com/aws/aws-iot-device-sdk-java-v2/issues) and didn't find any solution - -**Platform/OS/Hardware/Device** -What are you running the sdk on? - -**Describe the question** \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/---questions---help.yml b/.github/ISSUE_TEMPLATE/---questions---help.yml new file mode 100644 index 000000000..c0c2f4626 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/---questions---help.yml @@ -0,0 +1,57 @@ +name: "\U0001F4AC General Issue" +description: Create a new issue. If you don't know which type to choose, choose this one. +title: "(short issue description)" +labels: [guidance, needs-triage] +body: + - type: textarea + id: description + attributes: + label: Describe the issue + description: A clear and concise description of the issue. + validations: + required: true + + - type: textarea + id: reproduction + attributes: + label: Steps to Reproduce + description: | + Provide a self-contained, concise snippet of code that can be used to reproduce the issue. + For more complex issues provide a repo with the smallest reproducible example. + + Avoid including business logic or unrelated code, it makes diagnosis more difficult. + validations: + required: false + + - type: textarea + id: current + attributes: + label: Current behavior + description: | + Tell us what happens instead of the expected behavior. + + Include full errors, uncaught exceptions, stack traces, and relevant logs. + validations: + required: false + + - type: input + id: aws-iot-device-sdk-java-v2 + attributes: + label: aws-iot-device-sdk-java-v2 version used + validations: + required: true + + - type: input + id: compiler-version + attributes: + label: JDK version used + description: Output of `java -version` + validations: + required: true + + - type: input + id: operating-system + attributes: + label: Operating System and version + validations: + required: true diff --git a/.github/workflows/stale_issue.yml b/.github/workflows/stale_issue.yml index 2adf668a9..93920fa51 100644 --- a/.github/workflows/stale_issue.yml +++ b/.github/workflows/stale_issue.yml @@ -20,7 +20,7 @@ jobs: # These labels are required stale-issue-label: closing-soon - exempt-issue-label: investigating + exempt-issue-label: investigating, automation-exempt stale-pr-label: closing-soon exempt-pr-label: pr/needs-review response-requested-label: response-requested