]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
github: templates for bug report and feature request
authorVincent Bernat <vincent@bernat.ch>
Sat, 12 Jun 2021 08:51:39 +0000 (10:51 +0200)
committerVincent Bernat <vincent@bernat.ch>
Sat, 12 Jun 2021 08:51:39 +0000 (10:51 +0200)
And also add a link to discussions for generic questions.

.github/ISSUE_TEMPLATE/bug.md [moved from .github/ISSUE_TEMPLATE.md with 96% similarity]
.github/ISSUE_TEMPLATE/config.yml [new file with mode: 0644]
.github/ISSUE_TEMPLATE/feature.md [new file with mode: 0644]

similarity index 96%
rename from .github/ISSUE_TEMPLATE.md
rename to .github/ISSUE_TEMPLATE/bug.md
index 5b1042fd9e1eaf58ac78b5d08661eff2755bf91a..1cb3707061e5044da294ccce1e8eddb569d630a9 100644 (file)
@@ -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 (file)
index 0000000..8c633b8
--- /dev/null
@@ -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 (file)
index 0000000..3c15eb2
--- /dev/null
@@ -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]
+```