From 25f4f24477cb503ad94b9fed8e257a47a4e748c1 Mon Sep 17 00:00:00 2001 From: Jon Shallow Date: Thu, 3 Jun 2021 14:47:20 +0100 Subject: [PATCH] Issue Reporting: Add in Issue Templates to get better Issue information --- .github/ISSUE_TEMPLATE/bug_report.md | 112 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 14 +++ .github/ISSUE_TEMPLATE/feature_request.md | 26 +++++ .gitignore | 1 + 4 files changed, 153 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..7e8447a6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,112 @@ +--- +name: Bug report +about: libcoap crashes, produces incorrect output, or has incorrect behavior +title: '' +labels: '' +assignees: '' + +--- + +----------------------------- Delete Below ----------------------------- + +INSTRUCTIONS +============ + +Before submitting a new issue, please follow the checklist and try to find the +answer. + +- [ ] I have read the documentation [libcoap Modules Documentation](https://libcoap.net/doc/reference/develop/modules.html) +and the issue is not addressed there. +- [ ] I have read the documentation [libcoap Manual Pages](https://libcoap.net/doc/reference/develop/manpage.html) +and the issue is not addressed there. +- [ ] I have updated my libcoap branch (develop) to the latest version and +checked that the issue is present there. +- [ ] I have searched the [Issue Tracker](https://github.com/obgm/libcoap/issues) +(both open and closed - overwrite `is:issue is:open`) for a similar issue and +not found a similar issue. +- [ ] I have checked the [Wiki](https://github.com/obgm/libcoap/wiki) to see if +the issue is reported there. +- [ ] I have read the HOWTOs provided with the source. +- [ ] I have read the [BUILDING](https://raw.githubusercontent.com/obgm/libcoap/develop/BUILDING) +on how to build from source. + +If the issue cannot be solved after checking through the steps above, please +follow these instructions so we can get the needed information to help you in a +quick and effective fashion. + +1. Fill in all the fields under **Environment** marked with [ ] by picking the +correct option for you in each case and deleting the others. +2. Describe your problem. +3. Include any debug logs (running the application with verbose logging). +4. Providing as much information as possible under **Other items if possible** +will help us locate and fix the problem. +5. Use [Markdown](https://guides.github.com/features/mastering-markdown/) (see +formatting buttons above) and the Preview tab to check what the issue will look +like. +6. Delete these instructions from the `Delete Below` to the `Delete Above` +marker lines before submitting this issue. + +**IMPORTANT: If you do not follow these instructions and provide the necessary +details, it may not be possible to resolve your issue.** + +----------------------------- Delete Above ----------------------------- + +## Environment + +- libcoap version (run ``git describe --tags`` to find it): + + // v4.3.0-rc3-41-g25fe796 +- Build System: [Make|CMake] +- Operating System: [Windows|Linux|macOS|FreeBSD|Cygwin|Solaris|RIOT|Other (which?)] +- Operating System Version: [ ] +- Hosted Environment: [None|Contiki|LwIP|ESP-IDF|Other (which?)] + +## Problem Description + +// Detailed problem description goes here. + +### Expected Behavior + +// Describe what you are expecting. + +### Actual Behavior + +// Describe what you are seeing. + +### Steps to reproduce + +1. step1 +2. ... + + +### Code to reproduce this issue + +```cpp +// the code should be wrapped in the ```cpp tag so that it will be displayed +better. +#include "coap3/coap.h" + +void main() +{ + +} + +``` +// If your code is longer than 30 lines, upload it as an attachment. Do not +include code that is proprietary or sensitive for your project. Try to reduce +your code as much as possible so that it only demonstrates the issue. + +## Debug Logs + +``` +Debug verbose logs go here. +Please copy the plain text here for us to search the error log. Or attach the +complete logs but leave the main part here if the log is *too* long. +``` + +## Other items if possible + +- [ ] Does what you are trying to do work under any configuration. Detail what +works. +- [ ] Network configuration that is not straightforward. Detail any networking +that may have NAT or firewalls that might affect what is going on. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..91217d0c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,14 @@ +blank_issues_enabled: false +contact_links: + - name: libcoap General Information + url: https://libcoap.net/ + about: General information about libcoap + - name: General libcoap Documentation + url: https://libcoap.net/documentation.html + about: Documentation information for libcoap + - name: Latest libcoap API Documentation + url: https://libcoap.net/doc/reference/develop/modules.html + about: Latest API information for libcoap + - name: libcoap Manual Pages + url: https://libcoap.net/doc/reference/develop/manpage.html + about: Manual Pages and Examples for libcoap diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..d96b521e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,26 @@ +--- +name: Feature request +about: Suggest an idea for libcoap +title: '' +labels: 'Type: Feature Request' +assignees: '' + +--- + +**Is your feature request related to a problem? Please describe.** + +A clear and concise description of what the problem is. E.g. 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. + +Please give as many details as you can. Include suggestions for useful APIs or interfaces if relevant. + +**Additional context** + +Add any other context or screenshots about the feature request here. diff --git a/.gitignore b/.gitignore index 55023252..65dde4b1 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ coap_config.h coap_config.h.in compile config.* +!config.yml configure debian/ depcomp