From 7300ba8a298e1c69ca1e06c86fc92247d91a9132 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Sat, 12 Jun 2021 10:51:39 +0200 Subject: [PATCH] github: templates for bug report and feature request And also add a link to discussions for generic questions. --- .../{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE/bug.md} | 6 ++++++ .github/ISSUE_TEMPLATE/config.yml | 4 ++++ .github/ISSUE_TEMPLATE/feature.md | 13 +++++++++++++ 3 files changed, 23 insertions(+) rename .github/{ISSUE_TEMPLATE.md => ISSUE_TEMPLATE/bug.md} (96%) create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature.md diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE/bug.md similarity index 96% rename from .github/ISSUE_TEMPLATE.md rename to .github/ISSUE_TEMPLATE/bug.md index 5b1042fd..1cb37070 100644 --- a/.github/ISSUE_TEMPLATE.md +++ b/.github/ISSUE_TEMPLATE/bug.md @@ -1,3 +1,9 @@ +--- +name: Bug report +about: Create a bug report +labels: "bug" +--- + This is an example of bug report. Try to adapt it to your case. When putting code snippets (logs, commands), put them between triple backquotes: diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..8c633b85 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,4 @@ +contact_links: + - name: "Discussions and Q&A" + url: https://github.com/lldpd/lldpd/discussions + about: Please ask and answer questions here. diff --git a/.github/ISSUE_TEMPLATE/feature.md b/.github/ISSUE_TEMPLATE/feature.md new file mode 100644 index 00000000..3c15eb29 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature.md @@ -0,0 +1,13 @@ +--- +name: Feature request +about: Request a new feature +labels: "feature request" +--- + +When putting code snippets (logs, commands), put them between triple +backquotes: + +``` +# lldpcli -vv +[output of lldpcli -vv] +``` -- 2.39.5