From 1be408681eb4210db4c59538112081de77e51426 Mon Sep 17 00:00:00 2001 From: Dev_Ranger <30966416+DevRanger@users.noreply.github.com> Date: Sun, 22 Feb 2026 12:51:16 -0800 Subject: [PATCH] create issue & pr templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 140 ++++++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 6 ++ .github/pull_request_template.md | 50 +++++++++ 3 files changed, 196 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..11253f33 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,140 @@ +name: Bug report +description: Report a reproducible bug in dvmhost or related components +title: "[BUG] " +labels: ["bug"] + +body: + - type: markdown + attributes: + value: | + **Issues are for reproducible bugs only. + Feature requests and roadmap suggestions will be closed.** + + Please provide enough detail for us to reproduce the issue. + Full logs are strongly preferred over screenshots or partial snippets. + + - type: dropdown + id: component + attributes: + label: Component + description: Select the affected module + options: + - dvmhost + - dvmfne + - dvmbridge + - dvmpatch + - dvmcmd + - dvmmon + - sysview + - tged + - peered + - Other + validations: + required: true + + - type: input + id: component_other + attributes: + label: If "Other", specify component + placeholder: "Describe the affected component" + + - type: input + id: version + attributes: + label: Version / Commit + description: Provide the exact commit SHA or tag + placeholder: "ex: v1.2.3 or a1b2c3d4" + validations: + required: true + + - type: dropdown + id: build_type + attributes: + label: Build type + options: + - Built from source (native) + - Cross-compiled + - Custom packaging + validations: + required: true + + - type: input + id: compiler + attributes: + label: Compiler version + description: Output of `gcc --version` or `clang --version` + placeholder: "ex: GCC 13.2.0" + validations: + required: true + + - type: input + id: environment + attributes: + label: Operating system / architecture + placeholder: "ex: Debian 12 x86_64" + validations: + required: true + + - type: textarea + id: build_flags + attributes: + label: Build flags / CMake options + description: Include any special flags used (ex: cross-compile options) + placeholder: | + Example: + -DCROSS_COMPILE_ARM=1 + -DCMAKE_BUILD_TYPE=Release + render: text + + - type: textarea + id: summary + attributes: + label: Summary + description: Brief description of the issue + validations: + required: true + + - type: textarea + id: expected + attributes: + label: Expected behavior + validations: + required: true + + - type: textarea + id: actual + attributes: + label: Actual behavior + description: Include exact error messages if applicable + validations: + required: true + + - type: textarea + id: repro + attributes: + label: Steps to reproduce + placeholder: | + 1. + 2. + 3. + validations: + required: true + + - type: textarea + id: logs + attributes: + label: Full logs + description: Paste complete logs or attach files. Redact secrets. + render: text + + - type: textarea + id: config + attributes: + label: Relevant config (redacted) + description: Include only relevant sections with secrets removed + render: text + + - type: textarea + id: additional + attributes: + label: Additional context \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..b6e074e2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,6 @@ +blank_issues_enabled: false + +contact_links: + - name: DVMProject Community (Discord) + url: https://discord.dvmproject.io/ + about: For questions, discussion, and general support, please join our Discord community. \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 00000000..4c0e2c4b --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,50 @@ +## Summary +Describe the change and why it is needed. + +## Component(s) +Which part(s) of the project does this affect? + +- [ ] dvmhost +- [ ] dvmfne +- [ ] dvmbridge +- [ ] dvmpatch +- [ ] dvmcmd +- [ ] dvmmon +- [ ] sysview +- [ ] tged +- [ ] peered +- [ ] Other (explain below) + +## Type of change +- [ ] Bug fix +- [ ] Refactor / cleanup +- [ ] Performance improvement +- [ ] Documentation update +- [ ] Build / tooling change + +## Related issues +Link any related bug reports. + +Closes # +Refs # + +## Build & test notes +Explain how this was built and tested. + +Include: +- OS / distro +- Compiler version +- Any special build flags + +## Logs / output (if applicable) +Paste relevant output demonstrating the fix or behavior change. + +## Checklist +- [ ] Change is scoped and focused +- [ ] Existing functionality verified +- [ ] No unrelated refactors included +- [ ] Documentation updated if needed +- [ ] No secrets or credentials included + +## Notes for maintainers +Anything reviewers should be aware of? \ No newline at end of file