From 8f2b923e7a500eac8c1187ec4404dcb5ec3981c7 Mon Sep 17 00:00:00 2001 From: jasonwynn10 Date: Wed, 10 Nov 2021 20:29:26 -0500 Subject: [PATCH] New templates & actions --- .github/FUNDING.yml | 3 + .github/ISSUE_TEMPLATE/bug_report.md | 11 ++- .github/ISSUE_TEMPLATE/config.yml | 8 ++ .github/ISSUE_TEMPLATE/crash.md | 3 +- .github/ISSUE_TEMPLATE/help---support.md | 14 ---- .../ISSUE_TEMPLATE/security-vulnerability.md | 12 --- .github/support.yml | 16 ---- .github/workflows/support.yml | 22 ++++++ .gitignore | 78 +++++++++++++++++-- 9 files changed, 115 insertions(+), 52 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/config.yml delete mode 100644 .github/ISSUE_TEMPLATE/help---support.md delete mode 100644 .github/ISSUE_TEMPLATE/security-vulnerability.md delete mode 100644 .github/support.yml create mode 100644 .github/workflows/support.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index cb4f8cc4..0f65bc49 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -2,4 +2,7 @@ github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: jasonwynn10 +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel custom: https://www.buymeacoffee.com/jasonwynn10 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 52b17c1e..e3a2273c 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -21,15 +21,18 @@ assignees: '' * Plugin Version: * PocketMine-MP: * PHP: -* Game version: PE/Win10 (delete as appropriate) +* Using JIT: yes/no (delete as appropriate) +* Server OS: +* Game version: Android/iOS/Win10/Xbox/PS4/Switch (delete as appropriate) ### Other Plugins -- If you remove all other plugins, does the issue still occur? Yes/No (delete as appropriate) +- If you remove all other plugins, does the issue still occur? - If the issue is **not** reproducible without other plugins: - Have you asked for help in the community discord before creating an issue? - Can you provide sample, *minimal* reproducing code for the issue? If so, paste it in the bottom section. -### Console error, backtrace or other files - \ No newline at end of file +### Crashdump, backtrace or other files + + \ 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..abc7cd82 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,8 @@ +blank_issues_enabled: false +contact_links: + - name: Help & support on Discord + url: https://discord.gg/qqcpp9q + about: We don't accept support requests on the issue tracker. Please try asking on Discord instead. + - name: Documentation + url: https://github.com/jasonwynn10/MyPlot/wiki + about: PocketMine-MP documentation \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/crash.md b/.github/ISSUE_TEMPLATE/crash.md index 543f144f..f4b5df83 100644 --- a/.github/ISSUE_TEMPLATE/crash.md +++ b/.github/ISSUE_TEMPLATE/crash.md @@ -9,7 +9,8 @@ assignees: '' -Link to crashdump: + +Link to crashdump: ### Additional comments (optional) \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/help---support.md b/.github/ISSUE_TEMPLATE/help---support.md deleted file mode 100644 index 2b017b74..00000000 --- a/.github/ISSUE_TEMPLATE/help---support.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -name: Help & support -about: We don't accept support requests here. Try the links on the README. -title: '' -labels: Support request -assignees: '' - ---- - -We don't accept support requests on the issue tracker. Please try the following links instead: - -Documentation: https://github.com/jasonwynn10/MyPlot/wiki -Forums: https://forums.pmmp.io -Discord: https://discord.gg/qqcpp9q \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/security-vulnerability.md b/.github/ISSUE_TEMPLATE/security-vulnerability.md deleted file mode 100644 index 5810f431..00000000 --- a/.github/ISSUE_TEMPLATE/security-vulnerability.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: Security vulnerability -about: 'Bug or exploit that can be used to attack servers (hint: don\'t report it - on a public issue tracker)' -title: '' -labels: 'Auto: Spam' -assignees: '' - ---- - -Please DO NOT report security vulnerabilities here. -Instead, contact @jasonwynn10#4331 on discord directly, IN PRIVATE. \ No newline at end of file diff --git a/.github/support.yml b/.github/support.yml deleted file mode 100644 index ffdd8adf..00000000 --- a/.github/support.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Configuration for support-requests - https://github.com/dessant/support-requests - -# Label used to mark issues as support requests -supportLabel: "Support request" -# Comment to post on issues marked as support requests. Add a link -# to a support page, or set to `false` to disable -supportComment: > - Thanks, but this issue tracker is not intended for support requests. Please read the guidelines on [submitting an issue](https://github.com/jasonwynn10/MyPlot/blob/master/CONTRIBUTING.md#creating-an-issue). - - - [Docs](https://github.com/jasonwynn10/MyPlot/wiki) | [Discord](https://discord.gg/qqcpp9q) | [Forums](https://forums.pmmp.io) - -# Whether to close issues marked as support requests -close: true -# Whether to lock issues marked as support requests -lock: false \ No newline at end of file diff --git a/.github/workflows/support.yml b/.github/workflows/support.yml new file mode 100644 index 00000000..49a61ab6 --- /dev/null +++ b/.github/workflows/support.yml @@ -0,0 +1,22 @@ +name: 'Manage support request issues' + +on: + issues: + types: [labeled, unlabeled, reopened] + +jobs: + support: + runs-on: ubuntu-latest + steps: + - uses: dessant/support-requests@v2 + with: + github-token: ${{ github.token }} + support-label: "Support request" + issue-comment: > + Thanks, but this issue tracker is not intended for support requests. Please read the guidelines on [submitting an issue](https://github.com/jasonwynn10/MyPlot/blob/master/CONTRIBUTING.md#creating-an-issue). + + + [Docs](https://github.com/jasonwynn10/MyPlot/wiki) | [Discord](https://discord.gg/qqcpp9q) + + close-issue: true + lock-issue: false diff --git a/.gitignore b/.gitignore index 4a2e4246..ae046987 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,73 @@ -.gitignore -.idea/ -.github/* -.poggit.yml -icon.png \ No newline at end of file +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser +