From 327806d9a11e00281e5efd467706238571540078 Mon Sep 17 00:00:00 2001 From: MD <1917406+md678685@users.noreply.github.com> Date: Fri, 23 Oct 2020 00:19:04 +0100 Subject: [PATCH] Add new PR templates and revamp issue templates (#3711) Adds new PR templates and revamps the existing issue templates to (hopefully) make the PR/issue submission easier to understand. --- .github/ISSUE_TEMPLATE/help.md | 80 ++++++++++++++----- .github/ISSUE_TEMPLATE/report-a-bug.md | 64 ++++++++++----- .github/ISSUE_TEMPLATE/request-a-feature.md | 24 +++--- .github/PULL_REQUEST_TEMPLATE/bug-fix.md | 82 ++++++++++++++++++++ .github/PULL_REQUEST_TEMPLATE/config.yml | 8 ++ .github/PULL_REQUEST_TEMPLATE/new-feature.md | 82 ++++++++++++++++++++ CONTRIBUTING.md | 31 ++++++++ README.md | 6 +- 8 files changed, 326 insertions(+), 51 deletions(-) create mode 100644 .github/PULL_REQUEST_TEMPLATE/bug-fix.md create mode 100644 .github/PULL_REQUEST_TEMPLATE/config.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE/new-feature.md create mode 100644 CONTRIBUTING.md diff --git a/.github/ISSUE_TEMPLATE/help.md b/.github/ISSUE_TEMPLATE/help.md index 686935cfe..d46a29e87 100644 --- a/.github/ISSUE_TEMPLATE/help.md +++ b/.github/ISSUE_TEMPLATE/help.md @@ -5,42 +5,82 @@ labels: 'type: question' --- - +2. Fill out the template. + Run the commands in the console. Don't just put "latest" as a version, or + we will ignore it. This will help us understand what problem you've + encountered and help us find a solution. + +3. When linking logs or config files, do not attach them to the post! + Copy and paste any logs into https://gist.github.com/, then paste a + link to them in the relevant parts of the template. Do not use Hastebin + or Pastebin, as this can cause issues when trying to solve issues in the + future. + **DO NOT drag logs into this text box!** + +4. If you are encountering a performance issue, please include a link to a + Timings and/or profiler report. + +--> ### Information -Full output of `/ess version`: +**Full output of `/ess version`:** + +``` - +``` -**Server log:** +**Server startup log:** + + + +**EssentialsX config:** + -**EssentialsX config** ### Help request -**Problem** - +**Problem:** + -**What I have tried** - +**What I have tried:** + -**Screenshots** - +**Console stack trace:** + +``` + +``` + +**Screenshots:** + diff --git a/.github/ISSUE_TEMPLATE/report-a-bug.md b/.github/ISSUE_TEMPLATE/report-a-bug.md index b6b22c2c2..3583fd794 100644 --- a/.github/ISSUE_TEMPLATE/report-a-bug.md +++ b/.github/ISSUE_TEMPLATE/report-a-bug.md @@ -7,7 +7,11 @@ labels: 'bug: unconfirmed' +--> ### Information -**Full output of `/ess version`**: - -``` - +**Full output of `/ess version`:** + ``` -**Server log**: +``` + +**Server startup log:** + + + +**EssentialsX config:** + -**EssentialsX config**: ### Details -**Description** - +**Description:** + -**Steps to reproduce** - +**Steps to reproduce:** + -**Expected behavior** - +**Expected behavior:** + -**Screenshots** - +**Console stack trace:** + +``` + +``` + +**Screenshots:** + diff --git a/.github/ISSUE_TEMPLATE/request-a-feature.md b/.github/ISSUE_TEMPLATE/request-a-feature.md index a848dfa7b..fcda835c3 100644 --- a/.github/ISSUE_TEMPLATE/request-a-feature.md +++ b/.github/ISSUE_TEMPLATE/request-a-feature.md @@ -7,8 +7,11 @@ labels: 'type: enhancement' +--> ### Feature request -**Feature description** - +**Feature description:** + -**How the feature is useful** - +**How the feature is useful:** + diff --git a/.github/PULL_REQUEST_TEMPLATE/bug-fix.md b/.github/PULL_REQUEST_TEMPLATE/bug-fix.md new file mode 100644 index 000000000..c833e1210 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/bug-fix.md @@ -0,0 +1,82 @@ +--- +name: Bug fix +about: Use this if your PR fixes a bug in EssentialsX. +labels: 'type: bugfix' +--- + + + +### Information + + + +This PR fixes #nnnn. + +### Details + +**Proposed fix:** + + + +**Environments tested:** + + +- [ ] Paper 1.16.3 (any OS, any Java 8+ version) +- [ ] CraftBukkit/Spigot/Paper 1.12.2 (any OS, any Java 8+ version) +- [ ] CraftBukkit 1.8.8 (any OS, any Java 8+ version) + + +**Demonstration:** + diff --git a/.github/PULL_REQUEST_TEMPLATE/config.yml b/.github/PULL_REQUEST_TEMPLATE/config.yml new file mode 100644 index 000000000..68f0c161b --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: MOSS Discord Server + url: https://discord.gg/casfFyh + about: Need help with using EssentialsX? Join the MOSS Discord server for help. + - name: EssentialsX Development Discord Server + url: https://discord.gg/CUN7qVb + about: Got questions or want to discuss changes before opening your PR? Join the EssentialsX Development Discord server. (Need help? Join MOSS instead.) diff --git a/.github/PULL_REQUEST_TEMPLATE/new-feature.md b/.github/PULL_REQUEST_TEMPLATE/new-feature.md new file mode 100644 index 000000000..c019e8037 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE/new-feature.md @@ -0,0 +1,82 @@ +--- +name: Feature addition +about: Use this if your PR adds a new feature to EssentialsX. +labels: 'type: enhancement' +--- + + + +### Information + + + +This PR closes #nnnn. + +### Details + +**Proposed feature** + + +**Environments tested:** + + +- [ ] Paper 1.16.3 (any OS, any Java 8+ version) +- [ ] CraftBukkit/Spigot/Paper 1.12.2 (any OS, any Java 8+ version) +- [ ] CraftBukkit 1.8.8 (any OS, any Java 8+ version) + +**Demonstration:** + diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..0c26baf29 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,31 @@ +Contributing to EssentialsX +=========================== + +Want to help improve EssentialsX? There are several ways you can support and contribute to the project. + +If you'd like to make a financial contribution to the project, you can join our [Patreon](https://www.patreon.com/essentialsx/), +or to make a one-off donation you can visit our [Ko-fi page](https://ko-fi.com/essentialsx). If you can't make a +donation, don't worry! There are lots of other ways to contribute: + +* Do you run a server? Take a look at our ["help wanted"](https://github.com/EssentialsX/Essentials/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22help+wanted%22) + and ["bug: unconfirmed"](https://github.com/EssentialsX/Essentials/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22bug%3A+unconfirmed%22) + issues, where you can find issues that need extra testing and investigation. +* Do you speak multiple languages? If so, we always welcome contributions to our [Crowdin project](https://crowdin.com/project/essentialsx-official). +* Do you enjoy helping others? If so, why not contribute to the [EssentialsX documentation](https://github.com/EssentialsX/wiki)? + You can also join the [MOSS Discord community](https://discord.gg/casfFyh) and provide direct community support to + other EssentialsX users. +* If you're a developer, you could look through our ["open to PR"](https://github.com/EssentialsX/Essentials/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22status%3A+open+to+PR%22) + issues. We're always happy to receive bug fixes and feature additions as pull requests. + +Submitting a PR +--------------- + +EssentialsX has extensive templates for PRs that detail how to submit your PR. To find out more, see the PR templates for: +* [Bug fixes](https://github.com/EssentialsX/Essentials/blob/2.x/.github/PULL_REQUEST_TEMPLATE/bug-fix.md) +* [New features](https://github.com/EssentialsX/Essentials/blob/2.x/.github/PULL_REQUEST_TEMPLATE/new-feature.md) + +Want to discuss a feature before opening a PR? Join the [EssentialsX Development Discord server](https://discord.gg/CUN7qVb). Note that this server is **not for end-users** - if you need support with EssentialsX, you should join [MOSS](https://discord.gg/casfFyh) instead. + +By contributing to EssentialsX, you agree to license your code under the [GNU General Public License version 3](https://github.com/EssentialsX/Essentials/blob/2.x/LICENSE). + + diff --git a/README.md b/README.md index 0bc1f572e..66f60c2c9 100644 --- a/README.md +++ b/README.md @@ -59,11 +59,11 @@ To depend on EssentialsX 2.18.1, you should use the artifact `net.ess3:Essential Contributing ------------ -Want to help improve EssentialsX? There are numerous ways you can contribute to the project. +Want to help improve EssentialsX? There are several ways you can support and contribute to the project. If you'd like to make a financial contribution to the project, you can join our [Patreon](https://www.patreon.com/essentialsx/), or to make a one-off donation you can visit our [Ko-fi page](https://ko-fi.com/essentialsx). If you can't make a -donation, don't worry! There's lots of other ways to contribute: +donation, don't worry! There are lots of other ways to contribute: * Do you run a server? Take a look at our ["help wanted"](https://github.com/EssentialsX/Essentials/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22help+wanted%22) and ["bug: unconfirmed"](https://github.com/EssentialsX/Essentials/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22bug%3A+unconfirmed%22) @@ -74,3 +74,5 @@ donation, don't worry! There's lots of other ways to contribute: other EssentialsX users. * If you're a developer, you could look through our ["open to PR"](https://github.com/EssentialsX/Essentials/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22status%3A+open+to+PR%22) issues. We're always happy to receive bug fixes and feature additions as pull requests. + +See [CONTRIBUTING.md](https://github.com/EssentialsX/Essentials/blob/2.x/CONTRIBUTING.md) to find out more.