From 4e5dc234bb89d667fd74ecac9ea4667485fcafb9 Mon Sep 17 00:00:00 2001 From: cxhello Date: Fri, 13 Mar 2026 13:15:53 +0800 Subject: [PATCH 1/2] chore: add GitHub issue templates Add bug report, feature request, and question templates to standardize issue reporting. Signed-off-by: cxhello --- .github/ISSUE_TEMPLATE/bug_report.md | 49 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 5 +++ .github/ISSUE_TEMPLATE/feature_request.md | 33 +++++++++++++++ .github/ISSUE_TEMPLATE/question.md | 29 ++++++++++++++ 4 files changed, 116 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 create mode 100644 .github/ISSUE_TEMPLATE/question.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..11a0fbc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,49 @@ +--- +name: Bug Report +about: Report a bug to help us improve +title: "[Bug] " +labels: bug +assignees: '' +--- + +### Environment + +- **SDK Version**: (e.g., V2 / V3) +- **SDK Package Version**: (e.g., 2.0.5) +- **Python Version**: (e.g., 3.10 / 3.12 / 3.13) +- **Nacos Server Version**: (e.g., 2.4.0) +- **OS**: (e.g., Ubuntu 22.04 / macOS 15 / Windows 11) + +### Describe the Bug + +A clear and concise description of what the bug is. + +### Steps to Reproduce + +1. +2. +3. + +### Minimal Reproducible Code + +```python +# Paste your code here +``` + +### Expected Behavior + +A clear and concise description of what you expected to happen. + +### Actual Behavior + +A clear and concise description of what actually happened. + +### Error Logs / Stack Trace + +``` +Paste any relevant logs or stack traces here +``` + +### Additional Context + +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..dbf64ca --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Documentation + url: https://nacos.io/docs/latest/what-is-nacos/ + about: Please check the Nacos documentation before asking a question. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..a55b01f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,33 @@ +--- +name: Feature Request +about: Suggest a new feature or enhancement +title: "[Feature] " +labels: enhancement +assignees: '' +--- + +### SDK Version + +- [ ] V2 +- [ ] V3 +- [ ] Both + +### Description + +A clear and concise description of the feature you'd like. + +### Use Case + +Describe the problem or use case that this feature would address. + +### Proposed Solution + +A clear and concise description of what you want to happen. + +### Alternatives Considered + +A clear and concise description of any alternative solutions or features you've considered. + +### Additional Context + +Add any other context or screenshots about the feature request here. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 0000000..02310cc --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,29 @@ +--- +name: Question +about: Ask a question about usage or configuration +title: "[Question] " +labels: question +assignees: '' +--- + +### SDK Version + +V2 / V3 + +### Description + +A clear and concise description of your question. + +### What Have You Tried + +Describe what you've already tried or researched. + +### Relevant Code or Configuration + +```python +# Paste your code here if applicable +``` + +### Additional Context + +Add any other context about the question here. From f3c6db18dd001a8ccea315ecb890a32e37ae2708 Mon Sep 17 00:00:00 2001 From: cxhello Date: Fri, 13 Mar 2026 13:44:32 +0800 Subject: [PATCH 2/2] chore: add pull request template Signed-off-by: cxhello --- .github/pull_request_template.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..01bdbd1 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,21 @@ +### What type of PR is this? + +- [ ] Bug fix +- [ ] New feature +- [ ] Enhancement +- [ ] Refactoring +- [ ] Documentation +- [ ] CI/CD +- [ ] Other + +### What does this PR do? + + + +### Which issue(s) does this PR fix? + + + +### How has this been tested? + +