From 908cbc8a26548195a2ad18db419b867ed4531078 Mon Sep 17 00:00:00 2001 From: mdecimus Date: Tue, 25 Jul 2023 11:00:05 +0200 Subject: [PATCH] Added templates --- .github/ISSUE_TEMPLATE/bug_report.yml | 86 ++++++++++++++++++++++ .github/ISSUE_TEMPLATE/config.yml | 11 +++ .github/ISSUE_TEMPLATE/feature_request.yml | 36 +++++++++ CONTRIBUTING.md | 35 +++++++++ 4 files changed, 168 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml create mode 100644 .github/ISSUE_TEMPLATE/config.yml create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml create mode 100644 CONTRIBUTING.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 00000000..0a129dd2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,86 @@ +name: Bug Report +description: File a bug report +title: "[Bug]: " +labels: ["bug"] +assignees: + - mdecimus +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! Use this form only for reporting bugs. If you have a question or problem, please use the [Q&A discussion](https://github.com/launchbadge/sqlx/discussions/new?category=q-a). + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Also tell us, what did you expect to happen? + placeholder: Tell us what you see! + value: "A bug happened!" + validations: + required: true + - type: textarea + id: reproduction + attributes: + label: How can we reproduce the problem? + description: Please provide detailed steps for reproducing the problem. + placeholder: Tell us how to reproduce the problem! + value: "I can reproduce the problem by doing the following steps:" + validations: + required: true + - type: dropdown + id: version + attributes: + label: Version + description: What version of our software are you running? + options: + - v0.3.1 + - v0.3.0 + - v0.2.0 or lower + validations: + required: true + - type: dropdown + id: db + attributes: + label: What database are you using? + options: + - SQLite + - FoundationDB + - type: dropdown + id: blob + attributes: + label: What blob storage are you using? + options: + - Local + - S3-compatible + - type: dropdown + id: directory + attributes: + label: Where is your directory located? + options: + - SQLite + - mySQL + - PostgreSQL + - SQLite + - type: dropdown + id: os + attributes: + label: What operating system are you using? + options: + - Linux + - Docker + - MacOS + - Windows + - type: textarea + id: logs + attributes: + label: Relevant log output + description: Please copy and paste any relevant log output, set logging level to `trace` if you can't find any relevant errors in the log. + render: shell + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/stalwartlabs/.github/blob/main/CODE_OF_CONDUCT.md) + options: + - label: I agree to follow this project's Code of Conduct + required: true diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..e54fb48e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,11 @@ +blank_issues_enabled: false +contact_links: + - name: I have a question or problem + url: https://stalw.art/docs/faq + about: Read the FAQ + - name: I have a question or problem not covered in the FAQ + url: https://github.com/launchbadge/sqlx/discussions/new?category=q-a + about: Open a Q&A discussion + - name: Join Stalwart's Discord + url: https://discord.gg/aVQr3jF8jd + about: Join our Discord server for help, discussions and release announcements. diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 00000000..40de9480 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,36 @@ +name: Feature Request +description: File a feature request issue +title: "[Enhancement]: " +labels: ["enhancement"] +assignees: + - mdecimus +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this feature request form! Use this form only for requesting new features. If you have a question or problem, please use the [Q&A discussion](https://github.com/launchbadge/sqlx/discussions/new?category=q-a). + - type: textarea + id: request + attributes: + label: Which feature or improvement would you like to request? + description: Write a clear and concise description of what you want to happen. + placeholder: "I'd like to see this feature:" + value: "I'd like to see this feature:" + validations: + required: true + + - type: textarea + id: problem-related + attributes: + label: Is your feature request related to a problem? + description: Wrote a clear and concise description of what the problem is. + placeholder: Tell us what the problem is! + value: "I'm always frustrated when..." + - type: checkboxes + id: terms + attributes: + label: Code of Conduct + description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/stalwartlabs/.github/blob/main/CODE_OF_CONDUCT.md) + options: + - label: I agree to follow this project's Code of Conduct + required: true diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..ec659418 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,35 @@ +# Contributing + +When contributing to this repository, please first discuss the change you wish to make via issue, +email, or any other method with the owners of this repository before making a change. + +Please note we have a code of conduct, please follow it in all your interactions with the project. + +## Any contributions you make will be under AGPL + +This software is licensed under the Affero General Public License (AGPL). Any contributions made to +this project will be under this license. Before any contributions can be made, contributors are +required to sign a Contributor License Agreement (CLA). The purpose of the agreement is to clarify +and document the rights granted by contributors to us. + +## Pull Request Process + +1. Ensure any install or build dependencies are removed before the end of the layer when doing a + build. +2. Update the README.md with details of changes to the interface, this includes new environment + variables, exposed ports, useful file locations and container parameters. +3. Increase the version numbers in any examples files and the README.md to the new version that this + Pull Request would represent. The versioning scheme we use is [SemVer](http://semver.org/). +4. You may merge the Pull Request in once you have the sign-off of two other developers, or if you + do not have permission to do that, you may request the second reviewer to merge it for you. + +## Code of Conduct + +We as members, contributors, and leaders pledge to make participation in our community a harassment-free +experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex +characteristics, gender identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity and orientation. +We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, +and healthy community. + +You can read the full Code of Conduct [here](https://github.com/stalwartlabs/.github/blob/main/CODE_OF_CONDUCT.md).