From a3003ffdee4f23580363035be3053902a05c0332 Mon Sep 17 00:00:00 2001 From: mahmoud karzoun <135722882+mkarson1997@users.noreply.github.com> Date: Fri, 4 Sep 2026 17:29:12 +0300 Subject: [PATCH] chore: standardize open-source community health --- .github/CODEOWNERS | 6 ++++ .github/ISSUE_TEMPLATE/bug_report.yml | 35 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.yml | 24 +++++++++++++++ CODE_OF_CONDUCT.md | 7 +++++ 4 files changed, 72 insertions(+) create mode 100644 .github/CODEOWNERS create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 CODE_OF_CONDUCT.md diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..f2e1438 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,6 @@ +* @mkarson1997 + +/.github/ @mkarson1997 +/CargoAPI.Business/ @mkarson1997 +/CargoAPI.DataAccess/ @mkarson1997 +/CargoAPI.Tests/ @mkarson1997 diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..bd5298d --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,35 @@ +name: Bug report +description: Report reproducible incorrect behavior +title: "bug: " +labels: [] +body: + - type: markdown + attributes: + value: | + Thanks for helping improve CargoAPI. Do not include passwords, connection strings, API keys, tokens, or customer data. + - type: textarea + id: problem + attributes: + label: Problem + description: What happened, and what did you expect instead? + validations: + required: true + - type: textarea + id: reproduce + attributes: + label: Minimal reproduction + description: Provide exact requests, domain inputs, or commands using synthetic data. + validations: + required: true + - type: input + id: environment + attributes: + label: Environment + description: .NET SDK, OS, database/container setup, and relevant version information. + validations: + required: true + - type: textarea + id: notes + attributes: + label: Additional context + description: Logs are welcome after removing secrets and private data. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..2053171 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,24 @@ +name: Feature request +description: Suggest a focused API, domain, or operational improvement +title: "feat: " +labels: [] +body: + - type: textarea + id: problem + attributes: + label: Problem or opportunity + description: What domain, API, reliability, or developer-experience problem would this solve? + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed solution + description: Describe the desired behavior and any API or data-model impact. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives considered + description: Optional trade-offs, compatibility concerns, or implementation notes. diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..ad7a9cf --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,7 @@ +# Code of Conduct + +We are committed to a respectful, professional, and harassment-free open-source community. + +Be constructive in technical disagreement, focus criticism on ideas and code, protect private or sensitive data, and assume contributors are collaborating in good faith. Harassment, threats, discriminatory abuse, or publishing another person's private information are not acceptable. + +Project maintainers may remove content or restrict participation when needed to protect the community.