Skip to content

Commit

Permalink
Merge pull request #314 from Learnware-LAMDA/feat(docs)/issue_template
Browse files Browse the repository at this point in the history
feat(docs): add the pr and issue template
  • Loading branch information
GeneLiuXe committed Jan 13, 2024
2 parents b6f7c0d + e404777 commit f761f38
Show file tree
Hide file tree
Showing 5 changed files with 105 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "\U0001F41B Bug Report"
description: Submit a bug report to help us improve Beimingwu
body:
- type: textarea
id: system-info
attributes:
label: System Info
description: Please share your system info with us.
placeholder: learnware version, platform, python version, ...
validations:
required: true

- type: textarea
id: reproduction
validations:
required: true
attributes:
label: Reproduction
description: |
Please provide a code sample that reproduces the problem you ran into. It can be a Colab link or just a code snippet.
If you have code snippets, error messages, stack traces please provide them here as well.
Important! Use code tags to correctly format your code. See [Github Guidelines about Code Blocks](https://help.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks#syntax-highlighting).
Do not use screenshots, as they are hard to read and (more importantly) don't allow others to copy-and-paste your code.
placeholder: |
Steps to reproduce the behavior:
1.
2.
3.
- type: textarea
id: expected-behavior
validations:
required: true
attributes:
label: Expected behavior
description: "A clear and concise description of what you would expect to happen."
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "\U0001F4D6 Documentation"
description: Report an issue related to documentation
labels: [ "documentation" ]
body:
- type: textarea
id: description
validations:
required: true
attributes:
label: Description
description: |
A clear description of the issue related to documentation.
30 changes: 30 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: "\U0001F680 Feature request"
description: Submit a proposal/request for a new Beimingwu feature
labels: [ "feature" ]
body:
- type: textarea
id: feature-request
validations:
required: true
attributes:
label: Feature request
description: |
A clear and concise description of the feature proposal. Please provide a link to the paper and code in case they exist.
- type: textarea
id: motivation
validations:
required: true
attributes:
label: Motivation
description: |
Please outline the motivation for the proposal. Is your feature request related to a problem? e.g., I'm always frustrated when [...]. If this is related to another GitHub issue, please link here too.
- type: textarea
id: contribution
validations:
required: true
attributes:
label: Your contribution
description: |
Is there any way that you could help, e.g. by submitting a PR? Make sure to read the [developer guide](https://docs.beiming.cloud/en/developer-guide/structure-and-guidelines.html).
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: "\U00002753 Questions & Help"
description: Have some questions? We can offer help
labels: [ "question" ]
body:
- type: textarea
id: question
validations:
required: true
attributes:
label: Description
description: |
We sincerely suggest you to carefully read the [documentation](https://docs.beiming.cloud/en/overview/system-overview.html) of our project. After that, if you still feel puzzled, please describe the question clearly under this issue.
13 changes: 13 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# What does this PR do?
<!--- Provide a general summary of your changes in the Title above. -->

<!-- Replace this with a description of the change and which issue is fixed (if applicable). Please also include relevant motivation and context. List any dependencies (if any) that are required for this change. -->

## Pre-Submission Checklist
<!--- Put an `x` in the boxes as follows. --->
- [ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
- [ ] Have you followed the commit format and configured the hooks as outlined in the [development standards](https://docs.beiming.cloud/en/developer-guide/structure-and-guidelines.html#development-standards)?
- [ ] Was this discussed/approved via a Github issue? Please provide a link
to the issue.
- [ ] If you modified the backend project, have you passed the relevant tests in `backend/tests`?
- [ ] If adding a new feature, have you added tests that cover your changes?

0 comments on commit f761f38

Please sign in to comment.