Skip to content

Commit

Permalink
chore: bug report template & systemd service
Browse files Browse the repository at this point in the history
  • Loading branch information
1379 authored and 1379 committed Nov 6, 2022
1 parent cb28e37 commit 58cc28a
Show file tree
Hide file tree
Showing 9 changed files with 221 additions and 199 deletions.
87 changes: 0 additions & 87 deletions .github/ISSUE_TEMPLATE/bug_cn.md

This file was deleted.

90 changes: 0 additions & 90 deletions .github/ISSUE_TEMPLATE/bug_en.md

This file was deleted.

77 changes: 77 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
name: Bug Report
description: File a bug report
labels: [bug]
body:
- type: markdown
id: preface
attributes:
value: "Thanks for taking the time to fill out this bug report!"
- type: checkboxes
id: checklist
attributes:
label: Checklist
description: To avoid duplicate issues, it is recommended to do the following first.
options:
- label: The issue has been searched in [GitHub Issues](https://github.com/go-sonic/sonic/issues)
required: true
- type: markdown
id: environment
attributes:
value: "## Environment"
- type: input
id: version
validations:
required: true
attributes:
label: What is version of Sonic has the issue?
description: "Can be found in backstage management system."
- type: dropdown
id: database
validations:
required: true
attributes:
label: "What database are you using?"
description: "Can be found in backstage management system."
options:
- SQLite3
- MySQL 8.x
- Other
- type: dropdown
id: deployment-method
validations:
required: true
attributes:
label: "What is your deployment method?"
options:
- Executable file
- Docker
- type: input
id: site-url
attributes:
label: "Your site address."
description: "Note your online address, if possible."
placeholder: "ex. https://go-sonic.com"
validations:
required: false
- type: markdown
id: details
attributes:
value: "## Details"
- type: textarea
id: what-happened
attributes:
label: "What happened?"
description: "Also tell us, what did you expect to happen?"
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: additional-information
attributes:
label: "Additional information"
description: "If you have other information to note, you can fill it in here (screenshots, videos, etc.)."
78 changes: 78 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.zh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: Bug 反馈
description: 提交 Bug 反馈
labels: [bug]
body:
- type: markdown
id: preface
attributes:
value: |
感谢你花时间填写此错误报告!在开始之前,我们非常推荐阅读一遍[《开源最佳实践》](https://github.com/LinuxSuRen/open-source-best-practice),这会在很大程度上提高我们彼此的效率。
- type: checkboxes
id: checklist
attributes:
label: 检查清单
description: 为了保证同样的问题不被重复创建,建议先进行下面的操作。
options:
- label: 已经在 [GitHub Issues](https://github.com/go-sonic/sonic/issues) 中搜索过该问题
required: true
- type: markdown
id: environment
attributes:
value: "## 环境信息"
- type: input
id: version
validations:
required: true
attributes:
label: "是什么版本出现了此问题?"
description: "可以在管理后台的关于页面中找到。"
- type: dropdown
id: database
validations:
required: true
attributes:
label: "使用的什么数据库?"
description: "可以在管理后台的关于页面中找到。"
options:
- SQLite3
- MySQL 8.x
- Other
- type: dropdown
id: deployment-method
validations:
required: true
attributes:
label: "使用的哪种方式部署?"
options:
- Executable file
- Docker
- type: input
id: site-url
attributes:
label: "在线站点地址"
description: "如果可以的话,请提供你的站点地址。这可能会帮助我们更好的定位问题。"
placeholder: "ex. https://go-sonic.com"
validations:
required: false
- type: markdown
id: details
attributes:
value: "## 详细信息"
- type: textarea
id: what-happened
attributes:
label: "发生了什么?"
description: "最好还告诉我们,你预计会发生什么。"
validations:
required: true
- type: textarea
id: logs
attributes:
label: "相关日志输出"
description: "请复制并粘贴任何相关的日志输出。 这将自动格式化为代码,因此无需反引号。"
render: shell
- type: textarea
id: additional-information
attributes:
label: "附加信息"
description: "如果你还有其他需要提供的信息,可以在这里填写(可以提供截图、视频等)。"
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Feature Request
description: File a feature request
body:
- type: markdown
id: preface
attributes:
value: "Hello there! Thank you for submitting new features for Sonic. Please spend a little bit to fill in the following instructions in detail."
- type: markdown
id: environment
attributes:
value: "## Environment"
- type: input
id: version
attributes:
label: "Your current Sonic version"
description: "Can be found in backstage management system."
- type: markdown
id: details
attributes:
value: "## Details"
- type: textarea
id: description
attributes:
label: "Describe this feature"
validations:
required: true
- type: textarea
id: additional-information
attributes:
label: "Additional information"
description: "If you have other information to note, you can fill it in here (screenshots, videos, etc.)."
Loading

0 comments on commit 58cc28a

Please sign in to comment.